[Home]

Summary:ASTERISK-01553: Seg 11 Crash of Asterisk
Reporter:mrizzo (mrizzo)Labels:
Date Opened:2004-05-07 02:18:49Date Closed:2011-06-07 14:00:17
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Running 4/15/04 version of Asterisk and experienced a crash running with safe_asterisk script.

Looks like there was just one person on the phone system who was in a call during the crash. (from what I can see in the log file)

I use Zap cards FXO/FXS, IAX2, and SIP phones.

bt full attached.  

****** ADDITIONAL INFORMATION ******

(gdb) bt full
#0  0x401cfb07 in __libc_disable_asynccancel () from /lib/libc.so.6
No symbol table info available.
#1  0x401bed6c in select () from /lib/libc.so.6
No symbol table info available.
#2  0x0805cd14 in ast_channel_bridge (c0=0x466d9b4c, c1=0x466d9bcc, flags=0, fo=0x466d9d44,
   rc=0x466d9d48) at channel.c:946
       cs = {0x817cf68, 0x81770b0, 0x81770b0}
       to = -1
       f = (struct ast_frame *) 0x0
       who = (struct ast_channel *) 0x81770b0
       res = 0
       nativefailed = 0
#3  0x41a29f9a in ast_bridge_call (chan=0x81770b0, peer=0x817cf68, allowredirect_in=0,
   allowredirect_out=0, allowdisconnect=0) at res_parking.c:249
       f = (struct ast_frame *) 0x81644c0
       who = (struct ast_channel *) 0x817cf68
       newext = "P\006!@\200.!@d\236mFü\227\002@\200.!@\0\0\0\0´\236mF\227\032\025@\214\236mF\0\0\0\0\200\022!@'ý\f\b\213ñ\v\b ý\f\b.¡\002@Øû\002@Õ\\\0\0 þ\002@·\237\002@Øû\002@à»mF\200º\f\b.¡\002@Øû\002@0\237mF4\237mFÄ\236mF(z\002@\220º\f\b0\237mFô\236mF\002÷\005\b\200º\f\b@Ð\027\b.¡\002@Øû\002@@Ð\027\b\004\0\0\0ô\236mF(z\002@PÐ\027\b\0\0\0\0d\237mF¸\005\b@Ð\027\b\004\0\0\0\0\0\0\0P\204\025\bà\\\022\b¸\t\021\b"...
       ptr = 0x0
       res = 1181588300
       aoh = (struct ast_option_header *) 0x466d9bcc
       transferer = (struct ast_channel *) 0x466d9bcc
       transferee = (struct ast_channel *) 0x0
---Type <return> to continue, or q <return> to quit---
       transferer_real_context = 0x0
#4  0x4559f169 in dial_exec (chan=0x81770b0, data=0x81770b0) at app_dial.c:732
       res = 0
       u = (struct localuser *) 0x8123db8
       info = "sip\0401\018\0r", '\0' <repeats 243 times>, "@"
       timeout = 0x466da4a4 "18"
       number = 0x81770b0 "Zap/1-1"
       rest = 0x0
       cur = 0x0
       privdb = '\0' <repeats 255 times>
       s = 0x81770b0 "Zap/1-1"
       announcemsg = '\0' <repeats 255 times>
       ann = 0x81770b0 "Zap/1-1"
       outgoing = (struct localuser *) 0x0
       tmp = (struct localuser *) 0x811bb08
       peer = (struct ast_channel *) 0x817cf68
       to = 13875
       allowredir_in = 0
       allowredir_out = 0
       allowdisconnect = 0
       privacy = 0
       announce = 0
       resetcdr = 0
       numsubst = "401", '\0' <repeats 76 times>, "\b"
       restofit = '\0' <repeats 24 times>, "@j\021\b®\200\023@\214&uml;mFmu\v\b\0\0\0\0&frac14;¢mF", '\0' <repeats 31 times>
