Summary:ASTERISK-11300: Crash when reload and dialout at the same time
Reporter:Eduardo Ferro (eferro)Labels:
Date Opened:2008-01-24 13:01:20.000-0600Date Closed:2011-06-07 14:00:55
Versions:Frequency of
Description:In a four system with 300/1500 lines if a reload is executed when someone dial out, asterisk process die...

It seems related with some info cleared (reload) when our macro for dialing out is executing.

Core was generated by `/opt/bos/asterisk-1.4.4/sbin/asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0xb7d4b159 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0xb7d4b159 in strcasecmp () from /lib/tls/i686/cmov/libc.so.6
#1  0xb73d6278 in _macro_exec (chan=0xb6d26eb8, data=<value optimized out>,
   exclusive=0) at app_macro.c:322
#2  0x080c97aa in pbx_extension_helper (c=0xb6d26eb8, con=0x0,
   context=0xb6d27038 "macro-dialout-trunk", exten=0xb6d27088 "s",
   priority=1, label=0x0, callerid=0x849d6b8 "968750786", action=E_SPAWN)
   at pbx.c:532
#3  0x080cb506 in __ast_pbx_run (c=0xb6d26eb8) at pbx.c:2288
#4  0x080cc467 in ast_pbx_run (c=0xb6d26eb8) at pbx.c:2642
ASTERISK-1  0xb75208cb in mgcp_ss (data=0xb6d26eb8) at chan_mgcp.c:2783
ASTERISK-2  0x080f9e5b in dummy_start (data=0xb6d0f618) at utils.c:545
ASTERISK-3  0xb7f9631b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
ASTERISK-4  0xb7dab57e in clone () from /lib/tls/i686/cmov/libc.so.6
Comments:By: Eduardo Ferro (eferro) 2008-01-24 13:02:11.000-0600

I have a core, but it have 12M so I can't send the file

By: Jason Parker (jparker) 2008-01-24 15:36:00.000-0600

Please update to the latest version of 1.4, and also upload a backtrace as outlined in backtrace.txt

By: Joshua C. Colp (jcolp) 2008-01-25 08:25:22.000-0600

Closed as this is already fixed in latest versions. The exact revision that fixed this issue was 63478, and the original issue was 9602.