[asterisk-dev] Asterisk + mISDN + VoiceMailMain = crash

Andrea Spadaccini a.spadaccini at mediatechnologies.it
Wed Feb 21 11:34:37 MST 2007


Hello everybody,
I'm having some trouble with checking VoiceMail from external BRI lines.

When the VoiceMailMain app is called from an mISDN channel, Asterisk segfaults.
I've attached bt, bt full, thread apply all bt as seen on README.backtrace. I'm
unsure on filing a bug on this.

Another strange thing: if I compile asterisk using make dont-optimize, I don't
get the crash. O_O

Thanks in advance,

-- 
Andrea Spadaccini
Multimedia Technologies Institute - MTI S.r.l.
-------------- next part --------------
#0  0xb7e3d8c7 in vfprintf () from /lib/tls/libc.so.6
#1  0xb7e5926b in vsprintf () from /lib/tls/libc.so.6
#2  0xb7e4632d in sprintf () from /lib/tls/libc.so.6
#3  0xb75fbc4b in chan_misdn_log (level=-1236417964, port=-1236161616, tmpl=0x0) at chan_misdn.c:4829
#4  0xb75fb9cb in misdn_jb_fill (jb=0x8203828,
    data=0x8208530 "`\020\221Ï`ØCàÑ\022\224\225\032Ë\235\024~áPõav\235m\023\231Â\037ìægÔpçç\034ü\237\034g\236emûÔüyo\235Õ\030\221ë\037Ïî}Ty÷\225\023\177\232i\021\235ßiôUû^\026\227ì\032û\235\021ré@Ó{E\220h\027\233]\036\225æoÜYùó\023ç\222\036r\231mlâÔÆ}g\223I\036\222í\031þëf\\O÷ì\020@\233", len=128)
    at chan_misdn.c:4721
#5  0xb7602733 in misdn_write (ast=0x82084c0, frame=0x82084c0) at chan_misdn.c:2310
#6  0x0806328a in ast_write (chan=0x814c9f8, fr=0xb64dc890) at channel.c:2336
#7  0xb7b91c87 in adsi_careful_send (chan=0x814c9f8,
    buf=0xb64dc930 "H9ºÞHêaÈö7½¾/ܶ=PÉsÛIX¶E8²à4ÄÊKýVËË5Ò´5K³MEÎüÒOC¶ÿ1º¿4ÞÂS|OÙ¾8Q¯A:¶íAÚ}Îl;¼Ä/ζ:TÁbóNg¹@<°o3¾ÊCîkÏÕ8Ë·3T²EDÆüäSK¸]3·Å2пJn^ÙÄ9b°<<³k>ÎêÛc?»Ì/Æ·6]½VhZÿ½?@°W4ºÍ>ßéÙá;Ç»2g±>D¿qlZTºR6µÌ0È¿BoóÜÌ;ò³:?±X<Æâÿ"..., len=680, remainder=0x0) at res_adsi.c:177
#8  0xb7b8fc4d in __adsi_transmit_messages (chan=0x814c9f8, msg=0xb64f9e90, msglen=0xb64f9e70, msgtype=0xb64f9e50) at res_adsi.c:219
#9  0xb7b8e64a in adsi_transmit_message_full (chan=0x814c9f8, msg=0x4 <Address 0x4 out of bounds>, msglen=9, msgtype=0, dowait=0) at res_adsi.c:405
#10 0xb7b8f84c in adsi_load_session (chan=0x814c9f8, app=0xb653f3e0 "", ver=1, data=1) at res_adsi.c:984
#11 0xb65379a2 in vm_authenticate (chan=0x814c9f8, mailbox=0xb6509480 "203", mailbox_size=80, res_vmu=0xb6508fe0, context=0x0, prefix=0xb650d5f0 "",
    skipuser=1, maxlogins=3, silent=0) at app_voicemail.c:2945
#12 0xb652d4c5 in vm_execmain (chan=0x814c9f8, data=0xb6508fe0) at strings.h:34
#13 0x0808f052 in pbx_extension_helper (c=0x814c9f8, con=0x0, context=0x814cb48 "macro-voicemail", exten=0x814cc3c "s", priority=3, label=0x0,
    callerid=0xb65180e0 "voicemail|203", action=136304184) at pbx.c:554
#14 0x0808d634 in ast_spawn_extension (c=0x0, context=0x0, exten=0x0, priority=0, callerid=0x0) at pbx.c:2230
#15 0xb657b89a in macro_exec (chan=0x814c9f8, data=0xb65180e0) at app_macro.c:228
#16 0x0808f052 in pbx_extension_helper (c=0x814c9f8, con=0x0, context=0x814cb48 "macro-voicemail", exten=0x814cc3c "s", priority=1, label=0x0,
    callerid=0x0, action=0) at pbx.c:554