---Type <return> to continue, or q <return> to quit---
       transfer = 0x466da4a7 "r"
       callerid = "\002\0\0\0\002\0s \0\0\0\0ÿÿÿÿ¿Ë\v\b&acute;¢mF\0\0\0\0\022©\023@ô&brvbar;mF\0\0\0\0T¡mFÝ\205\026@\005\0\0\0\0\0\0\0\020\025\022\b\0\0\0\0\0\0\0\0Ñ¢mFÍ\v\016\bÌ&curren;mFÍ¢mFÿ\0\0\0\224¢mFõ_\006\bÌ&curren;mF&cedil;\v\016\bÿ\0\0\0ÿÿÿÿ", '\0' <repeats 24 times>, "mu\v\b\0\0\0\0\0\0\0\0\0\0s \214\210\027\bÿÿÿÿúÿÿÿ", '\0' <repeats 56 times>, "l¢mF\002\0\0\0\002\0s \0\0\0\0ÿÿÿÿüÿÿÿ", '\0' <repeats 11 times>
       l = 0x401380ae "\213&frac12; ûÿÿ\211Â\211ø\211&frac12;øùÿÿ)ð9Â.\017\205Xòÿÿ\001\2250ûÿÿ\200?"
       n = 0x466da634 ""
       url = 0x0
       current = (struct ast_var_t *) 0x817cf68
       newvar = (struct ast_var_t *) 0x0
       go_on = 0
       calldurationlimit = 0
       now = 1181591932
ASTERISK-1  0x08065096 in pbx_exec (c=0x81770b0, app=0x8117fa8, data=0x466da7dc, newstack=1) at pbx.c:413
       res = 135753904
       saved_c_appl = 0x455a28d4 ""
       saved_c_data = 0x81770b0 "Zap/1-1"
       stack = 0
       execute = (int (*)(struct ast_channel *, void *)) 0x4559e560 <dial_exec>
ASTERISK-2  0x0806c6c1 in pbx_extension_helper (c=0x81770b0, context=0x8177208 "macro-stdexten",
   exten=0x81770b0 "Zap/1-1", priority=1, callerid=0x8164008 "\"FENWICK WEST   \" <6509888500>",
   action=1163536596) at pbx.c:1195
       e = (struct ast_exten *) 0x81770b0
       sw = (struct ast_switch *) 0x0
       data = 0x0
       newstack = 1
