[Asterisk-Dev] seg fault in queue when sent to res_parking

TC trclark at shaw.ca
Tue Jun 10 11:14:02 MST 2003


Just wondering if anyone might wanta help squash this seg fault

I set up a q like (note the t option)
exten => s,1,Queue,dispatchq|t

Then send the call to the parking lot by doing a #700 on the agents phone
The cli start complaining about thread blocking

WARNING[32773]: File chan_zap.c, Line 3146 (zt_read): Thread 32773 Blocking
'Zap/1-1', already blocked by thread 32773 in procedure ast_waitfor_nandfds
WARNING[32773]: File chan_zap.c, Line 3146 (zt_read): Thread 32773 Blocking
'Zap/1-1', already blocked by thread 32773 in procedure ast_waitfor_nandfds
WARNING[155668]: File pbx.c, Line 1791 (ast_pbx_run): Timeout, but no rule
't' in context 'dispatchq'
DEBUG[155668]: File chan_zap.c, Line 1493 (zt_hangup): Hangup: channel: 1
index = 0, normal = 22, callwait = -1, thirdcall = -1
DEBUG[155668]: File chan_zap.c, Line 949 (zt_disable_ec): disabled echo
cancellation on channel 1
DEBUG[155668]: File chan_zap.c, Line 1846 (zt_setoption): Set option TDD
MODE, value: OFF(0) on Zap/1-1
DEBUG[155668]: File chan_zap.c, Line 908 (update_conf): Updated conferencing
on 1, with 0 conference users
   -- Hungup 'Zap/1-1'
Segmentation fault

Backtrace follows

#0  0x08057538 in ast_read (chan=0x811d208) at channel.c:89
#1  0x4103a02c in do_parking_thread (ignore=0x0) at res_parking.c:400
#2  0x4001ed53 in pthread_start_thread () from /lib/libpthread.so.0




More information about the asterisk-dev mailing list