[Top] [All Lists]

Re: pthread_sighander() of glibc-2.2 breaks stack

To: Hiroyuki Machida <>
Subject: Re: pthread_sighander() of glibc-2.2 breaks stack
From: Andreas Jaeger <>
Date: 15 Jan 2001 08:03:11 +0100
In-reply-to: <>
References: <>
User-agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands)
>>>>> Hiroyuki Machida writes:

 > Hello Andreas,

 > I had a experience that pthread_sighander() of current glibc-2.2 
 > breaks stack. I tracked down the problem, and finally found the
 > mismatch  between kenrel and glibc-2.2. 

 > Current kernel pass following args to the signal handler for the 
 > case of not SA_SIGINFO specified.
 >      a0      signal number
 >      a1      0 (cause code?)
 >      a2      pointer to sigcontext struct

 > But, the pthread_sighander() of glibc-2.2 expects;
 >      1st arg.        signal number
 >      2nd arg.        sigcontext struct itself (not pointer)

 > Patches attached below. Please apply.

Thanks, I've committed them,

 Andreas Jaeger
  SuSE Labs

<Prev in Thread] Current Thread [Next in Thread>