#17 0x0808fc7f in __ast_pbx_run (c=0x814c9f8) at pbx.c:2230
#18 0x0809096f in pbx_thread (data=0x0) at pbx.c:2517
#19 0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#20 0xb7ebb99e in clone () from /lib/tls/libc.so.6
-------------- next part --------------
#0  0xb7e3d8c7 in vfprintf () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb7e5926b in vsprintf () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7e4632d in sprintf () from /lib/tls/libc.so.6
No symbol table info available.
#3  0xb75fbc4b in chan_misdn_log (level=-1236417964, port=-1236161616, tmpl=0x0) at chan_misdn.c:4829
        buf = '\0' <repeats 944 times>, "ÌÍ\004\b`ÇM¶\033Àþ·p\033\005\bÜܸ·", '\0' <repeats 20 times>, "X8\005\b¬î\004\b,¤\004\bФÿ·\026\000\000\000È$\025\bçÑü·Ø\237ÿ·$ò\024\b´\235¾·"
        port_buf = "\000\000\000\000\000\000\000"
#4  0xb75fb9cb in misdn_jb_fill (jb=0x8203828,
    data=0x8208530 "`\020\221Ï`ØCàÑ\022\224\225\032Ë\235\024~áPõav\235m\023\231Â\037ìægÔpçç\034ü\237\034g\236emûÔüyo\235Õ\030\221ë\037Ïî}Ty÷\225\023\177\232i\021\235ßiôUû^\026\227ì\032û\235\021ré@Ó{E\220h\027\233]\036\225æoÜYùó\023ç\222\036r\231mlâÔÆ}g\223I\036\222í\031þëf\\O÷ì\020@\233", len=128)
    at chan_misdn.c:4721
        i = 0
        j = 0
        rp = 2752
        wp = 2880
#5  0xb7602733 in misdn_write (ast=0x82084c0, frame=0x82084c0) at chan_misdn.c:2310
        ch = (struct chan_list *) 0x82022f8
#6  0x0806328a in ast_write (chan=0x814c9f8, fr=0xb64dc890) at channel.c:2336
        res = -1218264736
        f = (struct ast_frame *) 0x82084c0
#7  0xb7b91c87 in adsi_careful_send (chan=0x814c9f8,
    buf=0xb64dc930 "H9ºÞHêaÈö7½¾/ܶ=PÉsÛIX¶E8²à4ÄÊKýVËË5Ò´5K³MEÎüÒOC¶ÿ1º¿4ÞÂS|OÙ¾8Q¯A:¶íAÚ}Îl;¼Ä/ζ:TÁbóNg¹@<°o3¾ÊCîkÏÕ8Ë·3T²EDÆüäSK¸]3·Å2пJn^ÙÄ9b°<<³k>ÎêÛc?»Ì/Æ·6]½VhZÿ½?@°W4ºÍ>ßéÙá;Ç»2g±>D¿qlZTºR6µÌ0È¿BoóÜÌ;ò³:?±X<Æâÿ"..., len=680, remainder=0x0) at res_adsi.c:177
        inf = (struct ast_frame *) 0x820a558
        outf = {frametype = 2, subclass = 4, datalen = 128, samples = 128, mallocd = 0, offset = 0, src = 0x0, data = 0xb64dc930, delivery = {tv_sec = 0,
    tv_usec = 0}, prev = 0x0, next = 0x0}
        amt = 128
#8  0xb7b8fc4d in __adsi_transmit_messages (chan=0x814c9f8, msg=0xb64f9e90, msglen=0xb64f9e70, msgtype=0xb64f9e50) at res_adsi.c:219
        buf = "H9ºÞHêaÈö7½¾/ܶ=PÉsÛIX¶E8²à4ÄÊKýVËË5Ò´5K³MEÎüÒOC¶ÿ1º¿4ÞÂS|OÙ¾8Q¯A:¶íAÚ}Îl;¼Ä/ζ:TÁbóNg¹@<°o3¾ÊCîkÏÕ8Ë·3T²EDÆüäSK¸]3·Å2пJn^ÙÄ9b°<<³k>ÎêÛc?»Ì/Æ·6]½VhZÿ½?@°W4ºÍ>ßéÙá;Ç»2g±>D¿qlZTºR6µÌ0È¿BoóÜÌ;ò³:?±X<Æâÿ"...
        pos = 0
        res = 135580152
        x = -1236416208
        start = 0
        retries = 0
        ack = "\000\000"
        waittime = 0
        f = (struct ast_frame *) 0x0
        rem = 0
        def = 0
#9  0xb7b8e64a in adsi_transmit_message_full (chan=0x814c9f8, msg=0x4 <Address 0x4 out of bounds>, msglen=9, msgtype=0, dowait=0) at res_adsi.c:405
        msgs = {0xb64f9f00 "\216\005", 0x0, 0x0, 0x0, 0x0}
        msglens = {9, -1236296016, -1208029543, 135590436, 0}
        msgtypes = {132, 0, 0, 0, 0}
        newdatamode = 256
        res = -1236296080
        x = -1236296080
        writeformat = 8
        readformat = 8
        waitforswitch = 1
#10 0xb7b8f84c in adsi_load_session (chan=0x814c9f8, app=0xb653f3e0 "", ver=1, data=1) at res_adsi.c:984
        dsp = "\216\005\000\000\000\017\001\206", '\0' <repeats 247 times>
        bytes = 9
        res = 0
        resp = "\000"
