Summary: | ASTERISK-08036: Asterisk crashes when logging with cdr_custom | ||
Reporter: | Alex Mota (alexms) | Labels: | |
Date Opened: | 2006-10-31 04:25:17.000-0600 | Date Closed: | 2007-03-14 08:42:45 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | CDR/cdr_custom |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cdr_custom.conf ( 1) debug_and_conf.txt ( 2) new_btrace.txt ( 3) new_cdr_custom.conf | |
Description: | I'm using Asterisk as a predictive dialler and I have a segmentation fault when I reach 20 to 25 simultaneous calls using ZAP channels: /usr/sbin/safe_asterisk: line 93: 1984 Segmentation fault Asterisk ended with exit status 139 Asterisk exited on signal 11. The dialling process is controlled by an external application that communicates with Asterisk using Manager API. Asterisk is used to dial and queue the calls as soon as they?re answered. In this process, I make heavy use of Asterisk queues, agents, meetme rooms and channel variables. I can explain the process further if it helps. I couldn?t manage to reproduce the crashes using SIP channels. Regards ****** ADDITIONAL INFORMATION ****** Asterisk was compiled with "valgrind" option. I ran safe_asterisk to gather this logs. I?m sending attached gdb's "bt", "bt full" and "thread apply all bt" for 2 crashes, as well as zaptel and zapata configuration files. OS: Debian Kernel 2.4.27-2-386 CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz cpu MHz : 2394.027 cache size : 512 KB Sangoma A101 Card (wanpipe-2.3.3-3) zaptel-1.2.9.1 libpri-1.2.3 | ||
Comments: | By: Tilghman Lesher (tilghman) 2006-11-02 16:19:25.000-0600 This is unrelated to using Zaptel. This is related to your use of cdr_custom. Please upload your cdr_custom.conf into the file upload area. Also, are you using any third party patches to Asterisk? By: Alex Mota (alexms) 2006-11-03 07:33:51.000-0600 Apart from Asterisk, all I have is: -FreePBX Administration 2.1.2 -asterisk-perl-0.08 I could make a fresh install with Asterisk only in this box and run the tests again, if it helps. By: jmls (jmls) 2006-11-03 13:09:31.000-0600 if you could, that would be great. thanks. By: Serge Vecher (serge-v) 2006-11-09 09:56:31.000-0600 I wonder if this is related to bugs ASTERISK-7662 and ASTERISK-7854 -- a cause of crash there seems to be queuing more calls than available zap channels. By: Alex Mota (alexms) 2006-11-22 07:01:18.000-0600 Sorry for the delay, I've been out of town for too long... I managed to crash it again, this time I have only asterisk installed (I mean, no FreePBX). It's a different box, though: OS: Debian, Kernel 2.4.27-3-386 vendor_id : GenuineIntel cpu family : 6 model : 6 model name : Celeron (Mendocino) cpu MHz : 432.027 cache size : 128 KB I'm attaching the backtrace and the crd_custom.conf. By: Jason Parker (jparker) 2006-12-06 13:48:11.000-0600 Your thread apply all bt full is lacking. It's only showing 1 thread. By: Serge Vecher (serge-v) 2007-02-22 16:05:47.000-0600 can we please get a complete bt from 1.2.15 as per qwell? By: Serge Vecher (serge-v) 2007-03-14 08:42:44 No response from reporter for over 3 weeks. If you are able to reproduce with 1.2.16, please reopen the issue with a new bt full from non-optimized asterisk. |