[asterisk-bugs] [JIRA] (ASTERISK-20574) chan_motif crash

Dmitry Melekhov (JIRA) noreply at issues.asterisk.org
Tue Nov 6 00:31:21 CST 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=199274#comment-199274 ] 

Dmitry Melekhov commented on ASTERISK-20574:
--------------------------------------------

(gdb) thread apply all bt

Thread 43 (Thread 0xb4b4bb90 (LWP 8455)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x081b38f4 in tps_processing_function (data=0xa9f769c) at taskprocessor.c:308
#4  0x081c239b in dummy_start (data=0xa9f7710) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 42 (Thread 0xb4b87b90 (LWP 8454)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0xb643bbc0 in do_monitor (data=0x0) at chan_phone.c:1085
#3  0x081c239b in dummy_start (data=0xb58ddbe0) at utils.c:1030
#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 41 (Thread 0xb4bc3b90 (LWP 8453)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0x081335f4 in ast_io_wait (ioc=0xb58a1310, howlong=1000) at io.c:279
#3  0xb64243c3 in do_monitor (data=0x0) at chan_unistim.c:5697
#4  0x081c239b in dummy_start (data=0xb5899ae8) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 40 (Thread 0xb4bffb90 (LWP 8452)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa221a6 in nanosleep () from /lib/libc.so.6
#2  0x4fa21fcf in sleep () from /lib/libc.so.6
#3  0xb6fca038 in process_clearcache (ignore=0x0) at pbx_dundi.c:2218
#4  0x081c239b in dummy_start (data=0xb4c06160) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 39 (Thread 0xb4d51b90 (LWP 8451)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa221a6 in nanosleep () from /lib/libc.so.6
#2  0x4fa21fcf in sleep () from /lib/libc.so.6
#3  0xb6fd425b in process_precache (ign=0x0) at pbx_dundi.c:2255
#4  0x081c239b in dummy_start (data=0xb4c0a0c8) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 38 (Thread 0xb4dc9b90 (LWP 8449)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa221a6 in nanosleep () from /lib/libc.so.6
#2  0xb61c0475 in cleanup (unused=0x0) at pbx_realtime.c:133
#3  0x081c239b in dummy_start (data=0xb52c3bc0) at utils.c:1030
---Type <retur#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 37 (Thread 0xb4e05b90 (LWP 8448)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x081b38f4 in tps_processing_function (data=0xb52b98d4) at taskprocessor.c:308
#4  0x081c239b in dummy_start (data=0xb52c4130) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 36 (Thread 0xb4e41b90 (LWP 8447)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0xb7273a21 in scan_thread (unused=0x0) at pbx_spool.c:691
#3  0x081c239b in dummy_start (data=0xb527aee0) at utils.c:1030
#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 35 (Thread 0xb5345b90 (LWP 8446)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa221a6 in nanosleep () from /lib/libc.so.6
#2  0xb6eec0d9 in lock_broker (unused=0x0) at func_lock.c:196
#3  0x081c239b in dummy_start (data=0xb526c8f8) at utils.c:1030
#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 34 (Thread 0xb4e7db90 (LWP 8445)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0x081335f4 in ast_io_wait (ioc=0xb58dca80, howlong=1000) at io.c:279
#3  0xb6c9db0c in do_monitor (data=0x0) at chan_ooh323.c:3896
#4  0x081c239b in dummy_start (data=0xb58a1888) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 33 (Thread 0xb5381b90 (LWP 8442)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa5b551 in select () from /lib/libc.so.6
#2  0x414d5ffa in agent_check_and_process () from /usr/lib/libnetsnmpagent.so.10
#3  0xb6b32b03 in agent_thread (arg=0x0) at snmp/agent.c:206
#4  0x081c239b in dummy_start (data=0xb58e0e70) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 32 (Thread 0xb4fffb90 (LWP 8443)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0xb6cccbbb in ooSocketPoll (pfds=0xb4fff318, nfds=2, timeout=2100) at ooh323c/src/ooSocket.c:514
---Type <return> to continue, or q <return> to quit---
n> to continue, or q <return> to quit---
#3  0xb6cb4820 in ooMonitorChannels () at ooh323c/src/oochannels.c:855
#4  0xb6dbd987 in ooh323c_stack_thread (dummy=0x0) at ooh323cDriver.c:69
#5  0x081c239b in dummy_start (data=0xb58a0d00) at utils.c:1030
#6  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#7  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 31 (Thread 0xb53f9b90 (LWP 8440)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb587b608) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb587a2e8) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 30 (Thread 0xb5435b90 (LWP 8439)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb587a3a0) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb5879080) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 29 (Thread 0xb5471b90 (LWP 8438)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb5879138) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb5877e18) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 28 (Thread 0xb54adb90 (LWP 8437)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb5877ed0) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb586ffb0) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 27 (Thread 0xb54e9b90 (LWP 8436)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb5876c68) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb5870068) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6
---Type <Thread 26 (Thread 0xb5525b90 (LWP 8435)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb5875b08) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb586fea8) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 25 (Thread 0xb5561b90 (LWP 8434)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb58749a8) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb58720e8) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 24 (Thread 0xb559db90 (LWP 8433)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb5873848) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb5871fe0) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 23 (Thread 0xb55d9b90 (LWP 8432)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xb58726e8) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb5806c68) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 22 (Thread 0xb5615b90 (LWP 8431)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb62266f1 in iax2_process_thread (data=0xa954590) at chan_iax2.c:11882
#4  0x081c239b in dummy_start (data=0xb58707f8) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 21 (Thread 0xb5651b90 (LWP 8430)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
return> to continue, or q <return> to quit---
#3  0x081aa7a1 in sched_run (data=0xa94b2f8) at sched.c:120
#4  0x081c239b in dummy_start (data=0xa94b878) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 20 (Thread 0xb568db90 (LWP 8429)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x081b38f4 in tps_processing_function (data=0xa94b144) at taskprocessor.c:308
#4  0x081c239b in dummy_start (data=0xa94b1e0) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 19 (Thread 0xb5787b90 (LWP 8427)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa63728 in accept () from /lib/libc.so.6
#2  0xb6f5fa06 in accept_thread (ignore=0x0) at chan_skinny.c:7022
#3  0x081c239b in dummy_start (data=0xa56e558) at utils.c:1030
#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 18 (Thread 0xb574bb90 (LWP 8428)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x081aa7a1 in sched_run (data=0xa568b08) at sched.c:120
#4  0x081c239b in dummy_start (data=0xa567530) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 17 (Thread 0xb57c3b90 (LWP 8426)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x081aa7a1 in sched_run (data=0xb5808e18) at sched.c:120
#4  0x081c239b in dummy_start (data=0xb5800960) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 16 (Thread 0xb57ffb90 (LWP 8425)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0x081335f4 in ast_io_wait (ioc=0xa5251e0, howlong=1000) at io.c:279
#3  0xb64f1c57 in do_monitor (data=0x0) at chan_sip.c:28346
#4  0x081c239b in dummy_start (data=0xa53bc00) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xb4a5bb90 (LWP 8641)):
---Type <return> to continue, or q <return> to quit---
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x08091e12 in autoservice_run (ign=0x0) at autoservice.c:102
#4  0x081c239b in dummy_start (data=0xa9fda00) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xb5965b90 (LWP 8424)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0xb6c15f39 in do_monitor (data=0x0) at chan_dahdi.c:11993
#3  0x081c239b in dummy_start (data=0xb58135d8) at utils.c:1030
#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xb4b0fb90 (LWP 8456)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0x08083f08 in monitor_sig_flags (unused=0x0) at asterisk.c:3347
#3  0x081c239b in dummy_start (data=0xa9f8148) at utils.c:1030
#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb4d8db90 (LWP 8450)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0x081335f4 in ast_io_wait (ioc=0xb4c0a570, howlong=1000) at io.c:279
#3  0xb6fcbf3c in network_thread (ignore=0x0) at pbx_dundi.c:2178
#4  0x081c239b in dummy_start (data=0xb4c0b028) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb4f3eb90 (LWP 8444)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0xb6cccbbb in ooSocketPoll (pfds=0xb4f3e328, nfds=0, timeout=10) at ooh323c/src/ooSocket.c:514
#3  0xb6cb3719 in ooMonitorCmdChannels () at ooh323c/src/oochannels.c:782
#4  0xb6dbd967 in ooh323c_cmd_thread (dummy=0x0) at ooh323cDriver.c:76
#5  0x081c239b in dummy_start (data=0xb589fc00) at utils.c:1030
#6  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#7  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb53bdb90 (LWP 8441)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0x081335f4 in ast_io_wait (ioc=0xa94b990, howlong=1000) at io.c:279
#3  0xb61ec48b in network_thread (ignore=0x0) at chan_iax2.c:12367
#4  0x081c239b in dummy_start (data=0xb587b550) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---

#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb59a1b90 (LWP 8423)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0xb6c44d6e in pri_dchannel (vpri=0xb6c60d58) at sig_pri.c:5815
#3  0x081c239b in dummy_start (data=0xb5800490) at utils.c:1030
#4  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#5  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xb61a2b90 (LWP 8422)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa221a6 in nanosleep () from /lib/libc.so.6
#2  0x4fa5bdec in usleep () from /lib/libc.so.6
#3  0xb703f0de in pj_thread_sleep (msec=10) at ../src/pj/os_core_unix.c:749
#4  0xb703e033 in pj_ioqueue_poll (ioqueue=0xa54630c, timeout=0xb61a2378) at ../src/pj/ioqueue_select.c:813
#5  0xb7013330 in ice_worker_thread (data=0x0) at res_rtp_asterisk.c:1173
#6  0xb703ec07 in thread_main (param=0xa540888) at ../src/pj/os_core_unix.c:512
#7  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#8  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xb75b4b90 (LWP 8416)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x08180698 in do_presence_changes (data=0x0) at presencestate.c:296
#4  0x081c239b in dummy_start (data=0xa53f230) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xb7329b90 (LWP 8421)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0xb743a54a in xmpp_io_recv (data=0xa5980ac) at res_xmpp.c:3434
#3  xmpp_client_receive (data=0xa5980ac) at res_xmpp.c:3461
#4  xmpp_client_thread (data=0xa5980ac) at res_xmpp.c:3533
#5  0x081c239b in dummy_start (data=0xa594e48) at utils.c:1030
#6  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#7  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb75f0b90 (LWP 8415)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fafcc05 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4fa6f15d in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0x080eeea8 in do_devstate_changes (data=0x0) at devicestate.c:541
#4  0x081c239b in dummy_start (data=0xa2eb140) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xb762cb90 (LWP 8414)):
---Type <return> to continue, or q <return> to quit---
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa58cb3 in poll () from /lib/libc.so.6
#2  0x081c2333 in ast_wait_for_input (fd=9, ms=5000) at utils.c:1118
#3  0x081b48c7 in ast_tcptls_server_root (data=0x8226f00) at tcptls.c:286
#4  0x081c239b in dummy_start (data=0xa2e8788) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb7794b90 (LWP 8408)):
#0  0xb77bc424 in __kernel_vsyscall ()
#1  0x4fa221a6 in nanosleep () from /lib/libc.so.6
#2  0x4fa21fcf in sleep () from /lib/libc.so.6
#3  0x08084036 in canary_thread (unused=0x0) at asterisk.c:3392
#4  0x081c239b in dummy_start (data=0xa23a9d0) at utils.c:1030
#5  0x4faf8852 in start_thread () from /lib/libpthread.so.0
#6  0x4fa62a8e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb77aa6d0 (LWP 8405)):
#0  0x4fa0075c in strcasecmp () from /lib/libc.so.6
#1  0x080804c2 in ast_unregister_file_version (file=0xb6edfa05 "func_pitchshift.c") at asterisk.c:359
#2  0xb6edf770 in __unregister_file_version () at func_pitchshift.c:67
#3  0xb6ede9a2 in __do_global_dtors_aux () from /usr/lib/asterisk/modules/func_pitchshift.so
#4  0xb6edf9fc in _fini () from /usr/lib/asterisk/modules/func_pitchshift.so
#5  0x4f97e956 in _dl_fini () from /lib/ld-linux.so.2
#6  0x4f9baec9 in exit () from /lib/libc.so.6
#7  0x0807fea9 in really_quit (num=0, niceness=<value optimized out>, restart=0) at asterisk.c:1857
#8  0x08087e62 in main (argc=Cannot access memory at address 0xb50241c8
) at asterisk.c:1682

