[asterisk-bugs] [Asterisk 0016312]: dummy_start (data=0xb7c9be00) at utils.c and in clone () from /lib/libc.so.6

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 23 18:40:50 CST 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16312 
====================================================================== 
Reported By:                galeras
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16312
Category:                   General
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.27 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-23 10:33 CST
Last Modified:              2009-11-23 18:40 CST
====================================================================== 
Summary:                    dummy_start (data=0xb7c9be00) at utils.c and in
clone () from /lib/libc.so.6
Description: 
Hi I have been having constant decline of my calls and I realized that the
asterisk is falling down and leaving core files so  I use gdb  for those
cores and this is what gives.


https://issues.asterisk.org/view.php?id=0  0x08084059 in
__ast_pthread_mutex_lock (filename=0x814c194
"channel.c", lineno=3777, func=0x814e9fa "ast_do_masquerade",
mutex_name=0x814f322 "(channel lock)",
    t=0x153f) at
/usr/src/asterisk/asterisk-1.4.26.3/include/asterisk/lock.h:354
354             int canlog = strcmp(filename, "logger.c") & t->track;
(gdb) bt
https://issues.asterisk.org/view.php?id=0  0x08084059 in
__ast_pthread_mutex_lock (filename=0x814c194
"channel.c", lineno=3777, func=0x814e9fa "ast_do_masquerade",
mutex_name=0x814f322 "(channel lock)",
    t=0x153f) at
/usr/src/asterisk/asterisk-1.4.26.3/include/asterisk/lock.h:354
https://issues.asterisk.org/view.php?id=1  0x08093973 in __ast_channel_lock
(chan=0x14c7, filename=0x814c194
"channel.c", lineno=3777, func=0x814e9fa "ast_do_masquerade") at
channel.c:5043
https://issues.asterisk.org/view.php?id=2  0x0808f606 in ast_do_masquerade
(original=0xb7b07508) at
channel.c:3777
https://issues.asterisk.org/view.php?id=3  0x08088f1a in ast_waitfor_nandfds
(c=0x12edaa0, n=1, fds=0x0, nfds=0,
exception=0x0, outfd=0x0, ms=0x12edaa4) at channel.c:1730
https://issues.asterisk.org/view.php?id=4  0x08089671 in ast_waitfor
(c=0xb7b07508, ms=348) at channel.c:1856
https://issues.asterisk.org/view.php?id=5  0x08087333 in
ast_safe_sleep_conditional (chan=0xb7b07508, ms=348,
cond=0x4f4786 <agent_cont_sleep>, data=0x9eaa080) at channel.c:1208
https://issues.asterisk.org/view.php?id=6  0x004faab0 in __login_exec
(chan=0xb7b07508, data=0x815ec33,
callbackmode=0) at chan_agent.c:2290
https://issues.asterisk.org/view.php?id=7  0x004fb7f0 in login_exec
(chan=0xb7b07508, data=0x815ec33) at
chan_agent.c:2405
https://issues.asterisk.org/view.php?id=8  0x080d2e4a in pbx_exec (c=0xb7b07508,
app=0x9ea5628, data=0x12f0108)
at pbx.c:536
https://issues.asterisk.org/view.php?id=9  0x080d6b7f in pbx_extension_helper
(c=0xb7b07508, con=0x0,
context=0xb7b07748 "8,s,begin)", exten=0xb7b07798 "${CONTEXT})",
priority=1, label=0x0,
    callerid=0xb7b05e78 "\230^°·\236^°·\n\020", action=E_SPAWN) at
pbx.c:1863
https://issues.asterisk.org/view.php?id=10 0x080d7d7f in ast_spawn_extension
(c=0xb7b07508, context=0xb7b07748
"8,s,begin)", exten=0xb7b07798 "${CONTEXT})", priority=1,
    callerid=0xb7b05e78 "\230^°·\236^°·\n\020") at pbx.c:2283
https://issues.asterisk.org/view.php?id=11 0x080d81b1 in __ast_pbx_run
(c=0xb7b07508) at pbx.c:2373
https://issues.asterisk.org/view.php?id=12 0x080d9192 in pbx_thread
(data=0xb7b07508) at pbx.c:2599
https://issues.asterisk.org/view.php?id=13 0x0811da18 in dummy_start
(data=0xb7c9be00) at utils.c:856
https://issues.asterisk.org/view.php?id=14 0x0097b49b in start_thread () from
/lib/libpthread.so.0
https://issues.asterisk.org/view.php?id=15 0x008d242e in clone () from
/lib/libc.so.6




BT FULL




(gdb) bt full
https://issues.asterisk.org/view.php?id=0  0x08084059 in
__ast_pthread_mutex_lock (filename=0x814c194
"channel.c", lineno=3777, func=0x814e9fa "ast_do_masquerade",
mutex_name=0x814f322 "(channel lock)",
    t=0x153f) at
/usr/src/asterisk/asterisk-1.4.26.3/include/asterisk/lock.h:354
        res = 19872656
        canlog = 135578005
        __PRETTY_FUNCTION__ = "__ast_pthread_mutex_lock"
https://issues.asterisk.org/view.php?id=1  0x08093973 in __ast_channel_lock
(chan=0x14c7, filename=0x814c194
"channel.c", lineno=3777, func=0x814e9fa "ast_do_masquerade") at
channel.c:5043
        res = 19846648
        __PRETTY_FUNCTION__ = "__ast_channel_lock"
https://issues.asterisk.org/view.php?id=2  0x0808f606 in ast_do_masquerade
(original=0xb7b07508) at
channel.c:3777
        x = 135581016
        i = 19847272
        res = 0
        origstate = 19847352
        cur = (struct ast_frame *) 0x8084288
        t = (const struct ast_channel_tech *) 0x941560
        t_pvt = (void *) 0x814cd58
        tmpcid = {cid_dnid = 0x940ff4 "\234\r\224", cid_num = 0x16
<Address 0x16 out of bounds>, cid_name = 0x83cb9b "\201ÃYD\020", cid_ani =
0x5001a4 "¸ \001",
  cid_rdnis = 0x814c195 "hannel.c", cid_pres = 135580897, cid_ani2 =
19847256, cid_ton = 8678914, cid_tns = 9704800}
        clone = (struct ast_channel *) 0x14c7
        cdr = (struct ast_cdr *) 0x6c0
        rformat = 0
        wformat = -1213171352
        newn =
"ô\017\224\000\026\000\000\000áÌ\024\bô×.\001\223?\202\000±]\222\000ê`\222",
'\0' <repeats 13 times>,
"\005\000\000\000ô\017\224\0004Ø.\001Y\t\207\000±]\222\000ê`\222\000\005\000\000\000ÀÛ\024\b\"ó\024\b\200u°·ñÒ\227\000
Ø.\001\000\000\000\000CV\000\000è\003\000"
        orig =
