List Info

Thread: Asterisk + mISDN + VoiceMailMain = crash




Asterisk + mISDN + VoiceMailMain = crash
country flaguser name
Italy
2007-02-21 12:34:37
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.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

  
  
  
Re: Asterisk + mISDN + VoiceMailMain = crash
country flaguser name
Germany
2007-02-21 12:56:16
Hi Andrea,

it's strange that the issue doesn't happen when not
optimized.

which asterisk version are you using?

Christian


Andrea Spadaccini wrote:
> 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,
>
>   
>
------------------------------------------------------------
------------
>
> #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
"`20221Ï`ØCàÑ2222422532Ë23524~áPõav235m2
3231Â37ìægÔpçç34ü23734g236emûÔüyo235Õ30221ë37
Ïî}Ty÷22523177232i21235ßiôUû^26227ì32û23521r
éÓ{E220h27233]36225æoÜYùó23ç22236r231mlâÔ
Æ}g223I36222í31þëf\O÷ì20233", 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Ù¾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
>   
>
------------------------------------------------------------
------------
>
> #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 = '' <repeats 944 times>,
"ÌÍ04b`ÇM¶33Àþ·p3305bÜܸ·", ''
<repeats 20 times>,
"X805b¬î04b,¤04bФÿ·26000000È$25bçÑ
ü·Ø237ÿ·$ò24b´235¾·"
>         port_buf =
"00000000000000"
> #4  0xb75fb9cb in misdn_jb_fill (jb=0x8203828,
>     data=0x8208530
"`20221Ï`ØCàÑ2222422532Ë23524~áPõav235m2
3231Â37ìægÔpçç34ü23734g236emûÔüyo235Õ30221ë37
Ïî}Ty÷22523177232i21235ßiôUû^26227ì32û23521r
éÓ{E220h27233]36225æoÜYùó23ç22236r231mlâÔ
Æ}g223I36222í31þëf\O÷ì20233", 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Ù¾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Ù¾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 = "0000"
>         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 "21605", 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 =
"216050000001701206", ''
<repeats 247 times>
>         bytes = 9
>         res = 0
>         resp = "00"
> #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 = '' <repeats 79 times>
>         passptr = 0xb7615128 "P[%2d] "
>         vmus = {context = "lbox = '203'",
'' <repeats 24 times>, "2030ý·ÀÆñ·",
'' <repeats 35 times>, mailbox = '' <repeats 79
times>,
>   password = '' <repeats 79 times>, fullname =
'' <repeats 79 times>, email = '' <repeats 79
times>,
>   pager = '' <repeats 32 times>,
"çÑü·", '' <repeats 16 times>,
"wÈæ·0000000000000000¨¥O¶ÐÕü·30㥷Õë
005b",
>   serveremail =
"D²21b236÷22b03000000b000000b0
00000h¥ b00000000210g
b00§O¶00¦O¶$¨O¶nÚ05b00§O¶00¦O¶0¨O¶00¦O¶000
1", '' <repeats 13 times>, mailcmd =
"vm_users", '' <repeats 151 times>,
language = '' <repeats 19 times>,
>   zonetag = '' <repeats 76 times>,
"aste",
>   callback = "risk_db", '' <repeats 25
times>,
"wÈæ·000000n­§O¶¦§O¶­§O¶à217P¶212xfb­§O¶ìH2
1bñS¶m215R¶­§O¶",
>   dialout = " ­S¶", '' <repeats 36
times>, "ñS¶¦§O¶È§O¶Ø§O¶¾KR¶à217P¶¦§O¶­§O¶attach00n",
uniqueid = "o00delete00no00ð`
b000000",
>   exit =
"tlæ·0000000000000000wÈæ·000000sÀ
00ñ·(a b.a bba b Øñ·00Àñ· Øñ·ba bb¨O¶{Zæ· Øñ·ba
b00000000.a b000000", 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 = '' <repeats 79 times>
>         ext_context = '' <repeats 255 times>
>         box = -1236234272
>         useadsi = 0
>         skipuser = 1
>         vms = {curbox = '' <repeats 79 times>,
username = "203", '' <repeats 76 times>,
curdir = '' <repeats 4095 times>,
>   vmbox = '' <repeats 4095 times>, fn = ''
<repeats 4095 times>, fn2 = '' <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", ''
<repeats 72 times>, mailbox = "203", ''
<repeats 76 times>, password = "203", ''
<repeats 76 times>,
>   fullname = "Andrea Spadaccini", ''
<repeats 62 times>, email = '' <repeats 79
times>, pager = '' <repeats 79 times>,
>   serveremail = '' <repeats 79 times>, mailcmd
= '' <repeats 159 times>, language = ''
<repeats 19 times>, zonetag = '' <repeats 79
times>,
>   callback = '' <repeats 79 times>, dialout =
'' <repeats 79 times>, uniqueid = '' <repeats
19 times>, exit = '' <repeats 79 times>, flags =
16432,
>   saydurationm = 2, maxmsg = 100, next = 0x0}
>         context = 0x0
>         silentexit = 0
>         flags = {flags = 0}
>         record_gain = 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Ãf224v", 0x0, 0x0, 0xb7f1c000
"\}21",
>   0xb6513970
"01200­ûP>Q¶P>Q¶P>Q¶P>Q¶T>Q¶237>Q
¶P>Q¶237>Q¶", 0xb651394c "\:Q¶",
>   0xb7e64140
"211~20213E24211~f211~04205Àt$213U24213
}ð211V24211~30211Vb1É211216230",
>   0xb6513970
"01200­û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 "\}21", 0xb657c5e5
"ARG%d", 0xb6513a8c "03", 0xb6513a5c
"<Ì24b03", 0xb7e5e700
"213215fÿÿÿ211Â92150ÿÿÿtt213µ(ÿÿÿÆ06",
>   0xb6513970
"01200­ûP>Q¶P>Q¶P>Q¶P>Q¶T>Q¶237>Q
¶P>Q¶237>Q¶", 0xb657c5e5 "ARG%d",
0xb6513a90 "8Î24blÅW¶ ;Q¶01", 0xb6513e50
"ARG1", 0x0,
>   0xb6513a10 "v", 0xb6513970
"01200­û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ÃfZv", 0x0, 0x0, 0x0,
0x0, 0x0, 0xb7000000 "", 0x0, 0xb7f1d820
"", 0x288 <Address 0x288 out of bounds>,
>   0x2a8 <Address 0x2a8 out of bounds>, 0x8208498
" 34", 0xffffffff <Address 0xffffffff out of
bounds>, 0x20 <Address 0x20 out of bounds>,
0xb7f1d820 "",
>   0xb7f1c000 "\}21", 0xb7f1d820
"", 0x820ec60 "", 0xb6513a18
"lÅW¶211åvb ;Q¶01", 0xb7e660f0
"211Eàe203=f", 0xb7f1d820 "",
>   0x16 <Address 0x16 out of bounds>, 0xb6513a28
" 204 bH:Q¶{Zæ· Øñ· 204 b¤ãW¶", 0x82084a0
" l23b´204 bMACRO_DEPTH",
>   0xc3a0 <Address 0xc3a0 out of bounds>, 0x20
<Address 0x20 out of bounds>, 0x16 <Address 0x16
out of bounds>, 0x820ec60 "",
>   0x82084a0 " l23b´204 bMACRO_DEPTH",
0xb <Address 0xb out of bounds>, 0xb657c56c
"MACRO_DEPTH", 0xb657c56c
"MACRO_DEPTH",
>   0x80be589 "17¶23204Òt/205Àt33215t&", 0xb6513ba0
"1", 0x1 <Address 0x1 out of bounds>,
0x82084a0 " l23b´204 bMACRO_DEPTH",
>   0xb6513a48 "b?Q¶4ÖbbøÉ24b"}
>         passdata = "203", '' <repeats
8188 times>
>         stacklen = 0
>         tmp =
"33[1;36;40mVoiceMailMain33[0;37;40m00Q¶^31Q¶
02000000?Õê·00Àñ·0431Q¶¬ìç·03000000222¾
ð·h30Q¶02260000000000"
>         tmp2 =
"33[1;35;40mmISDN/1-233[0;37;40m00000000Àñ·
01000000n000000Ü27Q¶hþâ·0030Q¶Ä34Q¶çÐ
ð·00000000àÃñ·00000000|35Q¶"
>         tmp3 =
"33[1;35;40m20333[0;37;40m", '' <repeats
6985 times>,
"!]å·0000000001Óã·200cð·00000000¢3
220b00000000f31Q¶;ûã·031Q¶¢3220b01&qu
ot;, '' <repeats 23 times>,
"ø30Q¶00000000áßã·", '' <repeats 36
times>,
""33Q¶"00000021423Q¶!]å·W36Q¶
00033Q¶"000000!]å·O$17b01Óã·200cð·00
000000)$17b00000000!]å·;ûã·01Óã·200cð·00
0000006]17b00000000¸31Q¶;û"...
>         atmp = '' <repeats 79 times>
>         atmp2 = '' <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-voicemail00%000000(0000000000
00000¨.Q¶36;4000Q¶i22725b©36Q¶0100000000
000020000000000à200Q¶ÿ37000022023325
bøÉ24b¸`bb"
>         varname = "ARG1", '' <repeats 75
times>
>         oldargs = {0x0 <repeats 81 times>}
>         argc = 2
>         x = 512
>         res = 0
>         oldexten = "603", '' <repeats
252 times>
>         oldpriority = 1
>         pc = "1", '' <repeats 78
times>
>         depthc =
"100000000000000000000"
>         oldcontext = "ivr_fax-1", ''
<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
"01200­ûä¡Q¶ä¡Q¶ä¡Q¶ä¡Q¶(¢Q¶ÿÿÿÿä¡Q¶ÿÿÿÿ",
0xb651a1b0 "È¡Q¶-cä·ä¡Q¶'n20bØ¡Q¶01",
>   0xb7e5926b
"211Æ213205hÿÿÿ;205lÿÿÿs30Æ", 0xb651a104
"01200­ûä¡Q¶ä¡Q¶ä¡Q¶ä¡Q¶(¢Q¶ÿÿÿÿä¡Q¶ÿÿÿÿ",
0x8106e27 "r%s", 0xb651a1dc "211|ì·",
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
0x0, 0xfbad8001 <Address 0xfbad8001 out of bounds>,
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
0xb651a228 "H¢Q¶f´æ·hd bÀ3522bC",
>   0xffffffff <Address 0xffffffff out of bounds>,
0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
>   0xffffffff <Address 0xffffffff out of bounds>,
0x0, 0x0, 0x0, 0x0, 0x0, 0xb651a154
"t¡Q¶Éfæ·ÀÆñ·ÿÿÿÿ36", 0x0, 0xb7f1c6c0
"204*­û", 0xb7000000 "",
>   0x0, 0xb7f1c6c0 "204*­û", 0xb651a174
"°¡Q¶231îþ·|¦ÿ·°6à·01", 0xb7e60cc9
"211Âédÿÿÿ©0202", 0xb7f1c6c0
"204*­û",
>   0xffffffff <Address 0xffffffff out of bounds>,
0x1e <Address 0x1e out of bounds>, 0xb7ff9fd8
"$_01", 0x1 <Address 0x1 out of bounds>,
0xb7ffa4d0 "",
>   0xb651a1b0 "È¡Q¶-cä·ä¡Q¶'n20bØ¡Q¶01",
>   0xb7feee99
"213Uð203ì24211Á1À205Òtv205Ét36213B042139
01ø213³24ýÿÿ205öu05213Mä21101215eô[^_]Ã213B0
4ëä213V04211È01ÐëÛ215»ÄÀÿÿ¾L", 0xb7ffa67c
"(¦ÿ·", 0xb7e036b0
"23805b20iir", 0x1 <Address 0x1 out of
bounds>, 0x1 <Address 0x1 out of bounds>, 0x0,
0x804ba9c "3501",
>   0x811a574 "àìü·®M05b¾M05baý·ÞM05bîM05bþM05b20Æë·36N05b.N05
b`Xæ·PÑü·^N05b
.è·~N05b216N05b°203ë·®N05b¾N05bÎN05bÞN05
bîN05bþN05b16O05b36O05b.O05b>O05bNO
05b^O05bÐãå·~O05b
Òê·ðÈë·°201ì·¾O05b°Øã·ÞO05bðØç·àÕü·Yê·ÐÑü·.P05b",
>   0xb7f1bc20 "", 0x0, 0xb7fc7b38
"°n", 0xb7f1c000 "\}21", 0x1
<Address 0x1 out of bounds>,
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
0xb651a1c8
"H¢Q¶¼±vbä¡Q¶'n20bÀ3522b211|ì·",
>   0xb7e4632d "213]ü211ì]Ã", '220'
<repeats 12 times>,
"U211å203ì20211]ü213Uf215M20è¹*ýÿ201ì\r&q
uot;,
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
0x8106e27 "r%s", 0xb651a1d8
"À3522b211|ì·",
>   0x1 <Address 0x1 out of bounds>, 0xb651a248
"ø¢Q¶ì|05bª21b204#17b21303",
0x80bb1bc "205ÛtÅ1ö211ðÁà04213220",
>   0xb651a1e4 "r33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
0x8106e27 "r%s",
>   0x8121dc0 "    -- Executing
33[1;36;40mVoiceMailMain33[0;37;40m("33[1;35;40m
mISDN/1-233[0;37;40m",
"33[1;35;40m20333[0;37;40m") in new
stackn", 0xb7ec7c89 "201ÃwC05",
0xb7f1c000 "\}21", 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¶ì|05bª21b204#17b21303",
>   0xb7e6b466
"211Â213]ô211Ð213uø213}ü211ì]Ã22022022022022
0220220220220U211å203ì30211}ü213Uf213}b211]ô2
11uøèsÙúÿ201Ãfvv",
>   0x8206468 "33[1;37;40mAsterisk
Ready.n33[0;37;40m  == CDR updated on mISDN/1-2n",
>   0x8121dc0 "    -- Executing
33[1;36;40mVoiceMailMain33[0;37;40m("33[1;35;40m
mISDN/1-233[0;37;40m",
"33[1;35;40m20333[0;37;40m") in new
stackn", 0x43 <Address 0x43 out of bounds>, 0x1
<Address 0x1 out of bounds>, 0xb651a248
"ø¢Q¶ì|05bª21b204#17b21303",
>   0xb7fcd5d0 "]Ã21501è27.", 0xb651a2f8
"HË24b177übbøÉ24b",
>   0x8057cec
"215eô[^_]Ã1É1Û211rÀ-22b21135Ä-22bëÚ2113
5¤3522bé$ÿÿÿÿr°3522b¹211$17bº}$17b211L$
20¹20203", 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ö17204°01", 0xb651a291
"957221151", 0x0, 0x4f <Address 0x4f out of
bounds>,
>   0xb7f10160 "double free or corruption
(!prev)", 0x2c8 <Address 0x2c8 out of bounds>,
0x8206588 " in new stackn",
>   0x8206518 "    -- Executing
33[1;36;40mMacro33[0;37;40m("33[1;35;40mmISDN/1-
233[0;37;40m",
"33[1;35;40mvoicemail|20333[0;37;40m") in
new stackn", 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", ''
<repeats 8178 times>
>         stacklen = 1
>         tmp =
"33[1;36;40mMacro33[0;37;40m", ''
<repeats 54 times>
>         tmp2 =
"33[1;35;40mmISDN/1-233[0;37;40m", ''
<repeats 50 times>
>         tmp3 =
"33[1;35;40mvoicemail|20333[0;37;40m", ''
<repeats 5967 times>,
"!]å·0000000001Óã·200cð·023622bB00
00000èwQ¶!]å·0202Q¶À3522bB000000000000
0034U20b00000000è}Q¶;ûã·f~Q¶34U20b000
00000áßã·", '' <repeats 16 times>,
"Ô}Q¶00000000áßã·", '' <repeats 68
times>,
"!]å·0000000001Óã·200cð·g0120b'0000
00230xQ¶!]å·à202Q¶0120b'00000000"...
>         atmp = '' <repeats 79 times>
>         atmp2 = '' <repeats 8291 times>
> #17 0x0808fc7f in __ast_pbx_run (c=0x814c9f8) at
pbx.c:2230
>         digit = 0
>         exten = '' <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.
>   
>
------------------------------------------------------------
------------
>
> 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_waitGLIBC_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_waitGLIBC_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
"`20221Ï`ØCàÑ2222422532Ë23524~áPõav235m2
3231Â37ìægÔpçç34ü23734g236emûÔüyo235Õ30221ë37
Ïî}Ty÷22523177232i21235ßiôUû^26227ì32û23521r
éÓ{E220h27233]36225æoÜYùó23ç22236r231mlâÔ
Æ}g223I36222í31þëf\O÷ì20233", 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Ù¾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
>   
>
------------------------------------------------------------
------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>   

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: Asterisk + mISDN + VoiceMailMain = crash
country flaguser name
Italy
2007-02-22 02:46:00
Ciao Christian,

> it's strange that the issue doesn't happen when not
optimized.

I know..

> which asterisk version are you using?

1.2.15
Thanks,

-- 
Andrea Spadaccini
Multimedia Technologies Institute s.r.l.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Re: Asterisk + mISDN + VoiceMailMain = crash
country flaguser name
Italy
2007-02-22 07:58:11
Ciao Christian,

> are you using inbuilt chan_misdn or 0.3.1-rc29? look at
"misdn show 
> config 0" if it shows a version you don't have the
inbuilt one.

I don't have access right now to the box, but one of my
colleagues says me that
the output is:

Misdn General-Config:
 -> Version: chan_misdn-0.3.0
 -> misdn_init: /etc/misdn-init.conf -> debug: 0
 -> tracefile: /tmp/misdn.trace      -> bridging: no
 -> stop_tone_after_first_digit: yes ->
append_digits2exten: yes
 -> dynamic_crypt: no                -> crypt_prefix:
 -> crypt_keys:                      -> ntdebugflags:
0
 -> ntdebugfile: /var/log/misdn-nt.log

If you want, I can help you doing tests and debugging!

Thanks again,

-- 
Andrea Spadaccini
Multimedia Technologies Institute s.r.l.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )