|Summary:||ASTERISK-16681: Crash on "voicemail show users for default"|
|Date Opened:||2010-09-15 09:15:24||Date Closed:||2011-05-05 15:31:20|
|Environment:||Attachments:||( 0) backtrace.txt|
( 1) backtrace2.txt
|Description:||I can reproduce consistently on 2 identical machines.|
The system runs on a SMP machine (dual XEON).
The OS is Debian Lenny (stable).
From the asterisk console, if I issue a "voicemail show users for default", asterisk crashes and the system logs show:
Sep 15 09:29:46 voipprod kernel: asterisk: segfault at 4157eff0 ip 00007f0ff874dc35 sp 000000004157efd0 error 6 in libc-2.7.so[7f0ff86d8000+14a000]
Note that voicemail, sip, and extensions are configured from a mysql database (realtime). There's approximately 1600 voicemail boxes setup.
For a test I disabled voicemail realtime, and added all the voicemail accounts in voicemail.conf, and the crash *doesn't* occur.
I suspect it has something to do with the console, as I have been able to make it crash (but not consistently) also by doing a dialplan reload (14531 extensions (36372 priorities) in 62 contexts).
If I leave the system alone (not logging on the console), it'll run normally with no crashes whatsoever.
****** ADDITIONAL INFORMATION ******
Anyone able to reproduce this ?
As this is one of my productions systems, I can't really mess around with it ...
It happened on 18.104.22.168 and 22.214.171.124rc1
|Comments:||By: Leif Madsen (lmadsen) 2010-09-16 09:09:16|
Thank you for your bug report. In order to move your issue forward, we require a backtrace from the core file produced after the crash. Please see the doc/backtrace.txt file in your Asterisk source directory.
Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:
after enabling, reproduce the crash, and then execute the instructions in doc/backtrace.txt.
When complete, attach that file to this issue report. Thanks!
By: yema (yem) 2010-09-16 11:12:17
To add to that. The same thing occurs on an older version I have running (126.96.36.199). If there are just a few voicemail accounts in the DB, it's fine, if I add many accounts (1000+), it crashes consistently.
By: yema (yem) 2010-09-16 11:32:55
Also happens on 188.8.131.52 with addons 184.108.40.206
By: yema (yem) 2010-09-22 09:34:26
I disabled Realtime completly on the system, and although I can't force it to crash anymore with "voicemail show users for default", it did crash on it's own with the folowwing message in the logs: asterisk: segfault at 9 ip 00000000004a12d8 sp 0000000043fef8c0 error 4 in asterisk[400000+180000]
By: yema (yem) 2010-09-30 15:53:33
I'm attaching another backtrace (backtrace2.txt) of the same crash happening on asterisk 1.8.0rc2 (when issuing a "voicemail show users for default").
By: Sean Bright (seanbright) 2011-05-05 15:31:20
This was fixed with issue 19090: