[Pkg-zsh-devel] Bug#790282: zsh frozen after typing Ctrl-Z then bg
Vincent Lefevre
vincent at vinc17.net
Sat Jun 27 20:38:06 UTC 2015
Package: zsh
Version: 5.0.8-1
Severity: normal
I started emacs from zsh, then wanted to put it in background.
So, I did Ctrl-Z, then bg. But instead of getting the prompt
back, zsh is frozen. Ctrl-C has no effect. Here's the backtrace:
__lll_lock_wait_private ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
95 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
(gdb) bt
#0 __lll_lock_wait_private ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1 0x00007fc1c05b352a in _L_lock_10381 () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007fc1c05b1065 in __GI___libc_malloc (bytes=8) at malloc.c:2887
#3 0x0000000000451660 in zalloc (size=<optimized out>, size at entry=8)
at ../../Src/mem.c:900
#4 0x000000000044516b in addbgstatus (pid=pid at entry=27181, status=148)
at ../../Src/jobs.c:2015
#5 0x00000000004739d5 in wait_for_processes () at ../../Src/signals.c:532
#6 0x0000000000474105 in zhandler (sig=17) at ../../Src/signals.c:594
#7 <signal handler called>
#8 _int_malloc (av=0x7fc1c08d8620 <main_arena>, bytes=304) at malloc.c:3389
#9 0x00007fc1c05b1070 in __GI___libc_malloc (bytes=304) at malloc.c:2891
#10 0x0000000000422ea2 in zcontext_save_partial (parts=parts at entry=7)
at ../../Src/context.c:56
#11 0x0000000000422f3a in zcontext_save () at ../../Src/context.c:78
#12 0x0000000000449d40 in parse_subscript (s=0x7fc1c142c68e "1]",
sub=sub at entry=1, endchar=endchar at entry=93) at ../../Src/lex.c:1615
#13 0x000000000045a243 in isident (s=s at entry=0x7fc1c142c688 "psvar[1]")
at ../../Src/params.c:1076
#14 0x0000000000460dee in assignsparam (s=s at entry=0x7fc1c142c688 "psvar[1]",
val=val at entry=0x12012d0 "0", flags=flags at entry=0)
at ../../Src/params.c:2691
#15 0x0000000000424871 in addvars (state=0x7ffc6952e5d0, pc=<optimized out>,
addflags=addflags at entry=0) at ../../Src/exec.c:2317
#16 0x000000000042d291 in execsimple (state=state at entry=0x7ffc6952e5d0)
at ../../Src/exec.c:1117
#17 0x000000000042ad30 in execlist (state=state at entry=0x7ffc6952e5d0,
dont_change_job=dont_change_job at entry=1, exiting=exiting at entry=0)
at ../../Src/exec.c:1274
#18 0x000000000042b300 in execode (p=p at entry=0xfc41a0,
dont_change_job=dont_change_job at entry=1, exiting=exiting at entry=0,
context=context at entry=0x48eb37 "shfunc") at ../../Src/exec.c:1074
#19 0x000000000042be01 in runshfunc (prog=0xfc41a0, wrap=0x0,
name=0x7fc1c142c660 "precmd") at ../../Src/exec.c:5167
#20 0x000000000042c466 in doshfunc (shfunc=0xfc9690,
doshargs=doshargs at entry=0x0, noreturnval=noreturnval at entry=1)
at ../../Src/exec.c:5037
#21 0x0000000000483771 in callhookfunc (name=0x497b3f "precmd", lnklst=0x0,
arrayp=1, retval=0x0) at ../../Src/utils.c:1332
#22 0x000000000048b953 in preprompt () at ../../Src/utils.c:1416
#23 0x000000000043d1c3 in loop (toplevel=toplevel at entry=1,
justonce=justonce at entry=0) at ../../Src/init.c:129
#24 0x00000000004404de in zsh_main (argc=<optimized out>, argv=<optimized out>)
at ../../Src/init.c:1674
#25 0x00007fc1c0556b45 in __libc_start_main (main=0x40fc90 <main>, argc=1,
argv=0x7ffc6952eca8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffc6952ec98) at libc-start.c:287
#26 0x000000000040fcbe in _start ()
When I typed Ctrl-\, zsh quit.
-- 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 pulseaudio 6.0-2 amd64 PulseAudio sound server
ii systemd 220-7 amd64 system and service manager
ii vlc-nox 2.2.1-2+b1 amd64 multimedia player and streamer (w
The following files were modified:
/etc/systemd/logind.conf
dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages zsh depends on:
ii dpkg 1.18.1
ii libc6 2.19-18
ii libcap2 1:2.24-9
ii libtinfo5 5.9+20150516-2
ii zsh-common 5.0.8-1
Versions of packages zsh recommends:
ii libncursesw5 5.9+20150516-2
ii libpcre3 2:8.35-7
Versions of packages zsh suggests:
ii zsh-doc 5.0.8-1
-- no debconf information
More information about the Pkg-zsh-devel
mailing list