---Type <return> to continue, or q <return> to quit---
       res = 0
       status = 4
       incstack = {0x0, 0x80e9016 "", 0xc0e8fef <Address 0xc0e8fef out of bounds>,
 0x80e8ff0 "\2149!@", 0xc0e8fef <Address 0xc0e8fef out of bounds>, 0x0,
 0x466da99c "\0209!@\200.!@Ä©mF1 \026@",
 0x466da8fc "\001\200­ûL®mFL®mFL®mFL®mFP®mF\233®mFL®mF\233®mF",
 0xfbad8001 <Address 0xfbad8001 out of bounds>, 0x466dae4c "ARG2", 0x466dae4c "ARG2",
 0x466dae4c "ARG2", 0x466dae4c "ARG2", 0x466dae50 "", 0x466dae9b "@macro-stdexten",
 0x466dae4c "ARG2", 0x466dae9b "@macro-stdexten", 0x0 <repeats 14 times>,
 0xffffffff <Address 0xffffffff out of bounds>, 0x0, 0x0, 0x466dae42 "40­ú\034@",
 0xa <Address 0xa out of bounds>, 0x28 <Address 0x28 out of bounds>,
 0x80b7390 "%s' (language '%s')\n", 0xf8bfff84 <Address 0xf8bfff84 out of bounds>, 0x40213900 "",
 0x4021395c "", 0x15 <Address 0x15 out of bounds>, 0x4002a424 "\201Ã&acute;W", 0x4002fbd8 "Øê",
 0x40213900 "", 0x80e0bc8 "ARG2", 0x466da9a4 "Ä©mF1 \026@", 0x40027a57 "ëÏ\205À.tîë±e¡\b",
 0x40213910 "", 0x40212e80 "\224=\022", 0x466da9c4 "ô©mFªû\b\bÈ\v\016\bL®mF\004",
 0x40162031 "ëò\215\203\200\n", 0x40213900 "", 0x5 <Address 0x5 out of bounds>, 0x0,
 0x80e0bc8 "ARG2", 0x811f8f0 "È\v\016\b&cedil;\v\016\b8\025\022\bd9!@\030", 0x80e0bb8 "sip/401",
 0x466da9f4 "\024ªmFUµ\006\b°p\027\b\br\027\bür\027\b\001", 0x808fbaa "\213\026\211ðÆ\004\023",
 0x80e0bc8 "ARG2", 0x466dae4c "ARG2", 0x4 <Address 0x4 out of bounds>, 0x8116a40 "-"}
       passdata = "sip/401|18|r", '\0' <repeats 243 times>
       stacklen = 0
       tmp = "\e[1;36;40mDial\e[0;37;40m", '\0' <repeats 30 times>, "d ", '\0' <repeats 23 times>
       tmp2 = "\e[1;35;40mZap/1-1\e[0;37;40m", '\0' <repeats 37 times>, "fÇ\v\b$©mF\0\0\0\0\022©\023@"
       tmp3 = "\e[1;35;40msip/401|18|r\e[0;37;40m\0\200­ûÐø\021\bÐø\021\bÐø\021\bÐø\021\böø\021\bÏø\021\f\230Ø\025@Ïø\021\f", '\0' <repeats 12 times>, "\200.!@Y«mFÄ&brvbar;mF0ç\025@ü&brvbar;mF\\ªmFÒ±\023@\0\0\0\0eÇ\v\---Type <return> to continue, or q <return> to quit---
bÒ¬mFô¬mF®\200\023@,­mFeÇ\v\b\001\0\0\0\0\0\0\0ü&brvbar;mFçG\v\bçG\v\b\025#\006\bü&brvbar;mFçG\v\bÿ\0\0\00ç\025@fÇ\v\b\224&uml;mFï\217\016\f\022©\023@Ô¬mF", '\0' <repeats 52 times>...
ASTERISK-3  0x0806b555 in ast_spawn_extension (c=0x0, context=0x0, exten=0x0, priority=0, callerid=0x0)
   at pbx.c:1679
No locals.
ASTERISK-4  0x45e2a48b in macro_exec (chan=0x81770b0, data=0x81770b0) at app_macro.c:140
       tmp = "stdexten\0401\0sip/401", '\0' <repeats 235 times>
       rest = 0x0
       fullmacro = "macro-stdexten\0@P\0\0\0\f¯mFîµ\025@\200.!@\230\0\0\0£ý\f\bä®mFص\025@\200\022!@\00\001@\230\0\0\0`\024\a\b\234¯mF\200\022!@\004¯mFÒÀ\025@"
       varname = "ARG2\0\016!@\0\0\0\0\200.!@\224®mFt\215\e@\230\0\0\0ÄÊ\025@\001\0\0\0\00\001@\230\0\0\0ܱmF\0\0\0\0ür\027\bÔ&acute;\v\b\230Ø\025@\200\022!@£ý\f\bÄ®mF1¶\025@"
       oldargs = {0x0 <repeats 81 times>}
       argc = 3
       x = 135753904
       res = 0
       oldexten = "401", '\0' <repeats 252 times>
       oldpriority = 1
       pc = "1\0\235ÿ,\0&ÿTÿ\a\0\205\0U\0H\0.\0\t\0<\0\024\0\216ÿùÿâÿ\220\0#\0+\0Õÿ\002\0\031\0\230ÿ\026\0\a\0©ÿéÿÝÿ\017ÿ\001\0Ðÿ(\0\002\0%\0¹ÿ\003\0ÝÿW\0\004\0\004"
       oldcontext = "incoming", '\0' <repeats 247 times>
       offsets = 0x0
       offset = 0
       setmacrocontext = 1
       save_macro_exten = 0x0
       save_macro_context = 0x0