#11 0xb65379a2 in vm_authenticate (chan=0x814c9f8, mailbox=0xb6509480 "203", mailbox_size=80, res_vmu=0xb6508fe0, context=0x0, prefix=0xb650d5f0 "",
    skipuser=1, maxlogins=3, silent=0) at app_voicemail.c:2945
        useadsi = 0
        valid = 0
        logretries = 0
        password = '\0' <repeats 79 times>
        passptr = 0xb7615128 "P[%2d] "
        vmus = {context = "lbox = '203'", '\0' <repeats 24 times>, "\020\030ý·ÀÆñ·", '\0' <repeats 35 times>, mailbox = '\0' <repeats 79 times>,
  password = '\0' <repeats 79 times>, fullname = '\0' <repeats 79 times>, email = '\0' <repeats 79 times>,
  pager = '\0' <repeats 32 times>, "çÑü·", '\0' <repeats 16 times>, "wÈæ·\000\000\000\000\000\000\000\000¨¥O¶ÐÕü·\030㥷Õë\005\b",
  serveremail = "D²\021\b\236÷\022\b\003\000\000\000\b\000\000\000\b\000\000\000h¥ \b\000\000\000\000\210g \b\000§O¶\000¦O¶$¨O¶nÚ\005\b\000§O¶\000¦O¶0¨O¶\000¦O¶\000\001", '\0' <repeats 13 times>, mailcmd = "vm_users", '\0' <repeats 151 times>, language = '\0' <repeats 19 times>,
  zonetag = '\0' <repeats 76 times>, "aste",
  callback = "risk_db", '\0' <repeats 25 times>, "wÈæ·\000\000\000n­§O¶¦§O¶­§O¶à\217P¶\212x\f\b­§O¶ìH\021\b@ñS¶m\215R¶­§O¶",
  dialout = " ­S¶", '\0' <repeats 36 times>, "@ñS¶¦§O¶È§O¶Ø§O¶¾KR¶à\217P¶¦§O¶­§O¶attach\000n", uniqueid = "o\000delete\000no\000ð` \b\000\000\000",
  exit = "tlæ·\000\000\000\000\000\000\000\000wÈæ·\000\000\000sÀ\000ñ·(a \b.a \b\ba \b Øñ·\000Àñ· Øñ·\ba \b\b¨O¶{Zæ· Øñ·\ba \b\000\000\000\000.a \b\000\000\000", flags = 3058733024, saydurationm = 134602109, maxmsg = 136339720, next = 0x8206108}
        vmu = (struct ast_vm_user *) 0x0
#12 0xb652d4c5 in vm_execmain (chan=0x814c9f8, data=0xb6508fe0) at strings.h:34
        res = 0
        cmd = 80
        valid = 0
        u = (struct localuser *) 0x8206778
        prefixstr = '\0' <repeats 79 times>
        ext_context = '\0' <repeats 255 times>
        box = -1236234272
        useadsi = 0
        skipuser = 1
        vms = {curbox = '\0' <repeats 79 times>, username = "203", '\0' <repeats 76 times>, curdir = '\0' <repeats 4095 times>,
  vmbox = '\0' <repeats 4095 times>, fn = '\0' <repeats 4095 times>, fn2 = '\0' <repeats 4095 times>, deleted = 0x0, heard = 0x0, curmsg = 0, lastmsg = -1,
  newmessages = 0, oldmessages = 0, starting = 0, repeats = 0}
        vmu = (struct ast_vm_user *) 0xb6508fe0
        vmus = {context = "default", '\0' <repeats 72 times>, mailbox = "203", '\0' <repeats 76 times>, password = "203", '\0' <repeats 76 times>,
  fullname = "Andrea Spadaccini", '\0' <repeats 62 times>, email = '\0' <repeats 79 times>, pager = '\0' <repeats 79 times>,
  serveremail = '\0' <repeats 79 times>, mailcmd = '\0' <repeats 159 times>, language = '\0' <repeats 19 times>, zonetag = '\0' <repeats 79 times>,
  callback = '\0' <repeats 79 times>, dialout = '\0' <repeats 79 times>, uniqueid = '\0' <repeats 19 times>, exit = '\0' <repeats 79 times>, flags = 16432,
  saydurationm = 2, maxmsg = 100, next = 0x0}
        context = 0x0
        silentexit = 0
        flags = {flags = 0}
        record_gain = 0 '\0'
