Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Nov 2009 12:45:39 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        Ed Schouten <ed@80386.nl>, src-committers@freebsd.org, svn-src-all@freebsd.org, dwmalone@maths.tcd.ie, svn-src-head@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: svn commit: r198706 - head/sys/sys
Message-ID:  <5537A11F-92AC-4D73-BBE7-297A1575BE1B@mac.com>
In-Reply-To: <20091102203419.GV2147@deviant.kiev.zoral.com.ua>
References:  <20091101011212.GG1293@hoeg.nl> <20091102100435.GA67211@walton.maths.tcd.ie> <20091102102404.GP1293@hoeg.nl> <20091102.084616.-1258100553.imp@bsdimp.com> <20091102155414.GR1293@hoeg.nl> <F49E84EC-DF39-4429-87AC-2659A125F3F9@mac.com> <20091102203419.GV2147@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

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@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5537A11F-92AC-4D73-BBE7-297A1575BE1B>