---Type <return> to continue, or q <return> to quit---
       save_macro_priority = 0x0
       save_macro_offset = 0x0
       __retval = 0x466daeec "stdexten"
ASTERISK-5  0x08065096 in pbx_exec (c=0x81770b0, app=0x8121568, data=0x466db22c, newstack=1) at pbx.c:413
       res = 135753904
       saved_c_appl = 0x455a28d4 ""
       saved_c_data = 0x81770b0 "Zap/1-1"
       stack = -1
       execute = (int (*)(struct ast_channel *, void *)) 0x45e29e90 <macro_exec>
ASTERISK-6 0x0806c6c1 in pbx_extension_helper (c=0x81770b0, context=0x8177208 "macro-stdexten",
   exten=0x81770b0 "Zap/1-1", priority=1, callerid=0x8164008 "\"FENWICK WEST   \" <6509888500>",
   action=1163536596) at pbx.c:1195
       e = (struct ast_exten *) 0x81770b0
       sw = (struct ast_switch *) 0x0
       data = 0x0
       newstack = 1
       res = 0
       status = 4
       incstack = {0x81103c0 "incoming", 0x80e9a58 "parkedcalls",
 0x466db344 "\224³mF\227\032\025@l³mF",
 0x400297fc "\211ì]ÃU\211å\203ì\b\213E\b\213@H\211\004$è\037ßÿÿ\211ì]ÃU\211å\203ì\b\211]üèʹÿÿ\201òc", 0x40212e80 "\224=\022", 0x0, 0x466db394 "ï³mF\203E\a\bBÈ\v\b0",
 0x40151a97 "ëÜ\211<$è§(ûÿëË\211<$èÍ(ûÿë\237\213\203p\001", 0x466db36c "Õ\\", 0x0,
 0x40211280 "\204*­û", 0x80cfd25 "- SIP/401-d760 answered Zap/1-1\n", 0x80bf193 "  == ",
 0x80cfd20 "    -- SIP/401-d760 answered Zap/1-1\n", 0x4002a12e "\201êZ", 0x4002fbd8 "Øê",
 0x5cd5 <Address 0x5cd5 out of bounds>, 0x4002fe20 "", 0x466db394 "ï³mF\203E\a\bBÈ\v\b0",
---Type <return> to continue, or q <return> to quit---
 0x40029026 "\203øÿt\0041ÀëÍèHÀÿÿ\213", 0x5cd5 <Address 0x5cd5 out of bounds>,
 0x17 <Address 0x17 out of bounds>, 0x4015220b "\201Ãu\f\f",
 0x80cfd25 "- SIP/401-d760 answered Zap/1-1\n", 0x1 <Address 0x1 out of bounds>,
 0x40211280 "\204*­û", 0x466db3ef "6509888500",
 0x8074583 "\205Àt\032F\017¶\f>\204É\210ËuÞ\213]ðÆ\004;", 0x80bc842 "( )-.",
 0x30 <Address 0x30 out of bounds>, 0xa <Address 0xa out of bounds>, 0x815cf98 "incoming",
 0x815cf98 "incoming", 0x815cf48 "401", 0x466db444 "&curren;µmFüo\006\b°p\027\b\br\027\bür\027\b\001",
 0x80769b1 "\203Ä|1À[^_]Ã\220\215t&", 0x815cf98 "incoming", 0x8177208 "macro-stdexten",
 0x4f <Address 0x4f out of bounds>, 0x40027a57 "ëÏ\205À.tîë±e¡\b", 0x40213910 "",
 0x40212e80 "\224=\022", 0x466db3dd "FENWICK WEST   ", 0x466db3ef "6509888500",
 0x4e454600 <Address 0x4e454600 out of bounds>, 0x4b434957 <Address 0x4b434957 out of bounds>,
 0x53455720 <Address 0x53455720 out of bounds>, 0x20202054 <Address 0x20202054 out of bounds>,
 0x36002000 <Address 0x36002000 out of bounds>, 0x38393035 <Address 0x38393035 out of bounds>,
 0x30353838 <Address 0x30353838 out of bounds>, 0x30 <Address 0x30 out of bounds>,
 0x0 <repeats 12 times>}
       passdata = "stdexten|401|sip/401", '\0' <repeats 235 times>
       stacklen = 2
       tmp = "\e[1;36;40mMacro\e[0;37;40m", '\0' <repeats 15 times>, "ÐÿÐÿ\0\0\0\0Ðÿàÿ\0\0\0ÿ\0\0\0\0àÿàÿàÿàÿðÿàÿðÿðÿÿÿÿÿ"
       tmp2 = "\e[1;35;40mZap/1-1\e[0;37;40m\0¬³mF\0\0\0\0üþ\fÿ\fÿ\034ÿ,ÿ<ÿLÿLÿ\\ÿlÿl²mF̱mF\001\200­û¬³mF¬³mF¬³mF"
       tmp3 = "\e[1;35;40mstdexten|401|sip/401\e[0;37;40m\0\0\0\0ôy\002@\0\0\0\0\0\0\0\0\024±mF,\201\005\b\210q\027\b*J\004@\004±mF \0\0\0\024\026\222Q\206;\vO(Ö5N\003í\210M&frac34;ÿ9QsÛ\223P¡ó¥N¬®ëN\0\0\0\0\210q\027\b\001\0\0\0tf\020\b°p\027\btf\020\b\224²mF¬Ü\b\btf\020\btf\020\b\001\0\0\0\0\0\0\0\204²mF\0\0\0\0ðÿü\031|.| Äõ\204Ç\204¶\204Ó<\t|2\230Ø\025@äú\004ï&curren;û<\016"...
