[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thread with SIGSEGV



Orjan Friberg a écrit :
> 
> Jerome Lefranc wrote:
> >
> > Hi all,
> >
> > I saw a difference between Axis and standard implementation
> > of threads when they catch a SIGSEGV signal.
> 
> Hi Jerome,
> 
> There are a couple of bugs which affect user-defined signal handlers in
> the Developer Board LX R2.0.0.  They have been fixed, and we are
> currently working on a new release.  In the meantime, you can try the
> attached signal.c file, which should go into the
> os/linux/arch/cris/kernel directory.
> 
> When I run your program I get:
> 
> [root@xxxxxxx./catchsig
> father 65
> father 65
> thread 67 got signal 11
> father 65
> father 65
> father 65
> [...]
> 
> which is the same behaviour I get on my host Linux machine.
> 
> Also note that the new release of the compiler tools (cris-dist-1.15)
> fixes a couple of bugs related to linking against the pthreads library,
> so you may want to upgrade to that.
> 

Ok, it works fine now with new signal.c

Thanks for all, Orjan

Jerome

-- 
-------------------------------------------------------------
Jerome LEFRANC           jerome.lefranc@xxxxxxx.com
XCell Technology         http://www.xcell.com
DECISION Europe, 75-85 rue Richelieu
85170 les Lucs sur Boulogne, FRANCE
Voice: +33 2 51 31 38 38,  Fax: +33 2 51 46 59 66
-------------------------------------------------------------