#13 0x0808f052 in pbx_extension_helper (c=0x814c9f8, con=0x0, context=0x814cb48 "macro-voicemail", exten=0x814cc3c "s", priority=3, label=0x0,
    callerid=0xb65180e0 "voicemail|203", action=136304184) at pbx.c:554
        e = (struct ast_exten *) 0xb652d300
        sw = (struct ast_switch *) 0x0
        data = 0x0
        foundcontext = 0x814cb48 "macro-voicemail"
        newstack = 1
        res = 136304184
        status = 5
        incstack = {0x0 <repeats 56 times>, 0xb7e62bf4 "\201Ã\f\224\v", 0x0, 0x0, 0xb7f1c000 "\\}\021",
  0xb6513970 "\001\200­ûP>Q¶P>Q¶P>Q¶P>Q¶T>Q¶\237>Q¶P>Q¶\237>Q¶", 0xb651394c "\\:Q¶",
  0xb7e64140 "\211~\020\213E\024\211~\f\211~\004\205Àt$\213U\024\213}ð\211V\024\211~\030\211V\b1É\211\216\230",
  0xb6513970 "\001\200­ûP>Q¶P>Q¶P>Q¶P>Q¶T>Q¶\237>Q¶P>Q¶\237>Q¶", 0xb6513e50 "ARG1", 0x31513e9f <Address 0x31513e9f out of bounds>, 0x0, 0xb6513e9f "",
  0xb7f1c000 "\\}\021", 0xb657c5e5 "ARG%d", 0xb6513a8c "\003", 0xb6513a5c "<Ì\024\b\003", 0xb7e5e700 "\213\215\fÿÿÿ\211Â9\2150ÿÿÿt\t\213µ(ÿÿÿÆ\006",
  0xb6513970 "\001\200­ûP>Q¶P>Q¶P>Q¶P>Q¶T>Q¶\237>Q¶P>Q¶\237>Q¶", 0xb657c5e5 "ARG%d", 0xb6513a90 "8Î\024\blÅW¶ ;Q¶\001", 0xb6513e50 "ARG1", 0x0,
  0xb6513a10 "\v", 0xb6513970 "\001\200­ûP>Q¶P>Q¶P>Q¶P>Q¶T>Q¶\237>Q¶P>Q¶\237>Q¶", 0xfbad8001 <Address 0xfbad8001 out of bounds>, 0xb6513e50 "ARG1",
  0xb6513e50 "ARG1", 0xb6513e50 "ARG1", 0xb6513e50 "ARG1", 0xb6513e54 "", 0xb6513e9f "", 0xb6513e50 "ARG1", 0xb6513e9f "", 0x0, 0x0,
  0xb7e665f4 "\201Ã\fZ\v", 0x0, 0x0, 0x0, 0x0, 0x0, 0xb7000000 "", 0x0, 0xb7f1d820 "", 0x288 <Address 0x288 out of bounds>,
  0x2a8 <Address 0x2a8 out of bounds>, 0x8208498 " \034", 0xffffffff <Address 0xffffffff out of bounds>, 0x20 <Address 0x20 out of bounds>, 0xb7f1d820 "",
  0xb7f1c000 "\\}\021", 0xb7f1d820 "", 0x820ec60 "", 0xb6513a18 "lÅW¶\211å\v\b ;Q¶\001", 0xb7e660f0 "\211Eàe\203=\f", 0xb7f1d820 "",
  0x16 <Address 0x16 out of bounds>, 0xb6513a28 " \204 \bH:Q¶{Zæ· Øñ· \204 \b¤ãW¶", 0x82084a0 " l\023\b´\204 \bMACRO_DEPTH",
  0xc3a0 <Address 0xc3a0 out of bounds>, 0x20 <Address 0x20 out of bounds>, 0x16 <Address 0x16 out of bounds>, 0x820ec60 "",
  0x82084a0 " l\023\b´\204 \bMACRO_DEPTH", 0xb <Address 0xb out of bounds>, 0xb657c56c "MACRO_DEPTH", 0xb657c56c "MACRO_DEPTH",
  0x80be589 "\017¶\023@\204Òt/\205Àt\033\215t&", 0xb6513ba0 "1", 0x1 <Address 0x1 out of bounds>, 0x82084a0 " l\023\b´\204 \bMACRO_DEPTH",
  0xb6513a48 "\b?Q¶4Ö\b\bøÉ\024\b"}
        passdata = "203", '\0' <repeats 8188 times>
        stacklen = 0
        tmp = "\033[1;36;40mVoiceMailMain\033[0;37;40m\000Q¶^\031Q¶\002\000\000\000?Õê·\000Àñ·\004\031Q¶¬ìç·\003\000\000\000\222¾ð·h\030Q¶\002\026\000\000\000\000\000"
        tmp2 = "\033[1;35;40mmISDN/1-2\033[0;37;40m\000\000\000\000Àñ·\001\000\000\000\n\000\000\000Ü\027Q¶hþâ·\000\030Q¶Ä\034Q¶çÐð·\000\000\000\000àÃñ·\000\000\000\000|\035Q¶"
        tmp3 = "\033[1;35;40m203\033[0;37;40m", '\0' <repeats 6985 times>, "!]å·\000\000\000\000\001Óã·\200cð·\000\000\000\000¢\032\020\b\000\000\000\000\f\031Q¶;ûã·0\031Q¶¢\032\020\b\001", '\0' <repeats 23 times>, "ø\030Q¶\000\000\000\000áßã·", '\0' <repeats 36 times>, "\"\033Q¶\"\000\000\000\214\023Q¶!]å·W\036Q¶\000\033Q¶\"\000\000\000!]å·O$\017\b\001Óã·\200cð·\000\000\000\000)$\017\b\000\000\000\000!]å·;ûã·\001Óã·\200cð·\000\000\000\0006]\017\b\000\000\000\000¸\031Q¶;û"...
        atmp = '\0' <repeats 79 times>
        atmp2 = '\0' <repeats 8291 times>