ASTERISK-7 0x08066ffc in ast_pbx_run (c=0x455a28d4) at pbx.c:1679
---Type <return> to continue, or q <return> to quit---
       digit = 0 '\0'
       exten = '\0' <repeats 255 times>
       pos = 0
       waittime = 135753904
       res = 52
ASTERISK-8 0x44b441b0 in ss_thread (data=0x81770b0) at chan_zap.c:4765
       p = (struct zt_pvt *) 0x81062e8
       exten = '\0' <repeats 79 times>
       exten2 = '\0' <repeats 79 times>
       buf = "\226\230\233\235\233\235\233\234\234\234\234\233\233", '\232' <repeats 11 times>, '\231' <repeats 12 times>, "\230\231", '\230' <repeats 23 times>, '\227' <repeats 14 times>, "\226\226\227", '\226' <repeats 11 times>, "\227\226\226\226\226\227\226\226", '\227' <repeats 62 times>, "\230", '\0' <repeats 95 times>
       cid = "\"FENWICK WEST   \" <6509888500>", '\0' <repeats 225 times>
       dtmfbuf = '\0' <repeats 299 times>
       cs = (struct callerid_state *) 0x46edc008
       name = 0x46f0c41c <Address 0x46f0c41c out of bounds>
       number = 0x46f0c45c <Address 0x46f0c45c out of bounds>
       distMatches = 0
       curRingData = {0, 0, 0}
       receivedRingT = 0
       counter1 = 135753904
       counter = 0
       flags = 0
       i = 1
       timeout = 0
---Type <return> to continue, or q <return> to quit---
       getforward = 0
       len = 0
       res = 135753904
       c = 0 '\0'
ASTERISK-9 0x40026af9 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
Comments:By: sbingner (sbingner) 2004-05-07 03:45:05

Can you try to duplicate the crash?

Looks like you had somebody calling in from an X100P (Zap/1-1) to SIP/401... and for some reason it blew up on select.. it may be worth noting that * no longer seems to call select() directly from channel.c  

Suggest you should update to latest version, could be that it's already been fixed...

By: twisted (twisted) 2004-05-07 04:14:35

Please update to latest cvs.  If this is still a problem then, let us know here.  Until then, I am closing this bug.