Summary: | ASTERISK-24304: asterisk crashing randomly because of unistim channel | ||
Reporter: | dhanapathy sathya (dhanapathy) | Labels: | |
Date Opened: | 2014-09-08 05:52:13 | Date Closed: | 2014-10-30 00:59:13 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_unistim |
Versions: | 1.8.26.1 11.10.2 11.12.0 12.5.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Ubuntu 12.04.4 LTS 64 bit, Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz, 4GB RAM | Attachments: | ( 0) ASTERISK-24304-1.diff ( 1) backtrace_120914.txt ( 2) backtrace.txt ( 3) chan_unistim.c ( 4) unistim.conf |
Description: | we have asterisk setup with 60+ nortel ipphones. i have tried with asterisk 1.8, 11 and 12.50 also. asterisk is crashing randomly. stating "asterisk[38691]: segfault at 40 ip 00007f2218d0724d sp 00007f2214f6b970 error 4 in chan_unistim.so[7f2218ced000+22000]". | ||
Comments: | By: Rusty Newton (rnewton) 2014-09-11 15:57:06.564-0500 Assigning to Igor for triage since this is Unistim. By: Rusty Newton (rnewton) 2014-09-11 15:58:39.966-0500 [~dhanapathy] you may want to collect another backtrace for Igor, as there is a lot optimized out. See the [backtrace instructions|https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace] on the wiki for detail instructions about what compiler flags to use and how to gather the trace. You definitely want DONT_OPTIMIZE and BETTER_BACKTRACES. By: dhanapathy sathya (dhanapathy) 2014-09-12 00:31:16.807-0500 hi Rusty, i recompiled asterisk with DONT_OPTIMIZE and BETTER_BACKTRACES. i will submit the trace ASAP. By: dhanapathy sathya (dhanapathy) 2014-09-12 11:18:23.759-0500 new backtrace attached By: dhanapathy sathya (dhanapathy) 2014-09-18 11:37:38.525-0500 hi, now i came to know that when someone put call on hold using nortel phone, it's crashing asterisk. hope this will help you to resolve it ASAP. By: Igor Goncharovsky (igorg) 2014-09-29 03:11:45.794-0500 Please ypload your config file, to find out what features of unistim channel used. Also, I have uploaded simple patch. that should prevent asterisk from crash and should helps to find exact problem. Please apply it and upload log output if new warning messages or crashes apeared. By: dhanapathy sathya (dhanapathy) 2014-09-29 20:22:26.327-0500 Attached the unistim config file By: dhanapathy sathya (dhanapathy) 2014-09-30 21:43:14.044-0500 patching file channels/chan_unistim.c Hunk #1 FAILED at 2008. 1 out of 1 hunk FAILED -- saving rejects to file channels/chan_unistim.c.rej i am not able to patch using the file provided. By: dhanapathy sathya (dhanapathy) 2014-09-30 21:46:52.403-0500 source file used in my setup By: Igor Goncharovsky (igorg) 2014-10-01 03:15:54.012-0500 As soon as you report issue for asterisk starting at 1.8, patch made for 1.8 version. What asterisk version are you try to patch? By: dhanapathy sathya (dhanapathy) 2014-10-01 03:20:26.400-0500 i am sorry for not mentioning the version. i am currently using asterisk 11.12.0 By: dhanapathy sathya (dhanapathy) 2014-10-16 01:29:09.571-0500 hi could you please do something to stop crashing asterisk?. i am not able to handle the pressure from management. they are forcing me to go back to nortel pbx itself. i don't want to give up. please support me. By: Igor Goncharovsky (igorg) 2014-10-16 01:33:50.768-0500 You can contact me directly by email igorg@igorg.ru, I'll try to help asap. |