Thread 1 (Thread 0xb4a97b90 (LWP 8660)):
#0  __ao2_callback (c=0x0, arg=0xb4a90e34, flags=OBJ_POINTER) at astobj2.c:1188
#1  __ao2_find (c=0x0, arg=0xb4a90e34, flags=OBJ_POINTER) at astobj2.c:1219
#2  0x0811f53e in find_interface (format1=0xb4c45bd4, format2=0xb4a90e34) at format.c:107
#3  format_cmp_helper (format1=0xb4c45bd4, format2=0xb4a90e34) at format.c:314
#4  0x080c5b54 in ast_write (chan=0xb4c4534c, fr=0xb4a924f0) at channel.c:5035
#5  0xb6f1f979 in conf_run (chan=0xb4c4534c, conf=0xb4c583b8, confflags=0xb4a92e3c, optargs=0xb4a92e10) at app_meetme.c:3959
#6  0xb6f2a8ff in conf_exec (chan=0xb4c4534c, data=0xb4a94f04 "6000,TL(10800000:60000)") at app_meetme.c:4760
#7  0x08165c10 in pbx_exec (c=0xb4c4534c, app=0xb58e3aa0, data=0xb4a94f04 "6000,TL(10800000:60000)") at pbx.c:1589
#8  0x08176a6d in pbx_extension_helper (c=0xb4c4534c, con=0x0, context=0xb4c45f00 "jabber-in", exten=0xb4c45f50 "s", priority=4, label=0x0, 
    callerid=0xb4c1ccf8 "dm", action=E_SPAWN, found=0xb4a97328, combined_find_spawn=1) at pbx.c:4442