#14 0x0808d634 in ast_spawn_extension (c=0x0, context=0x0, exten=0x0, priority=0, callerid=0x0) at pbx.c:2230
No locals.
#15 0xb657b89a in macro_exec (chan=0x814c9f8, data=0xb65180e0) at app_macro.c:228
        uc = (struct localuser *) 0x0
        ul = (struct localuser *) 0x200
        tmp = 0xb7615128 "P[%2d] "
        rest = 0x0
        fullmacro = "macro-voicemail\000%\000\000\000(\000\000\000\000\000\000\000¨.Q¶36;40\000Q¶i\227\025\b©\036Q¶\001\000\000\000\000\000\000\200\000\000\000\000à\200Q¶ÿ\037\000\000\220\233\025\bøÉ\024\b¸`\b\b"
        varname = "ARG1", '\0' <repeats 75 times>
        oldargs = {0x0 <repeats 81 times>}
        argc = 2
        x = 512
        res = 0
        oldexten = "603", '\0' <repeats 252 times>
        oldpriority = 1
        pc = "1", '\0' <repeats 78 times>
        depthc = "1\000\000\000\000\000\000\000\000\000\000"
        oldcontext = "ivr_fax-1", '\0' <repeats 70 times>
        offsets = 0xb7615128 "P[%2d] "
        s = 0xb7615128 "P[%2d] "
        inhangupc = 0xb7615128 "P[%2d] "
        offset = 0
        depth = 0
        maxdepth = 7
        setmacrocontext = 1
        dead = 0
        inhangup = 0
        save_macro_exten = 0x0
        save_macro_context = 0x0
        save_macro_priority = 0x0
        save_macro_offset = 0x0
        u = (struct localuser *) 0x82065a0
        __retval = 0xb6513aa8 "voicemail"
