[Home]

Summary:ASTERISK-24263: segfault exiting when caller leaves MeetMe conference
Reporter:Mitch Claborn (mclaborn)Labels:
Date Opened:2014-08-22 17:46:15Date Closed:2014-08-22 17:56:44
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:12.5.0 Frequency of
Occurrence
Constant
Related
Issues:
duplicatesASTERISK-24234 app_meetme: Crash on conference shutdown due to NULL channel passed to meetme_stasis_generate_msg()
Environment:Ubuntu 12.04 Asterisk built from sourceAttachments:( 0) backtrace.txt
( 1) myDebugLog
Description:segfault when a caller in a MeetMe hangs up.

segfault at 144 ip 0000000000521718 sp 00007ffc2be0bd00 error 4 in asterisk[400000+290000]

In most cases, it crashes when the first caller leaves.  During the test for which the backtrace and debug log are attached, it was the 2nd leaving caller that triggered the crash.
Comments:By: Mitch Claborn (mclaborn) 2014-08-22 17:50:46.738-0500

Back trace and debug log

By: Joshua C. Colp (jcolp) 2014-08-22 17:56:44.992-0500

This issue has already been fixed and will be in the next release. You can look at the linked issue to find the fix.

By: Mitch Claborn (mclaborn) 2014-08-22 17:58:55.725-0500

Diaplan excerpt:

[ConferenceRooms]
exten =>850,1,NoOp()
 same =>n,Playback(custom/confroom)
 same =>n,SayDigits(${EXTEN})
 same =>n,MeetMeCount(${EXTEN},CONFCOUNT)
 same =>n,Verbose(2,${CONFCOUNT} callers in ${EXTEN})
 same =>n,GotoIf($[${CONFCOUNT} < 1]?join)
 same =>n,GotoIf($[${CONFCOUNT} <= 20]?join)
 same =>n,Playback(custom/confroom-full)
 same =>n,Hangup()
 same =>n(join),MeetMe(${EXTEN},c)


By: Mitch Claborn (mclaborn) 2014-08-22 18:08:51.850-0500

Patch in linked issue works for me.