Summary:ASTERISK-17600: 1.8.4rc2 ooh323 crash on incoming call
Reporter:sles (sles)Labels:
Date Opened:2011-03-24 05:41:57Date Closed:2011-06-07 14:00:58
Versions:1.8.3 Frequency of
Description:Here is backtrace, 1.8.1 works OK.
Will try 1.8.3 and report about result

Program terminated with signal 11, Segmentation fault.
#0  0x00000000004e016a in ast_reentrancy_init (plt=0x2aaad42974d8) at /var/local/files/asterisk-1.8.4-rc2/include/asterisk/lock.h:450
450 lt->file[i] = NULL;
(gdb) bt
#0  0x00000000004e016a in ast_reentrancy_init (plt=0x2aaad42974d8) at /var/local/files/asterisk-1.8.4-rc2/include/asterisk/lock.h:450
#1  0x00000000004e00de in __ast_pthread_mutex_init (tracking=1, filename=0x2aaac3c43185 "ooh323cDriver.c", lineno=164,
   func=0x2aaac3c431d0 "ooh323c_start_call_thread", mutex_name=0x2aaac3c431ea "&cur->lock", t=0x2aaad42974b0) at lock.c:65
#2  0x00002aaac3c23e98 in ooh323c_start_call_thread (call=0x2aaad429d578) at ooh323cDriver.c:164
#3  0x00002aaac3a96cf7 in onNewCallCreated (call=0x2aaad429d578) at chan_ooh323.c:1920
#4  0x00002aaac3ad6826 in ooCreateCall (type=0x2aaac3c2c779 "incoming", callToken=0x408ebf20 "ooh323c_1") at ooh323c/src/ooCalls.c:179
ASTERISK-1  0x00002aaac3ab444f in ooAcceptH225Connection () at ooh323c/src/oochannels.c:410
ASTERISK-2  0x00002aaac3ab4da6 in ooProcessFDSETsAndTimers (pfds=0x408ebfc0, nfds=2, pToMin=0x408ebfe0) at ooh323c/src/oochannels.c:622
ASTERISK-3  0x00002aaac3ab56cb in ooMonitorChannels () at ooh323c/src/oochannels.c:864
ASTERISK-4  0x00002aaac3c239d9 in ooh323c_stack_thread (dummy=0x0) at ooh323cDriver.c:69
ASTERISK-5  0x0000000000562ec9 in dummy_start (data=0x2aaad413bcf0) at utils.c:973
ASTERISK-6 0x00000037ada0673d in start_thread () from /lib64/libpthread.so.0
ASTERISK-7 0x00000037aced3f6d in clone () from /lib64/libc.so.6
Comments:By: sles (sles) 2011-03-24 05:51:53 doesn't have such problem

By: Alexander Anikin (may213) 2011-04-10 16:25:25

I suggest that it's not a channel driver but common asterisk core issue,
saw it on asterisk compiled with DEBUG_THREAD but not without.

Please check it.

By: Leif Madsen (lmadsen) 2011-04-12 08:50:05

Please provide the full backtrace per the documentation at https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Alexander Anikin (may213) 2011-04-28 03:50:42

closed due to lack of response.
feel free to reopen if will need.