#16 0x0808f052 in pbx_extension_helper (c=0x814c9f8, con=0x0, context=0x814cb48 "macro-voicemail", exten=0x814cc3c "s", priority=1, label=0x0,
    callerid=0x0, action=0) at pbx.c:554
        e = (struct ast_exten *) 0xb657af60
        sw = (struct ast_switch *) 0x0
        data = 0x0
        foundcontext = 0x81586a6 "voicemail"
        newstack = 1
        res = 0
        status = 5
        incstack = {0x814d350 "ivr_fax-1", 0xb651a104 "\001\200­ûä¡Q¶ä¡Q¶ä¡Q¶ä¡Q¶(¢Q¶ÿÿÿÿä¡Q¶ÿÿÿÿ", 0xb651a1b0 "È¡Q¶-cä·ä¡Q¶'n\020\bØ¡Q¶\001",
  0xb7e5926b "\211Æ\213\205hÿÿÿ;\205lÿÿÿs\030Æ", 0xb651a104 "\001\200­ûä¡Q¶ä¡Q¶ä¡Q¶ä¡Q¶(¢Q¶ÿÿÿÿä¡Q¶ÿÿÿÿ", 0x8106e27 "\r%s", 0xb651a1dc "\211|ì·",
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n", 0x0, 0xfbad8001 <Address 0xfbad8001 out of bounds>,
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n",
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n",
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n",
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n", 0xb651a228 "H¢Q¶f´æ·hd \bÀ\035\022\bC",
  0xffffffff <Address 0xffffffff out of bounds>, 0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n",
  0xffffffff <Address 0xffffffff out of bounds>, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb651a154 "t¡Q¶É\fæ·ÀÆñ·ÿÿÿÿ\036", 0x0, 0xb7f1c6c0 "\204*­û", 0xb7000000 "",
  0x0, 0xb7f1c6c0 "\204*­û", 0xb651a174 "°¡Q¶\231îþ·|¦ÿ·°6à·\001", 0xb7e60cc9 "\211Âédÿÿÿ©\002\002", 0xb7f1c6c0 "\204*­û",
  0xffffffff <Address 0xffffffff out of bounds>, 0x1e <Address 0x1e out of bounds>, 0xb7ff9fd8 "$_\001", 0x1 <Address 0x1 out of bounds>, 0xb7ffa4d0 "",
  0xb651a1b0 "È¡Q¶-cä·ä¡Q¶'n\020\bØ¡Q¶\001",
  0xb7feee99 "\213Uð\203ì\024\211Á1À\205Òt\v\205Ét\036\213B\004\2139\001ø\213³\024ýÿÿ\205öu\005\213Mä\211\001\215eô[^_]Ã\213B\004ëä\213V\004\211È\001ÐëÛ\215»ÄÀÿÿ¾L", 0xb7ffa67c "(¦ÿ·", 0xb7e036b0 "\0238\005\b\020ii\r", 0x1 <Address 0x1 out of bounds>, 0x1 <Address 0x1 out of bounds>, 0x0, 0x804ba9c "\035\001",
  0x811a574 "àìü·®M\005\b¾M\005\b@\aý·ÞM\005\bîM\005\bþM\005\b\020Æë·\036N\005\b.N\005\b`Xæ·PÑü·^N\005\b .è·~N\005\b\216N\005\b°\203ë·®N\005\b¾N\005\bÎN\005\bÞN\005\bîN\005\bþN\005\b\016O\005\b\036O\005\b.O\005\b>O\005\bNO\005\b^O\005\bÐãå·~O\005\b Òê·ðÈë·°\201ì·¾O\005\b°Øã·ÞO\005\bðØç·àÕü·@Yê·ÐÑü·.P\005\b",
  0xb7f1bc20 "", 0x0, 0xb7fc7b38 "°\n", 0xb7f1c000 "\\}\021", 0x1 <Address 0x1 out of bounds>,
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n", 0xb651a1c8 "H¢Q¶¼±\v\bä¡Q¶'n\020\bÀ\035\022\b\211|ì·",
  0xb7e4632d "\213]ü\211ì]Ã", '\220' <repeats 12 times>, "U\211å\203ì\020\211]ü\213U\f\215M\020è¹*ýÿ\201ì\\\r",
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n", 0x8106e27 "\r%s", 0xb651a1d8 "À\035\022\b\211|ì·",
  0x1 <Address 0x1 out of bounds>, 0xb651a248 "ø¢Q¶ì|\005\b@ª\021\b\204#\017\b\213\003", 0x80bb1bc "\205ÛtÅ1ö\211ðÁà\004\213\220",
  0xb651a1e4 "\r\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n", 0x8106e27 "\r%s",
  0x8121dc0 "    -- Executing \033[1;36;40mVoiceMailMain\033[0;37;40m(\"\033[1;35;40mmISDN/1-2\033[0;37;40m\", \"\033[1;35;40m203\033[0;37;40m\") in new stack\n", 0xb7ec7c89 "\201ÃwC\005", 0xb7f1c000 "\\}\021", 0x315b1b0d <Address 0x315b1b0d out of bounds>, 0x3b37333b <Address 0x3b37333b out of bounds>,
  0x416d3034 <Address 0x416d3034 out of bounds>, 0x72657473 <Address 0x72657473 out of bounds>, 0x206b7369 <Address 0x206b7369 out of bounds>,
  0x64616552 <Address 0x64616552 out of bounds>, 0x1b0a2e79 <Address 0x1b0a2e79 out of bounds>, 0x333b305b <Address 0x333b305b out of bounds>,
  0x30343b37 <Address 0x30343b37 out of bounds>, 0x3d20206d <Address 0x3d20206d out of bounds>, 0x4443203d <Address 0x4443203d out of bounds>,
  0x70752052 <Address 0x70752052 out of bounds>, 0x65746164 <Address 0x65746164 out of bounds>, 0x6e6f2064 <Address 0x6e6f2064 out of bounds>,
  0x53496d20 <Address 0x53496d20 out of bounds>, 0x312f4e44 <Address 0x312f4e44 out of bounds>, 0xa322d <Address 0xa322d out of bounds>,
  0xb651a248 "ø¢Q¶ì|\005\b@ª\021\b\204#\017\b\213\003",
  0xb7e6b466 "\211Â\213]ô\211Ð\213uø\213}ü\211ì]Ã\220\220\220\220\220\220\220\220\220U\211å\203ì\030\211}ü\213U\f\213}\b\211]ô\211uøèsÙúÿ\201Ãf\v\v",
  0x8206468 "\033[1;37;40mAsterisk Ready.\n\033[0;37;40m  == CDR updated on mISDN/1-2\n",
  0x8121dc0 "    -- Executing \033[1;36;40mVoiceMailMain\033[0;37;40m(\"\033[1;35;40mmISDN/1-2\033[0;37;40m\", \"\033[1;35;40m203\033[0;37;40m\") in new stack\n", 0x43 <Address 0x43 out of bounds>, 0x1 <Address 0x1 out of bounds>, 0xb651a248 "ø¢Q¶ì|\005\b@ª\021\b\204#\017\b\213\003",
  0xb7fcd5d0 "]Ã\215\001è\027.", 0xb651a2f8 "HË\024\b\177ü\b\bøÉ\024\b",
  0x8057cec "\215eô[^_]Ã1É1Û\211\rÀ-\022\b\211\035Ä-\022\bëÚ\211\035¤\035\022\bé$ÿÿÿÿ\r°\035\022\b¹\211$\017\bº}$\017\b\211L$\020¹\202\003", 0x811aa40 "",
  0x80f2384 "logger.c", 0x38b <Address 0x38b out of bounds>, 0x80f247d "ast_verbose", 0x8206050 "\210Úñ·\210Úñ·", 0x1 <Address 0x1 out of bounds>,
  0x814c9f8 "mISDN/1-2", 0x80a0daa "\205ö\017\204°\001", 0xb651a291 "957221151", 0x0, 0x4f <Address 0x4f out of bounds>,
  0xb7f10160 "double free or corruption (!prev)", 0x2c8 <Address 0x2c8 out of bounds>, 0x8206588 " in new stack\n",
  0x8206518 "    -- Executing \033[1;36;40mMacro\033[0;37;40m(\"\033[1;35;40mmISDN/1-2\033[0;37;40m\", \"\033[1;35;40mvoicemail|203\033[0;37;40m\") in new stack\n", 0xb7f1d820 "", 0x37353930 <Address 0x37353930 out of bounds>, 0x31313232 <Address 0x31313232 out of bounds>, 0x3135 <Address 0x3135 out of bounds>,
  0x0 <repeats 17 times>}
        passdata = "voicemail|203", '\0' <repeats 8178 times>
        stacklen = 1
        tmp = "\033[1;36;40mMacro\033[0;37;40m", '\0' <repeats 54 times>
        tmp2 = "\033[1;35;40mmISDN/1-2\033[0;37;40m", '\0' <repeats 50 times>
        tmp3 = "\033[1;35;40mvoicemail|203\033[0;37;40m", '\0' <repeats 5967 times>, "!]å·\000\000\000\000\001Óã·\200cð·\002\036\022\bB\000\000\000èwQ¶!]å·0\202Q¶À\035\022\bB\000\000\000\000\000\000\000\034U\020\b\000\000\000\000è}Q¶;ûã·\f~Q¶\034U\020\b\000\000\000\000áßã·", '\0' <repeats 16 times>, "Ô}Q¶\000\000\000\000áßã·", '\0' <repeats 68 times>, "!]å·\000\000\000\000\001Óã·\200cð·g\001\020\b'\000\000\000\230xQ¶!]å·à\202Q¶@\001\020\b'\000\000\000\000"...
        atmp = '\0' <repeats 79 times>
        atmp2 = '\0' <repeats 8291 times>
