P[ 1] I IND :NEW_CHANNEL oad:XXXXXXXXXX dad:XXXXXXX pid:2 state:none P[ 1] Chan not existing at the moment bc->l3id:20023 bc:0x8185f94 event:NEW_CHANNEL port:1 channel:2 P[ 1] NO USERUESRINFO P[ 1] I IND :SETUP oad:XXXXXXXXXX dad:XXXXXXX pid:2 state:none P[ 1] read_config: Getting Config P[ 1] I SEND:PROCEEDING oad:XXXXXXXXXX dad:XXXXXXX pid:2 [New Thread 0xb689ebb0 (LWP 1938)] [New Thread 0xb6862bb0 (LWP 1942)] P[ 1] * IND : ringing pid:2 P[ 1] I SEND:ALERTING oad:XXXXXXXXXX dad:XXXXXXX pid:2 P[ 1] I IND :RELEASE oad:XXXXXXXXXX dad:XXXXXXX pid:2 state:ALERTING [Thread 0xb6862bb0 (LWP 1942) exited] P[ 1] * IND : HANGUP pid:2 ctx:misdn dad:XXXXXXX oad:XXXXXXXXXX State:ALERTING P[ 1] * RELEASING CHANNEL pid:2 ctx:misdn dad:XXXXXXX oad:@XXXXXX state: CLEANING Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb736fbb0 (LWP 1936)] 0xb7db5ac4 in _int_free () from /lib/libc.so.6 (gdb) inf thr 10 Thread 0xb689ebb0 (LWP 1938) 0xb7e13789 in __lll_mutex_lock_wait () from /lib/libc.so.6 9 Thread 0xb6b0abb0 (LWP 1937) 0xb7e00056 in poll () from /lib/libc.so.6 * 8 Thread 0xb736fbb0 (LWP 1936) 0xb7db5ac4 in _int_free () from /lib/libc.so.6 7 Thread 0xb7b6fbb0 (LWP 1934) 0xb7ef128b in sem_wait@GLIBC_2.0 () from /lib/libpthread.so.0 6 Thread 0xb7c77bb0 (LWP 1933) 0xb7e02467 in select () from /lib/libc.so.6 5 Thread 0xb7cd1bb0 (LWP 1932) 0xb7e13789 in __lll_mutex_lock_wait () from /lib/libc.so.6 4 Thread 0xb7d0dbb0 (LWP 1931) 0xb7ddadec in nanosleep () from /lib/libc.so.6 3 Thread 0xb7d4abb0 (LWP 1930) 0xb7e00056 in poll () from /lib/libc.so.6 1 Thread 0xb7d556b0 (LWP 1928) 0xb7ef1c01 in read () from /lib/libpthread.so.0 (gdb) bt 8 #0 0xb7db5ac4 in _int_free () from /lib/libc.so.6 #1 0xb7db5f94 in free () from /lib/libc.so.6 #2 0xb7bce3bc in release_chan (bc=0x8185f94) at chan_misdn.c:3654 #3 0xb7bd0c08 in cb_events (event=EVENT_RELEASE, bc=0x8185f94, user_data=0x0) at chan_misdn.c:4619 #4 0xb7bdc466 in handle_frm (msg=0x8190f28) at misdn/isdn_lib.c:2637 #5 0xb7bdea83 in manager_isdn_handler (frm=0x8190f5c, msg=0x8190f28) at misdn/isdn_lib.c:3611 #6 0xb7bdd2fd in misdn_lib_isdn_event_catcher (arg=0x8179d70) at misdn/isdn_lib.c:3018 #7 0xb7eed16f in start_thread () from /lib/libpthread.so.0 (More stack frames follow...) (gdb) bt 8 full #0 0xb7db5ac4 in _int_free () from /lib/libc.so.6 No symbol table info available. #1 0xb7db5f94 in free () from /lib/libc.so.6 No symbol table info available. #2 0xb7bce3bc in release_chan (bc=0x8185f94) at chan_misdn.c:3654 [8Cch = (struct chan_list *) 0x81a9920 [8Cast = (struct ast_channel *) 0x81aae38 #3 0xb7bd0c08 in cb_events (event=EVENT_RELEASE, bc=0x8185f94, user_data=0x0) at chan_misdn.c:4619 [8Cmsn_valid = -1212261011 [8Cch = (struct chan_list *) 0x81a9920 [8C__PRETTY_FUNCTION__ = "cb_events" #4 0xb7bdc466 in handle_frm (msg=0x8190f28) at misdn/isdn_lib.c:2637 [8Cret = 0 [8Cevent = EVENT_RELEASE [8Cresponse = RESPONSE_OK [8Cdummybc = {send_lock = 0x0, dummy = 0, nt = -1221135656, pri = -1212337640, port = -1221136704, b_stid = 1023, layer_id = -1212142360, layer = -1221135636, need_disconnect = -1221135364, need_release = -1221136564, need_release_complete = -1221136724, dec = -72515583, l3_id = -1221136432, pid = -1221136432, ces = 824204112, restart_channel = -1224728483, channel = 1095254850, channel_preselected = 1646279246, in_use = 1851877475, cw = 1413693728, addr = 1852785440, bframe = 0x6d726966
, bframe_len = 1684631584, time_usec = 668218, astbuf = 0x0, misdnbuf = 0xb736efc8, te_choose_channel = 0, early_bconnect = -1, dtmf = -1224736768, send_dtmf = 0, need_more_infos = 0, sending_complete = 0, nodsp = 0, nojitter = 0, dnumplan = NUMPLAN_UNINITIALIZED, rnumplan = NUMPLAN_UNKNOWN, onumplan = NUMPLAN_UNKNOWN, cpnnumplan = NUMPLAN_UNKNOWN, progress_coding = 0, progress_location = 0, progress_indicator = 0, fac_in = {Function = Fac_GetSupportedServices, u = {Listen = { NotificationMask = 0}, Suspend = {CallIdentity = "\000\000\000\000\000\000\000\000ÿÿÿÿ\000\000\000"}, Resume = { CallIdentity = "\000\000\000\000\000\000\000\000ÿÿÿÿ\000\000\000"}, CFActivate = {Handle = 0, Procedure = 0, BasicService = 0, ServedUserNumber = "ÿÿÿÿ", '\0'