* BUG: jobs -d causes core dump
@ 2000-05-05 5:16 Felix Rosencrantz
0 siblings, 0 replies; only message in thread
From: Felix Rosencrantz @ 2000-05-05 5:16 UTC (permalink / raw)
To: zsh-workers
When I attempt to run "jobs -l -d" I get a core dump, with the following
stack trace.
I think the problem occurs when there is a job in the background that was
started in the current directory. It seems like the pathname in the Job
structure is a NULL pointer at that time.
-FR
#0 0xb63d8 in unmeta (file_name=0x0) at utils.c:2498
2498 for (t = file_name, p = fn; *t && p < fn + 4 * PATH_MAX - 1; p++)
(gdb) where
#0 0xb63d8 in unmeta (file_name=0x0) at utils.c:2498
#1 0xae568 in fprintdir (s=0x0, f=0x1709b0) at utils.c:404
#2 0x61838 in printjob (jn=0x16eb60, lng=5, synch=2) at jobs.c:737
#3 0x63864 in bin_fg (name=0x17f168 "jobs", argv=0xefffe6f0,
ops=0xefffe7a0 "", func=3) at jobs.c:1273
#4 0x24bb4 in execbuiltin (args=0x17f138, bn=0x15ec70) at builtin.c:368
#5 0x3f020 in execcmd (state=0xefffebd8, input=0, output=0, how=18, last1=2)
at exec.c:2257
#6 0x3a394 in execpline2 (state=0xefffebd8, pcode=1027, how=18, input=0,
output=0, last1=0) at exec.c:1183
#7 0x39194 in execpline (state=0xefffebd8, slcode=5122, how=18, last1=0)
at exec.c:976
#8 0x387cc in execlist (state=0xefffebd8, dont_change_job=0, exiting=0)
at exec.c:821
#9 0x3832c in execode (p=0x17f0e0, dont_change_job=0, exiting=0) at exec.c:727
#10 0x59ea8 in loop (toplevel=1, justonce=0) at init.c:150
#11 0x23c68 in main (argc=1, argv=0xefffed64) at ./main.c:86
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-05-05 5:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-05 5:16 BUG: jobs -d causes core dump Felix Rosencrantz
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).