[Home]

Summary:ASTERISK-16229: Seg faulting when stopping asterisk
Reporter:rsw686 (rsw686)Labels:
Date Opened:2010-06-08 23:09:17Date Closed:2010-06-09 07:40:08
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:This started happening when upgrading to 1.6.2.9-rc1 from 1.6.2.8. When I run service asterisk stop I end up with a core file. This is happening with 1.6.2.9-rc2 as well. A backtrace shows

Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c'.
Program terminated with signal 11, Segmentation fault.
#0  0x081636e5 in el_gets (el=0x86639b8, nread=0xbfe8a3e4) at read.c:475
475                     retval = (*el->el_map.func[cmdnum]) (el, ch);
(gdb) bt
#0  0x081636e5 in el_gets (el=0x86639b8, nread=0xbfe8a3e4) at read.c:475
#1  0x0807f273 in main (argc=8, argv=0xbfe8a664) at asterisk.c:3736
#2  0x00267e9c in __libc_start_main () from /lib/libc.so.6
#3  0x0805e0a1 in geteuid ()
Comments:By: Walter Doekes (wdoekes) 2010-06-09 06:12:23

See: https://issues.asterisk.org/view.php?id=17482