svn commit: r198706 - head/sys/sys

Marcel Moolenaar xcllnt at mac.com
Mon Nov 2 20:45:42 UTC 2009


On Nov 2, 2009, at 12:34 PM, Kostik Belousov wrote:

> On Mon, Nov 02, 2009 at 10:08:17AM -0800, Marcel Moolenaar wrote:
>> For a change that does change the ABI: revision 198506
>> tcsh(1) dumps core with a sig 11...
>
> Can you provide some details ? Which architecture is it ?
> What is the backtrace ? What is the ktrace  before SIGSEGV ?

I'm working on it. I see it on ia64, so the root cause may be
an ia64-specific bug. The sig 11 happens when csh calls
sigsuspend:

(gdb) l *$b0
0x20000000000483a0 is in pjwait (/nfs/freebsd/base/head/bin/csh/../../ 
contrib/tcsh/sh.proc.c:513).
508		while ((fp = (fp->p_friends)) != pp);
509		if ((jobflags & PRUNNING) == 0)
510		    break;
511		jobdebug_xprintf(("%d starting to sigsuspend for SIGCHLD on %d\n",
512				  getpid(), fp->p_procid));
513		sigsuspend(&pause_mask);
514	    }
515	    cleanup_until(&oset);
516	    jobdebug_xprintf(("%d returned from sigsuspend loop\n", getpid 
()));
517	#ifdef BSDJOBS
(gdb)

FYI,

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the svn-src-head mailing list