tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: using backtrace(3) in libpthread
On Apr 25, 11:20pm, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: using backtrace(3) in libpthread
| On Fri, Apr 25, 2014 at 04:09:31PM -0400, Christos Zoulas wrote:
| > struct syslog_data sd = SYSLOG_DATA_INIT;
| > syslog_r(..., &sd, ...);
|
| Even this simple case at the end of pthread_key_create() is enough
| to deadlock:
|
| static struct syslog_data sd = SYSLOG_DATA_INIT;
Where does it deadlock? Can gdb show you?
| syslog_r(LOG_ERR, &sd, "test");
Can you try syslog_ss()?
christos
Home |
Main Index |
Thread Index |
Old Index