#17 0x0808fc7f in __ast_pbx_run (c=0x814c9f8) at pbx.c:2230
        digit = 0
        exten = '\0' <repeats 255 times>
        pos = 0
        waittime = 0
        res = 54
#18 0x0809096f in pbx_thread (data=0x0) at pbx.c:2517
No locals.
#19 0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#20 0xb7ebb99e in clone () from /lib/tls/libc.so.6
No symbol table info available.
-------------- next part --------------
Thread 15 (process 28376):
#0  0xb7fd0581 in __read_nocancel () from /lib/tls/libpthread.so.0
#1  0x080dd76d in read_char ()
#2  0x080d48c4 in el_getc ()
#3  0x080dd7ba in read_getcmd ()
#4  0x080d4a4c in el_gets ()
#5  0x080b6947 in main (argc=135497312, argv=0xbf892934) at asterisk.c:2422

Thread 14 (process 28378):
#0  0xb7eb2ce3 in poll () from /lib/tls/libc.so.6
#1  0x080bb266 in listener (unused=0x0) at asterisk.c:596
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 13 (process 28379):
#0  0xb7fd077e in accept () from /lib/tls/libpthread.so.0
#1  0x080b280b in accept_thread (ignore=0x0) at manager.c:1443
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 12 (process 28380):
#0  0xb7fcdf31 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#1  0x080ca8c5 in do_devstate_changes (data=0x0) at lock.h:635
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 11 (process 28381):
#0  0xb7e8c01c in __nanosleep_nocancel () from /lib/tls/libc.so.6
#1  0xb7e8be1c in sleep () from /lib/tls/libc.so.6
#2  0xb7c2d2cc in scan_thread (unused=0x0) at pbx_spool.c:365
#3  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 10 (process 28382):
#0  0xb7eb5137 in ___newselect_nocancel () from /lib/tls/libc.so.6
#1  0xb7b76341 in do_parking_thread (ignore=0x0) at channel.h:1150
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 9 (process 28383):
#0  0xb7fd0581 in __read_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7b235e9 in monmp3thread (data=0x81649e0) at res_musiconhold.c:519
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 8 (process 28385):
#0  0xb7fd0581 in __read_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7b235e9 in monmp3thread (data=0x8174c70) at res_musiconhold.c:519
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 7 (process 28386):
#0  0xb7fd0581 in __read_nocancel () from /lib/tls/libpthread.so.0
#1  0xb7b235e9 in monmp3thread (data=0x8184f00) at res_musiconhold.c:519
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 6 (process 28390):
#0  0xb7eb2ce3 in poll () from /lib/tls/libc.so.6
#1  0x080558a4 in ast_io_wait (ioc=0x81a2480, howlong=-4) at io.c:271
#2  0xb77610b1 in network_thread (ignore=0x0) at chan_iax2.c:8114
#3  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 5 (process 28391):
#0  0xb7eb5137 in ___newselect_nocancel () from /lib/tls/libc.so.6
#1  0xb76f8ce1 in sound_thread (arg=0x81a4e98) at channel.h:1150
#2  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#3  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 4 (process 28392):
#0  0xb7eb2ce3 in poll () from /lib/tls/libc.so.6
#1  0x080558a4 in ast_io_wait (ioc=0x81a5658, howlong=-4) at io.c:271
#2  0xb76886b9 in do_monitor (data=0x0) at chan_sip.c:11649
#3  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 3 (process 28401):
#0  0xb7fcfb8b in sem_wait at GLIBC_2.0 () from /lib/tls/libpthread.so.0
#1  0xb7fd4ff4 in ?? () from /lib/tls/libpthread.so.0
#2  0xb760d3a5 in manager_event_handler (arg=0x81a6528) at isdn_lib.c:3646
#3  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#4  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 2 (process 28402):
#0  0xb7eb5137 in ___newselect_nocancel () from /lib/tls/libc.so.6
#1  0xb75c2998 in mISDN_read (fid=27, buf=0x814c1e4, count=2080, utimeout=10000000) at device.c:254
#2  0xb760b8c2 in fetch_msg (midev=27) at isdn_lib.c:2867
#3  0xb760b9ba in misdn_lib_isdn_event_catcher (arg=0x81a6528) at isdn_lib.c:2903
#4  0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#5  0xb7ebb99e in clone () from /lib/tls/libc.so.6

