Package: zsh Version: 5.3.1-4+b2 Severity: important zsh crashes when it receives a SIGQUIT signal while saving the history. Thus one loses the session data.
The backtrace: Core was generated by `-zsh'. Program terminated with signal SIGQUIT, Quit. #0 zhandler (sig=2) at ../../Src/signals.c:568 568 ../../Src/signals.c: No such file or directory. (gdb) bt #0 zhandler (sig=2) at ../../Src/signals.c:568 #1 <signal handler called> #2 0x00007f4edd4df760 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:84 #3 0x00007f4edd4767e7 in _IO_new_file_write (f=0x562b9ed8aa40, data=0x562b9ed846d0, n=27) at fileops.c:1271 #4 0x00007f4edd475b32 in new_do_write (fp=0x562b9ed8aa40, data=0x562b9ed846d0 ": 1515614009:0;e cine/TODO\n\236+V", to_do=to_do@entry=27) at fileops.c:526 #5 0x00007f4edd4778a9 in _IO_new_do_write (fp=<optimized out>, data=<optimized out>, to_do=27) at fileops.c:502 #6 0x00007f4edd475948 in _IO_new_file_sync (fp=0x562b9ed8aa40) at fileops.c:882 #7 0x00007f4edd46b00c in __GI__IO_fflush (fp=0x562b9ed8aa40) at iofflush.c:40 #8 0x0000562b9d6377ca in savehistfile ( fn=fn@entry=0x562b9eb5dba0 "/srv/d_joooj/home/vinc17/.zhistory", err=err@entry=0, writeflags=32787, writeflags@entry=32784) at ../../Src/hist.c:2872 #9 0x0000562b9d635857 in hend (prog=prog@entry=0x7f4ede2f8560) at ../../Src/hist.c:1544 #10 0x0000562b9d637dd2 in loop (toplevel=toplevel@entry=1, justonce=justonce@entry=0) at ../../Src/init.c:166 #11 0x0000562b9d63b826 in zsh_main (argc=<optimized out>, argv=<optimized out>) at ../../Src/init.c:1692 #12 0x00007f4edd4242b1 in __libc_start_main (main=0x562b9d605300 <main>, argc=1, argv=0x7ffe05cda158, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe05cda148) at ../csu/libc-start.c:291 #13 0x0000562b9d60533a in _start () -- Package-specific info: Packages which provide vendor completions: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii curl 7.52.1-5+deb amd64 command line tool for transferrin ii systemd 232-25+deb9u amd64 system and service manager ii udev 232-25+deb9u amd64 /dev/ and hotplug management daem dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/ -- System Information: Debian Release: 9.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-5-amd64 (SMP w/1 CPU core) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages zsh depends on: ii dpkg 1.18.24 ii libc6 2.24-11+deb9u1 ii libcap2 1:2.25-1 ii libtinfo5 6.0+20161126-1+deb9u1 ii zsh-common 5.3.1-4 Versions of packages zsh recommends: ii libc6 2.24-11+deb9u1 ii libncursesw5 6.0+20161126-1+deb9u1 ii libpcre3 2:8.39-3 Versions of packages zsh suggests: ii zsh-doc 5.3.1-4 -- no debconf information