[Home]

Summary:ASTERISK-08666: Random segfault when two channels are simultaneously Redirect'ed into a conference
Reporter:Xu Cheng (xu)Labels:
Date Opened:2007-01-26 11:37:26.000-0600Date Closed:2007-03-20 19:09:04
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-01-29.backtrace
Description:I uses AMI Redirect commands to redirect 2 channels into a MeetMe(). Sometimes Asterisk will crash. It might caused by sending 2 redirects for those 2 channels into the same meetme at the SAME time which caused dead locks on threads.

****** ADDITIONAL INFORMATION ******

backtrace is attached.
Comments:By: Russell Bryant (russell) 2007-01-26 18:08:04.000-0600

Please rebuild Asterisk with DONT_OPTIMIZE enabled.  This will give us a more useful backtrace.

Run "make menuselect".  Go to "Compiler Flags" and select "DONT_OPTIMIZE".  Then, hit "x" to save and exit.

By: Xu Cheng (xu) 2007-01-29 08:47:45.000-0600

the lastest backtrace is attached with "DONT_OPTIMIZE" option.

By: Joshua C. Colp (jcolp) 2007-02-08 20:07:07.000-0600

Is your meetme conference being recorded, and what channels are you redirecting?

By: Xu Cheng (xu) 2007-02-09 11:33:54.000-0600

no recording. both channels are sip.

By: Serge Vecher (serge-v) 2007-03-07 11:41:46.000-0600

alright, please test the 1.4.1 release. If still a problem, please upload a new unoptimized backtrace as well as console debug log as per:

1) Prepare test environment (reduce the amount of unrelated traffic on the server);
2) Make sure your logger.conf has the following line:
  console => notice,warning,error,debug
3) restart Asterisk with the following command:
  'asterisk -Tvvvvvdddddngc | tee /tmp/verbosedebug.txt'
4) Enable SIP transaction logging with the following CLI commands (1.4/trunk commands in parenthesis):
set debug 4 (core set debug 4)
set verbose 4 (core set verbose 4)
sip debug (sip set debug)
5) Reproduce the problem
6) Trim startup information and attach verbosedebug.txt to the issue.

By: Joshua C. Colp (jcolp) 2007-03-07 11:44:18.000-0600

Scratch that, use latest 1.4 from SVN. There was a small Meetme issue that I believe was the cause of this. Was doing recording when it was not being needed.

By: Xu Cheng (xu) 2007-03-20 17:50:00

Yes, the problem is gone with the latest 1.4 from SVN.

By: Joshua C. Colp (jcolp) 2007-03-20 18:02:08

Boom fixed!