[asterisk-bugs] [Asterisk 0012309]: * segfault when not using DONT_OPTIMIZE flag
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Mar 27 08:42:44 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12309
======================================================================
Reported By: junky
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12309
Category: Core-General
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 110474
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 03-26-2008 12:43 CDT
Last Modified: 03-27-2008 08:42 CDT
======================================================================
Summary: * segfault when not using DONT_OPTIMIZE flag
Description:
If i dont use DONT_OPTIMIZE flag, im getting sefault like:
(gdb) bt
http://bugs.digium.com/view.php?id=0 0x0000003895d6829b in arena_get2 () from
/lib64/tls/libc.so.6
http://bugs.digium.com/view.php?id=1 0x0000003895d6b4b3 in calloc () from
/lib64/tls/libc.so.6
http://bugs.digium.com/view.php?id=2 0x00000000004a4519 in
ast_sched_add_variable (con=0x6d4420, when=2000,
callback=0x2a9a5b31e0 <attempt_transmit>, data=0x7c8330, variable=0) at
/usr/src/ah_ast_1.4/include/asterisk/utils.h:359
http://bugs.digium.com/view.php?id=3 0x0000002a9a5b5fad in network_thread
(ignore=Variable "ignore" is not
available.
) at chan_iax2.c:971
http://bugs.digium.com/view.php?id=4 0x00000000004eb595 in
__PRETTY_FUNCTION__.1 ()
http://bugs.digium.com/view.php?id=5 0x00000000004eb6a4 in
__PRETTY_FUNCTION__.1 ()
http://bugs.digium.com/view.php?id=6 0x0000003895d3ff83 in vfprintf () from
/lib64/tls/libc.so.6
http://bugs.digium.com/view.php?id=7 0x00000000004eb595 in
__PRETTY_FUNCTION__.1 ()
http://bugs.digium.com/view.php?id=8 0x00000000004eb6a4 in
__PRETTY_FUNCTION__.1 ()
http://bugs.digium.com/view.php?id=9 0x0000003895d3ff83 in vfprintf () from
/lib64/tls/libc.so.6
http://bugs.digium.com/view.php?id=10 0x0000000000000000 in ?? ()
(gdb)
http://bugs.digium.com/view.php?id=0 0x0000003895d6829b in arena_get2 () from
/lib64/tls/libc.so.6
No symbol table info available.
http://bugs.digium.com/view.php?id=1 0x0000003895d6b4b3 in calloc () from
/lib64/tls/libc.so.6
No symbol table info available.
http://bugs.digium.com/view.php?id=2 0x00000000004a4519 in
ast_sched_add_variable (con=0x6d4420, when=2000,
callback=0x2a9a5b31e0 <attempt_transmit>, data=0x7c8330, variable=0) at
/usr/src/ah_ast_1.4/include/asterisk/utils.h:359
res = -1
__PRETTY_FUNCTION__ = "ast_sched_add_variable"
http://bugs.digium.com/view.php?id=3 0x0000002a9a5b5fad in network_thread
(ignore=Variable "ignore" is not
available.
) at chan_iax2.c:971
__list_next = (struct iax_frame *) 0x7d38e0
__list_prev = (struct iax_frame *) 0x752480
__new_prev = (struct iax_frame *) 0x7c8330
res = Variable "res" is not available.
(gdb) p *con
$5 = {lock = {__m_reserved = 2, __m_count = 1, __m_owner = 0x1ffffc7c0,
__m_kind = 1, __m_lock = {__status = 0, __spinlock = 0}}, eventcnt = 434,
schedcnt = 129, schedq = {first = 0x2aabe02a00,
last = 0x2a9a95e560}, schedc = {first = 0x0, last = 0x0}, schedccnt =
0}
======================================================================
----------------------------------------------------------------------
Corydon76 - 03-27-08 08:42
----------------------------------------------------------------------
Generally, that's a compiler bug, and you need to report that upstream to
your distribution.
Issue History
Date Modified Username Field Change
======================================================================
03-27-08 08:42 Corydon76 Note Added: 0084652
======================================================================
More information about the asterisk-bugs
mailing list