[Home]

Summary:ASTERISK-09130: core dump in changethread
Reporter:Peng Yong (ppyy)Labels:
Date Opened:2007-03-28 09:43:50Date Closed:2007-05-23 12:13:59
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:
Loaded symbols for //usr/lib/asterisk/modules/app_realtime.so
Reading symbols from /usr/lib/asterisk/modules/codec_gsm.so...done.
Loaded symbols for //usr/lib/asterisk/modules/codec_gsm.so
Reading symbols from /usr/lib/asterisk/modules/app_waitforsilence.so...done.
Loaded symbols for //usr/lib/asterisk/modules/app_waitforsilence.so
Reading symbols from /usr/lib/asterisk/modules/app_chanisavail.so...done.
Loaded symbols for //usr/lib/asterisk/modules/app_chanisavail.so
Reading symbols from /usr/lib/asterisk/modules/app_lookupblacklist.so...done.
Loaded symbols for //usr/lib/asterisk/modules/app_lookupblacklist.so
Reading symbols from /usr/lib/asterisk/modules/app_sayunixtime.so...done.
Loaded symbols for //usr/lib/asterisk/modules/app_sayunixtime.so
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
#0  0x00a2e709 in changethread (data=0xb7c1ee40) at ../include/asterisk/lock.h:326
326             if (t->reentrancy && (t->thread[t->reentrancy-1] != pthread_self())) {
(gdb) bt full
#0  0x00a2e709 in changethread (data=0xb7c1ee40) at ../include/asterisk/lock.h:326
       q = (struct call_queue *) 0x0
       cur = Variable "cur" is not available.
(gdb)


****** ADDITIONAL INFORMATION ******

why q is null when ast_mutex_lock(&q->lock) ?

   for (q = queues; q; q = q->next) {
       ast_mutex_lock(&q->lock);
Comments:By: Joshua C. Colp (jcolp) 2007-05-17 11:28:09

Was this an optimized build? did you have any debugging enabled? has this happened again? can you recreate it? what was happening at the time (were you doing a reload)?

By: BJ Weschke (bweschke) 2007-05-23 12:13:58

Going to close this. No additional information available on a more detail backtrace. Some verbose/debug logging with debug threading enabled would probably also be helpful here to see what else might have been going on. Please re-open if you have more information available.