"h×.\001àÖ.\001À×.\001à\033\224\000°A\202\000CV\000\000µm\222\000ðÖ.\001
×.\001\v\000\000\000µm\222\000\b^\222\000ê`\222\000\v\000\000\000\000\000\000\000\021\000\000\000\004\000\000\000\224Á\024\b\021\b\000\000ÀÛ\024\b\"ó\024\b\200u°·\026\000\000\000\000\000\000\000ä×.\001"
        masqn =
"libc.mo\000ýN\202\000S$\221\000à\033\224\000°A\202\000Ð×.\001)M\202\000´m\222\000C\000\222\000\021\000\000\000\020×.\001\225\003\230\000±]\222\000\005\000\000\000
×.\0011Â\021\b¬ä\227\000dÎ\021\bmentInvalid argument\000Ì\024\b"
        zombn =
"\230×.\001¶Ï\b\b\bu°·\224Á\024\bÛ\v\000\000»â\024\bô\017\224\000µm\222\000ô\017\224\000>R\202\000\200\033\224\000µm\222\000ô\017\224\000>R\202\000\200\033\224\000\000×.\001ÜÄ\202\000\234ÏпC\000\202\000´m\222\000±]\222\000\004\000\000\000LC_MESSAGES/"
        __PRETTY_FUNCTION__ = "ast_do_masquerade"
https://issues.asterisk.org/view.php?id=3  0x08088f1a in ast_waitfor_nandfds
(c=0x12edaa0, n=1, fds=0x0, nfds=0,
exception=0x0, outfd=0x0, ms=0x12edaa4) at channel.c:1730
        start = {tv_sec = 0, tv_usec = 0}
        pfds = (struct pollfd *) 0x12ed970
	 res = 32
        rms = 9
        x = 0
        y = 5231188
        max = 3
        sz = 8
        now = 0
        whentohangup = 0
        diff = 1
---Type <return> to continue, or q <return> to quit---
        winner = (struct ast_channel *) 0x0
        fdmap = (struct fdmap *) 0x12ed920
        __PRETTY_FUNCTION__ = "ast_waitfor_nandfds"
https://issues.asterisk.org/view.php?id=4  0x08089671 in ast_waitfor
(c=0xb7b07508, ms=348) at channel.c:1856
        oldms = 348
https://issues.asterisk.org/view.php?id=5  0x08087333 in
ast_safe_sleep_conditional (chan=0xb7b07508, ms=348,
cond=0x4f4786 <agent_cont_sleep>, data=0x9eaa080) at channel.c:1208
        f = (struct ast_frame *) 0x819a300
https://issues.asterisk.org/view.php?id=6  0x004faab0 in __login_exec
(chan=0xb7b07508, data=0x815ec33,
callbackmode=0) at chan_agent.c:2290
        last_loginchan = '\0' <repeats 79 times>
        logintime = -1213171816
        unlock_channel = 0
        res = 0
        tries = 1
        max_login_tries = 3
        p = (struct agent_pvt *) 0x9eaa080
        u = (struct ast_module_user *) 0xa368dc8
        login_state = 1
        user = "8087", '\0' <repeats 75 times>
        pass =
"4321\000y\025\bô\017\224\000@!\224\000Hw°·\000\000\000\000ÜÁ\206\000\032\000\000\000ñÒ\227\000\f\001\000\000\225\003\230\000CV\000\000\230w°·èÞ.\0011Â\021\b¬ä\227\000dÎ\021\bøÞ.\001\001\000\000\000CV\000"
        agent = "Agent/8087", '\0' <repeats 69 times>
        xpass = "4321", '\0' <repeats 75 times>
        errmsg = 0x4ff1b8 "agent-incorrect"
        parse = 0x12edaf0 ""
        args = {argc = 0, argv = 0x12eddd4, agent_id = 0x0, options = 0x0,
extension = 0x0}
        tmpoptions = 0x0
        context = 0x0
        play_announcement = 1
	 agent_goodbye =
"vm-goodbye\000\001´Þ.\001ÏÞ.\001\003ß.\001´Þ.\001\003ß.\001", '\0'
<repeats 51 times>, "1", '\0' <repeats 16 times>, "ÿÿÿÿ", '\0' <repeats
40 times>, "@\t\224", '\0' <repeats 21 times>,
"ñ\230\206\000\000\000\000\000ôc\2061\000\000\000\000\000\000\000\000ô\017\224\000\000\000\000\000\000\000\000\000\235v\206\000$ß.\001Nov
23
08:26:30\000ôc\206\000Ô<\206\000\001\000\000\000ô\017\224\000\000\000\000\000\000\000\000\000\235v\206\000\fÞ.\001"
        update_cdr = 0
        filename = 0x4ff049 "agent-loginok"
        tmpchan = '\0' <repeats 255 times>
        __PRETTY_FUNCTION__ = "__login_exec"
https://issues.asterisk.org/view.php?id=7  0x004fb7f0 in login_exec
(chan=0xb7b07508, data=0x815ec33) at
chan_agent.c:2405
No locals.
https://issues.asterisk.org/view.php?id=8  0x080d2e4a in pbx_exec (c=0xb7b07508,
app=0x9ea5628, data=0x12f0108)
at pbx.c:536
        res = 0
        saved_c_appl = 0x0
        saved_c_data = 0x0
https://issues.asterisk.org/view.php?id=9  0x080d6b7f in pbx_extension_helper
(c=0xb7b07508, con=0x0,
context=0xb7b07748 "8,s,begin)", exten=0xb7b07798 "${CONTEXT})",
priority=1, label=0x0,
    callerid=0xb7b05e78 "\230^°·\236^°·\n\020", action=E_SPAWN) at
pbx.c:1863
---Type <return> to continue, or q <return> to quit---
        e = (struct ast_exten *) 0xad90eb0
        app = (struct ast_app *) 0x9ea5628
        res = 19872656
        q = {incstack = {0xada4bb4 "from-internal", 0xada4514
"from-internal-xfer", 0x9ea22a4 "parkedcalls", 0x0 <repeats 1021 times>},
stacklen = 3, status = 5,
  swo = 0x0, data = 0x0, foundcontext = 0xada4669 "from-internal-custom"}
        passdata = '\0' <repeats 8191 times>
        matching_action = 0
        __PRETTY_FUNCTION__ = "pbx_extension_helper"
https://issues.asterisk.org/view.php?id=10 0x080d7d7f in ast_spawn_extension
(c=0xb7b07508, context=0xb7b07748
"8,s,begin)", exten=0xb7b07798 "${CONTEXT})", priority=1,
    callerid=0xb7b05e78 "\230^°·\236^°·\n\020") at pbx.c:2283
No locals.
https://issues.asterisk.org/view.php?id=11 0x080d81b1 in __ast_pbx_run
(c=0xb7b07508) at pbx.c:2373
        dst_exten =
"àBº\nX\000\000\000ÿÿÿÿ\000\000\000\000è1/\001\206§\006\b\t\000\000\000°y\025\b+\000\000\000ô\017\224\000@!\224\000Mt\024\bèBº\nÜÁ\206\000èBº\n\000\000\000\000,\b\000\000@!\224\000¸\215Ú\n(\b\000\000Hr\001\000ô\237\230\000õs\024\bMt\024\bX2/\001\003À\021\b\001\000\000\000(\b\000\000\000\000\000\000\001\000\000\000BV\000\000p!\224\000\000\000\000\000\032\004\230\000H!\224\000ñÒ\227\000x2/\001\225\003\230\000CV\000\000õs\024\b\2102/\0011Â\021\bq¢\206\000dÎ\021\b\2302/\001\001\000\000\000CV\000\000\220;/\001õs\024\bMt\024\b"...
        pos = 0
        digit = 0
        found = 1
        res = 0
        autoloopflag = 0
        error = 0
        emc = 0x81473f4 "asterisk.c"
	 __PRETTY_FUNCTION__ = "__ast_pbx_run"
https://issues.asterisk.org/view.php?id=12 0x080d9192 in pbx_thread
(data=0xb7b07508) at pbx.c:2599
        c = (struct ast_channel *) 0xb7b07508
https://issues.asterisk.org/view.php?id=13 0x0811da18 in dummy_start
(data=0xb7c9be00) at utils.c:856
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {10002420,
0, 19872656, 19870664, -935146427, -1048828413}, __mask_was_saved = 0}},
__pad = {
    0x12f3480, 0x0, 0xaba42e8, 0xabe0ac0}}
        __cancel_routine = (void (*)(void *)) 0x8068c03
<ast_unregister_thread>
        __cancel_arg = (void *) 0x12f3b90
        not_first_call = 0
        ret = (void *) 0x97abbc
        a = {start_routine = 0x80d917b <pbx_thread>, data = 0xb7b07508,
  name = 0xb7c9be10 "pbx_thread", ' ' <repeats 11 times>, "started at [
2623] pbx.c ast_pbx_start()"}
        lock_info = (struct thr_lock_info *) 0xaba42e8
        mutex_attr = {__size = "\001\000\000", __align = 1}
https://issues.asterisk.org/view.php?id=14 0x0097b49b in start_thread () from
/lib/libpthread.so.0
No symbol table info available.
https://issues.asterisk.org/view.php?id=15 0x008d242e in clone () from
/lib/libc.so.6
No symbol table info available.



all my cores always show info about 

https://issues.asterisk.org/view.php?id=15 0x008d242e in clone () from
/lib/libc.so.6
No symbol table info available.

help this is getting worst every day.
thanks
====================================================================== 

---------------------------------------------------------------------- 
 (0114187) lmadsen (administrator) - 2009-11-23 18:40
 https://issues.asterisk.org/view.php?id=16312#c114187 
---------------------------------------------------------------------- 
Please test Asterisk version 1.4.27 which is the latest released version of
Asterisk with bug fixes. This could potentially already be fixed.

Additionally, in the future please attach your backtraces as a file
attachment to the issue instead of inline in order to make the issue easier
to manage.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-23 18:40 lmadsen        Note Added: 0114187                          
2009-11-23 18:40 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list