[asterisk-bugs] [Asterisk 0011082]: Asterisk 1.4.13 stock segfault on pthread_mutex_lock
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Nov 6 13:37:43 CST 2007
The following issue has been REOPENED.
======================================================================
http://bugs.digium.com/view.php?id=11082
======================================================================
Reported By: ljackson
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 11082
Category: Core-General
Reproducibility: sometimes
Severity: crash
Priority: normal
Status: feedback
Asterisk Version: 1.4.13
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 10-24-2007 16:48 CDT
Last Modified: 11-06-2007 13:37 CST
======================================================================
Summary: Asterisk 1.4.13 stock segfault on pthread_mutex_lock
Description:
after doing some config changes and issuing a iax2 reload and extensions
reload, it happend on the 3rd iax2 reload, asterisk segfaulted I ran gdb on
the core and this is the BT:
Core was generated by `/usr/sbin/asterisk -f -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0 0x003ca2a0 in pthread_mutex_lock () from
/lib/libpthread.so.0
(gdb) where
http://bugs.digium.com/view.php?id=0 0x003ca2a0 in pthread_mutex_lock () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=1 0x0376c01b in iax2_poke_peer
(peer=0x9d296d8, heldcall=0)
at /root/asterisk-dist/asterisk-1.4.13/include/asterisk/lock.h:610
http://bugs.digium.com/view.php?id=2 0x0378042c in iax2_process_thread
(data=0x9ce6150) at
chan_iax2.c:8259
http://bugs.digium.com/view.php?id=3 0x080f643b in dummy_start (data=0x9cde360)
at utils.c:806
http://bugs.digium.com/view.php?id=4 0x003c82db in start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=5 0x0032212e in clone () from /lib/libc.so.6
======================================================================
----------------------------------------------------------------------
ljackson - 11-06-07 13:37
----------------------------------------------------------------------
Still hapinging with the svn version with the fixes. this site using mysql
realtime:
---------------------------------------------
Asterisk SVN-branch-1.4-r87852, Copyright (C) 1999 - 2007 Digium, Inc. and
others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General
Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
== Binding iaxusers to mysql/asterisk/iax_peers
== Binding iaxpeers to mysql/asterisk/iax_peers
== Binding sipusers to mysql/asterisk/sip_peers
== Binding sippeers to mysql/asterisk/sip_peers
== Binding extensions to mysql/asterisk/pbx_extensions
Connected to Asterisk SVN-branch-1.4-r87852 currently running on custpbx00
(pid = 7812)
Verbosity is at least 3
-----------------------
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0 0x080eb8f5 in ast_sched_del
(con=0x82628b8, id=1148) at sched.c:286
286 CRASH;
(gdb) where
http://bugs.digium.com/view.php?id=0 0x080eb8f5 in ast_sched_del
(con=0x82628b8, id=1148) at sched.c:286
http://bugs.digium.com/view.php?id=1 0x00bb4bf1 in iax2_destroy_helper
(pvt=0xb79162b8) at
chan_iax2.c:1913
http://bugs.digium.com/view.php?id=2 0x00bb4f2c in iax2_destroy (callno=2) at
chan_iax2.c:1980
http://bugs.digium.com/view.php?id=3 0x00bd4ea3 in __iax2_poke_noanswer
(data=0x82644d0) at
chan_iax2.c:8513
http://bugs.digium.com/view.php?id=4 0x00bd4041 in iax2_process_thread
(data=0x82670e8) at
chan_iax2.c:8299
http://bugs.digium.com/view.php?id=5 0x080fa3c0 in dummy_start (data=0x8263f70)
at utils.c:843
http://bugs.digium.com/view.php?id=6 0x003c82db in start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=7 0x0032212e in clone () from /lib/libc.so.6
(gdb) bt full
http://bugs.digium.com/view.php?id=0 0x080eb8f5 in ast_sched_del
(con=0x82628b8, id=1148) at sched.c:286
s = (struct sched *) 0x0
__PRETTY_FUNCTION__ = "ast_sched_del"
http://bugs.digium.com/view.php?id=1 0x00bb4bf1 in iax2_destroy_helper
(pvt=0xb79162b8) at
chan_iax2.c:1913
No locals.
http://bugs.digium.com/view.php?id=2 0x00bb4f2c in iax2_destroy (callno=2) at
chan_iax2.c:1980
pvt = (struct chan_iax2_pvt *) 0xb79162b8
cur = (struct iax_frame *) 0xb7cd2b90
owner = (struct ast_channel *) 0x0
__PRETTY_FUNCTION__ = "iax2_destroy"
http://bugs.digium.com/view.php?id=3 0x00bd4ea3 in __iax2_poke_noanswer
(data=0x82644d0) at
chan_iax2.c:8513
peer = (struct iax2_peer *) 0x82644d0
__PRETTY_FUNCTION__ = "__iax2_poke_noanswer"
http://bugs.digium.com/view.php?id=4 0x00bd4041 in iax2_process_thread
(data=0x82670e8) at
chan_iax2.c:8299
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {12503980,
0, -1211290736,
-1211292840, -551423833, 1750200032}, __mask_was_saved = 0}},
__pad = {0xb7cd2370,
0x0, 0xc, 0x0}}
__cancel_routine = (void (*)(void *)) 0xbd3b5e
<iax2_process_thread_cleanup>
__cancel_arg = (void *) 0x82670e8
not_first_call = 0
thread = (struct iax2_thread *) 0x82670e8
tv = {tv_sec = -1211292904, tv_usec = 3979120}
ts = {tv_sec = 0, tv_nsec = -1211290736}
put_into_idle = 1
http://bugs.digium.com/view.php?id=5 0x080fa3c0 in dummy_start (data=0x8263f70)
at utils.c:843
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {4026356,
0, -1211290736,
-1211292728, -551423561, 1625518407}, __mask_was_saved = 0}},
__pad = {0xb7cd2480,
0x0, 0x0, 0x0}}
__cancel_routine = (void (*)(void *)) 0x8068c45
<ast_unregister_thread>
__cancel_arg = (void *) 0xb7cd2b90
not_first_call = 0
ret = (void *) 0x0
a = {start_routine = 0xbd3bd8 <iax2_process_thread>, data =
0x82670e8,
name = 0x8264110 "iax2_process_thread started at [ 8801] chan_iax2.c
start_network_thread()"}
http://bugs.digium.com/view.php?id=6 0x003c82db in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
http://bugs.digium.com/view.php?id=7 0x0032212e in clone () from /lib/libc.so.6
No symbol table info available.
Issue History
Date Modified Username Field Change
======================================================================
11-06-07 13:37 ljackson Note Added: 0073219
======================================================================
More information about the asterisk-bugs
mailing list