Thread 1 (process 28406):
#0  0xb7e3d8c7 in vfprintf () from /lib/tls/libc.so.6
#1  0xb7e5926b in vsprintf () from /lib/tls/libc.so.6
#2  0xb7e4632d in sprintf () from /lib/tls/libc.so.6
#3  0xb75fbc4b in chan_misdn_log (level=-1236417964, port=-1236161616, tmpl=0x0) at chan_misdn.c:4829
#4  0xb75fb9cb in misdn_jb_fill (jb=0x8203828,
    data=0x8208530 "`\020\221Ï`ØCàÑ\022\224\225\032Ë\235\024~áPõav\235m\023\231Â\037ìægÔpçç\034ü\237\034g\236emûÔüyo\235Õ\030\221ë\037Ïî}Ty÷\225\023\177\232i\021\235ßiôUû^\026\227ì\032û\235\021ré@Ó{E\220h\027\233]\036\225æoÜYùó\023ç\222\036r\231mlâÔÆ}g\223I\036\222í\031þëf\\O÷ì\020@\233", len=128)
    at chan_misdn.c:4721
#5  0xb7602733 in misdn_write (ast=0x82084c0, frame=0x82084c0) at chan_misdn.c:2310
#6  0x0806328a in ast_write (chan=0x814c9f8, fr=0xb64dc890) at channel.c:2336
#7  0xb7b91c87 in adsi_careful_send (chan=0x814c9f8,
    buf=0xb64dc930 "H9ºÞHêaÈö7½¾/ܶ=PÉsÛIX¶E8²à4ÄÊKýVËË5Ò´5K³MEÎüÒOC¶ÿ1º¿4ÞÂS|OÙ¾8Q¯A:¶íAÚ}Îl;¼Ä/ζ:TÁbóNg¹@<°o3¾ÊCîkÏÕ8Ë·3T²EDÆüäSK¸]3·Å2пJn^ÙÄ9b°<<³k>ÎêÛc?»Ì/Æ·6]½VhZÿ½?@°W4ºÍ>ßéÙá;Ç»2g±>D¿qlZTºR6µÌ0È¿BoóÜÌ;ò³:?±X<Æâÿ"..., len=680, remainder=0x0) at res_adsi.c:177
#8  0xb7b8fc4d in __adsi_transmit_messages (chan=0x814c9f8, msg=0xb64f9e90, msglen=0xb64f9e70, msgtype=0xb64f9e50) at res_adsi.c:219
#9  0xb7b8e64a in adsi_transmit_message_full (chan=0x814c9f8, msg=0x4 <Address 0x4 out of bounds>, msglen=9, msgtype=0, dowait=0) at res_adsi.c:405
#10 0xb7b8f84c in adsi_load_session (chan=0x814c9f8, app=0xb653f3e0 "", ver=1, data=1) at res_adsi.c:984
#11 0xb65379a2 in vm_authenticate (chan=0x814c9f8, mailbox=0xb6509480 "203", mailbox_size=80, res_vmu=0xb6508fe0, context=0x0, prefix=0xb650d5f0 "",
    skipuser=1, maxlogins=3, silent=0) at app_voicemail.c:2945
#12 0xb652d4c5 in vm_execmain (chan=0x814c9f8, data=0xb6508fe0) at strings.h:34
#13 0x0808f052 in pbx_extension_helper (c=0x814c9f8, con=0x0, context=0x814cb48 "macro-voicemail", exten=0x814cc3c "s", priority=3, label=0x0,
    callerid=0xb65180e0 "voicemail|203", action=136304184) at pbx.c:554
#14 0x0808d634 in ast_spawn_extension (c=0x0, context=0x0, exten=0x0, priority=0, callerid=0x0) at pbx.c:2230
#15 0xb657b89a in macro_exec (chan=0x814c9f8, data=0xb65180e0) at app_macro.c:228
#16 0x0808f052 in pbx_extension_helper (c=0x814c9f8, con=0x0, context=0x814cb48 "macro-voicemail", exten=0x814cc3c "s", priority=1, label=0x0,
    callerid=0x0, action=0) at pbx.c:554
#17 0x0808fc7f in __ast_pbx_run (c=0x814c9f8) at pbx.c:2230
#18 0x0809096f in pbx_thread (data=0x0) at pbx.c:2517
#19 0xb7fcb0fb in start_thread () from /lib/tls/libpthread.so.0
#20 0xb7ebb99e in clone () from /lib/tls/libc.so.6


More information about the asterisk-dev mailing list