[asterisk-bugs] [Asterisk 0011486]: Core dump <tzafrir> Astrisk passed a bad pointer to libc

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Dec 6 19:52:14 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11486 
====================================================================== 
Reported By:                adamg
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11486
Category:                   Core-General
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.15  
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 91292 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-06-2007 19:29 CST
Last Modified:              12-06-2007 19:52 CST
====================================================================== 
Summary:                    Core dump <tzafrir> Astrisk passed a bad pointer to
libc
Description: 
I updated to 1.4SVN and asterisk has crashed a couple of times within 24
hours, (crashes when calls come in or are active, it didn't crash all night
while it was in-active).
====================================================================== 

---------------------------------------------------------------------- 
 adamg - 12-06-07 19:52  
---------------------------------------------------------------------- 
Seems to be reproducible every time an inbound call is received:

    -- Executing [s at remote:12] NoOp("Zap/2-1", "QUEUE_PRIO=1") in new
stack
    -- Executing [s at remote:13] Set("Zap/2-1", "QUEUE_PRIO=2") in new
stack
    -- Executing [s at remote:14] NoOp("Zap/2-1", "QUEUE_PRIO=2") in new
stack
    -- Executing [s at remote:15] Queue("Zap/2-1", "webman-a|nrwW") in new
stack
asterisk*CLI> Asterisk ended with exit status 0
Asterisk shutdown normally.

Disconnected from Asterisk server
Executing last minute cleanups

Core was generated by `asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0xb7e3fad3 in strlen () from
/lib/libc.so.6
(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb7e3fad3 in strlen () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=1  0xb7e153c4 in vfprintf () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=2  0xb7e32c91 in vsnprintf () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=3  0x080fa4b0 in
ast_dynamic_str_thread_build_va (buf=0xb695e6a8,
max_len=8192, ts=0x8151fac, append=0, 
    fmt=0xb6b75a84 "Skipping dialing interface '%s' since it has already
been dialed\n", ap=0xb695e6d4 "\004") at utils.c:1289
http://bugs.digium.com/view.php?id=4  0x080ad861 in ast_log (level=0,
file=0xb6b73a46 "app_queue.c",
line=2609, function=0xb6b78207 "try_calling", 
    fmt=0xb6b75a84 "Skipping dialing interface '%s' since it has already
been dialed\n") at logger.c:807
http://bugs.digium.com/view.php?id=5  0xb6b6e204 in try_calling (qe=0xb6960864,
options=<value optimized
out>, announceoverride=0x0, url=0x0, tries=0xb6960a00, noption=0xb69609fc,
agi=0x0)
    at app_queue.c:2609
http://bugs.digium.com/view.php?id=6  0xb6b72abc in queue_exec (chan=0x81db530,
data=0xb6962a88) at
app_queue.c:3696
http://bugs.digium.com/view.php?id=7  0x080c8e1a in pbx_extension_helper
(c=0x81db530, con=0x0,
context=0x81db6b0 "remote", exten=0x81db700 "s", priority=15, label=0x0, 
    callerid=0x81db928 "90402078431", action=E_SPAWN) at pbx.c:532
http://bugs.digium.com/view.php?id=8  0x080cb3da in __ast_pbx_run (c=0x81db530)
at pbx.c:2304
http://bugs.digium.com/view.php?id=9  0x080cc49e in pbx_thread (data=0x81db530)
at pbx.c:2621
http://bugs.digium.com/view.php?id=10 0x080f9810 in dummy_start (data=0x81dad00)
at utils.c:847
http://bugs.digium.com/view.php?id=11 0xb7f6fc51 in pthread_start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=12 0xb7e9141a in clone () from /lib/libc.so.6


and again:
Core was generated by `asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
http://bugs.digium.com/view.php?id=0  0xb7dbfad3 in strlen () from
/lib/libc.so.6
(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb7dbfad3 in strlen () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=1  0xb7d953c4 in vfprintf () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=2  0xb7db2c91 in vsnprintf () from
/lib/libc.so.6
http://bugs.digium.com/view.php?id=3  0x080fa4b0 in
ast_dynamic_str_thread_build_va (buf=0xb6a196a8,
max_len=8192, ts=0x8151fac, append=0, 
    fmt=0xb6bf3a84 "Skipping dialing interface '%s' since it has already
been dialed\n", ap=0xb6a196d4 "\004") at utils.c:1289
http://bugs.digium.com/view.php?id=4  0x080ad861 in ast_log (level=0,
file=0xb6bf1a46 "app_queue.c",
line=2609, function=0xb6bf6207 "try_calling", 
    fmt=0xb6bf3a84 "Skipping dialing interface '%s' since it has already
been dialed\n") at logger.c:807
http://bugs.digium.com/view.php?id=5  0xb6bec204 in try_calling (qe=0xb6a1b864,
options=<value optimized
out>, announceoverride=0x0, url=0x0, tries=0xb6a1ba00, noption=0xb6a1b9fc,
agi=0x0)
    at app_queue.c:2609
http://bugs.digium.com/view.php?id=6  0xb6bf0abc in queue_exec (chan=0x821e848,
data=0xb6a1da88) at
app_queue.c:3696
http://bugs.digium.com/view.php?id=7  0x080c8e1a in pbx_extension_helper
(c=0x821e848, con=0x0,
context=0x821e9c8 "remote", exten=0x821ea18 "s", priority=15, label=0x0, 
    callerid=0x82275e0 "90402078431", action=E_SPAWN) at pbx.c:532
http://bugs.digium.com/view.php?id=8  0x080cb3da in __ast_pbx_run (c=0x821e848)
at pbx.c:2304
http://bugs.digium.com/view.php?id=9  0x080cc49e in pbx_thread (data=0x821e848)
at pbx.c:2621
http://bugs.digium.com/view.php?id=10 0x080f9810 in dummy_start (data=0x821d4a8)
at utils.c:847
http://bugs.digium.com/view.php?id=11 0xb7eefc51 in pthread_start_thread () from
/lib/libpthread.so.0
http://bugs.digium.com/view.php?id=12 0xb7e1141a in clone () from /lib/libc.so.6


Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-06-07 19:52  adamg          Note Added: 0074990                          
======================================================================




More information about the asterisk-bugs mailing list