Summary:ASTERISK-18682: Voicemail video "crash" when key is pressed
Reporter:Aldo Bedrij (ne555)Labels:
Date Opened:2011-10-06 08:53:00Date Closed:2011-11-11 14:46:15.000-0600
Status:Closed/CompleteComponents:Addons/chan_ooh323 Applications/app_voicemail
Versions: Frequency of
Environment:Linux 2.6.32-5-amd64 Debian 2.6.32-35Attachments:( 0) backtrace
( 1) voicemail.conf
Description:If you press key '1' when a message from the voicemail is playing, the core stops.
The issue occurs if the message contains video, and the ip-phone allows a video code (I only tested with h264)
If videosupport is set to yes, then almost any key causes the behaviour.

gdb: Program exited normally
[88589.961212] asterisk[3172]: segfault at 4cc ip 00000000004b536c sp 00007fffd912c5a0 error 6 in asterisk[400000+1c2000]
[88655.911887] asterisk[3216] general protection ip:4b536c sp:7f42d87e35c0 error:0 in asterisk[400000+1c2000]
Comments:By: Richard Mudgett (rmudgett) 2011-10-06 09:21:18.366-0500

Thank you for your bug report. In order to move your issue forward, we require a backtrace[1] from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:

make install

After enabling, reproduce the crash, and then execute the backtrace[1] instructions. When complete, attach that file to this issue report.

[1] https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace

By: Alexander Anikin (may213) 2011-10-06 15:29:14.972-0500

Additional remark - chan_ooh323 not support video completely for now.
video is planned in the future.

By: Aldo Bedrij (ne555) 2011-10-07 06:29:10.110-0500

# gdb -se "asterisk" -ex "bt full" -ex "thread apply all bt" --batch -c core > /tmp/backtrace.txt

By: Matt Jordan (mjordan) 2011-11-01 09:08:33.874-0500

Interestingly, the seg fault occurs while playing back vm-first to the video phone, which should be an audio file.  It appears to be using the video callback routines however to stream the frames from the file.

Aldo: can you please also attach your voicemail.conf?  Also - what formats do you have installed for your Asterisk sound files?

By: Aldo Bedrij (ne555) 2011-11-02 07:37:15.163-0500

Is the configuration from the samples

Installed core sounds in gsm format (only)