#9  0x0817be4d in ast_spawn_extension (c=0xb4c4534c, args=0x0) at pbx.c:5558
#10 __ast_pbx_run (c=0xb4c4534c, args=0x0) at pbx.c:6030
#11 0x0817e910 in pbx_thread (data=0xb4c4534c) at pbx.c:6360
#12 0x081c239b in dummy_start (data=0xb4c1d538) at utils.c:1030
#13 0x4faf8852 in start_thread () from /lib/libpthread.so.0
#14 0x4fa62a8e in clone () from /lib/libc.so.6
(gdb) 

                
> chan_motif crash
> ----------------
>
>                 Key: ASTERISK-20574
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20574
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_motif
>    Affects Versions: 11.0.0-beta2
>         Environment: Centos 5.8/x86
>            Reporter: Dmitry Melekhov
>            Assignee: Dmitry Melekhov
>            Severity: Minor
>         Attachments: motif.conf, xmpp.conf
>
>
> I'm trying to test calls between asterisk and psi with chan_motif with 11rc1 and just got crash:
> Program terminated with signal 11, Segmentation fault.
> #0  0x4fa00945 in memcpy () from /lib/libc.so.6
> (gdb) bt
> #0  0x4fa00945 in memcpy () from /lib/libc.so.6
> #1  0x4fb3e04d in ?? () from /lib/libz.so.1
> #2  0x4fb3f162 in ?? () from /lib/libz.so.1
> #3  0x4fb3e2f7 in deflate () from /lib/libz.so.1
> #4  0x4fcbd8aa in ?? () from /lib/libcrypto.so.6
> #5  0x4fcbd42e in COMP_compress_block () from /lib/libcrypto.so.6
> #6  0x4ffa148a in ssl3_do_compress () from /lib/libssl.so.6
> #7  0x4ffa15bd in ?? () from /lib/libssl.so.6
> #8  0x4ffa19d5 in ssl3_write_bytes () from /lib/libssl.so.6
> #9  0x4ff9efb1 in ssl3_write () from /lib/libssl.so.6
> #10 0x4ffb0879 in SSL_write () from /lib/libssl.so.6
> #11 0xb74d1eb9 in xmpp_client_send_raw_message (client=0xb7209f84, stanza=0x9c267e4) at res_xmpp.c:2409
> #12 ast_xmpp_client_send (client=0xb7209f84, stanza=0x9c267e4) at res_xmpp.c:2443
> #13 0xb64e0b4d in jingle_send_session_action (session=0x9c2a26c, action=0xb64e6c9f "session-initiate") at chan_motif.c:1318
> #14 0xb64e5f01 in jingle_send_session_initiate (ast=0x9c3b354, dest=0x9c0dec0 "jabber/dm at jabber.belkam.com", timeout=0) at chan_motif.c:1342
> not big deal just because I can't get sound between asterisk and psi yet, but anyway I guess there should be no crash... :-)
> #15 jingle_call (ast=0x9c3b354, dest=0x9c0dec0 "jabber/dm at jabber.belkam.com", timeout=0) at chan_motif.c:1682
> #16 0x080b8c28 in ast_call (chan=0x9c3b354, addr=0x9c0dec0 "jabber/dm at jabber.belkam.com", timeout=0) at channel.c:5959
> #17 0xb6d7662a in dial_exec_full (chan=0x9c0a544, data=<value optimized out>, peerflags=0xb4b1ae50, continue_exec=0x0) at app_dial.c:2594
> #18 0xb6d7a979 in dial_exec (chan=0x9c0a544, data=0xb4b1cf04 "Motif/jabber/dm at jabber.belkam.com,,r") at app_dial.c:3124
> #19 0x08165b70 in pbx_exec (c=0x9c0a544, app=0xb54954e0, data=0xb4b1cf04 "Motif/jabber/dm at jabber.belkam.com,,r") at pbx.c:1589
> #20 0x081769cd in pbx_extension_helper (c=0x9c0a544, con=0x0, context=0x9c0b0f8 "default", exten=0x9c0b148 "6006", priority=1, label=0x0, 
>     callerid=0x9bfea88 "6401", action=E_SPAWN, found=0xb4b1f328, combined_find_spawn=1) at pbx.c:4442
> #21 0x0817bdad in ast_spawn_extension (c=0x9c0a544, args=0x0) at pbx.c:5558
> #22 __ast_pbx_run (c=0x9c0a544, args=0x0) at pbx.c:6030
> #23 0x0817e870 in pbx_thread (data=0x9c0a544) at pbx.c:6360
> #24 0x081c220b in dummy_start (data=0x9c0d270) at utils.c:1030
> #25 0x4faf8852 in start_thread () from /lib/libpthread.so.0
> #26 0x4fa62a8e in clone () from /lib/libc.so.6

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list