zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zsh-workers <zsh-workers@sunsite.auc.dk>
Subject: BUG: jobs -d causes core dump
Date: Thu, 4 May 2000 22:16:45 -0700 (PDT)	[thread overview]
Message-ID: <20000505051645.6731.qmail@web1303.mail.yahoo.com> (raw)

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/


                 reply	other threads:[~2000-05-05  5:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000505051645.6731.qmail@web1303.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.com \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).