Apache OpenOffice (AOO) Bugzilla – Issue 90636
Playing a sound crashes OOo
Last modified: 2009-10-09 11:36:43 UTC
Playing a sound from the gallery or from a presentation, makes crash always OOo 3.0 and 2.4 with a segmentation error. Sound works fine with the other applications. Mandriva Linux 2007 spring.
Works here without problems. Do you have a proper installed JMF? I have tested JMF 2.1.1 on OpenSuse 10.3. An installation help can be found here in german: http://de.openoffice.org/doc/howto_2_0/office/multimedia_linux.html Please have a look if there is help in other languages if needed. Is the Office version directly from OOo or from some other source?
Closed. Please reopen if you have more information.
Closed.
I was working on this issue. It exists with JRE from Sun or with Kaffe. Yes, JMF was missing and this is the cause of the error. But I reopen this issue because of three reasons: 1. The missing of JMF should not make a segmentation error but only an alert to the user. This error issue is a bit dirty. 2. OOo for Linux should not require JMF that was not supplied by distribution or by OpenOffice.org. A beginner or a not expert cannot install this on Linux. JMF is not a free open source software. 3. Very common sound formats as MP3 or ogg are not compatible with JMF for Linux but a lot of GPL MP3 or ogg players exist on Linux. Why is OOo not used them ?
Point 2 and 3: please have a look at issue 43306. Point 1: have you been asked to send a crash report and did you do so? The crash is not reproducible here on Suse. the player comes up but simply does not play. So no crash here. Is the Office build an original one or from Mandriva? Thanks for info.
OK for the point 2 and 3, I am voting for the issue 43306. Thanks. I am using the build from openoffice.org (french version), not from Mandriva. For the point 1, to reproduce the crash, I rename /usr/lib/jvm* to /usr/lib/jvm*.other. I rename /opt/JMF-2.1.1e to other name. Launch OOo. In Options, OpenOffice.org, Java, now there is checked "Free Software Foundation", version 1.4.2, (kaffe)... But I had uninstalled kaffe before (!?). Only JRE from Sun was installed and now deactivated. When I click in the gallery to play a sound (.wav), OOo Mediaplayer launches and OOo crashes with this message in the terminal : /opt/openoffice.org3/program/soffice: line 131: 10262 Erreur de segmentation "$sd_prog/$sd_binary" "$@" When I launches OOo again, no sent of report is asked, but a restoration of my document is asked. If this can help.Regards.
System Configuration: HP Pavilion dv6500 Notebook PC Microsoft Vista Home Premium x86 32-bit Service Pack 1 Intel® Core™2 Duo CPU T7100 @ 1.8 GHz, 2GB DDR2 SDRAM Open Office version: OOo-Dev 3.0 (build OOO300_m4) The bug could be replicated in some cases. Steps for replicating the bug: 1)Open Impress. 2)Create an empty presentation 3)Go to Insert > Object > Sound… 4)Insert the following type of sound files in the slide individually for testing – i)Windows Media Audio file (.wma) – The application crashes in a few seconds after the sound file is inserted. ii)MP3 Format sound file (.mp3) – The application does NOT crash. A sound plug- in icon is displayed in the middle of the slide but the sound file fails to play. On going to Slide Show > Custom Animation and then clicking play in the custom animation dialog, displays a black box in place of the sound plug-in icon. iii) Wave Sound file (.wav) – The application does NOT crash. The sound is played smoothly on the slide. iv) Music Instrumental Digital Interface file (.midi) – The application does NOT crash. The sound file plays smoothly without any hitches.
System Configuration: HP Pavilion dv6500 Notebook PC Microsoft Vista Home Premium x86 32-bit Service Pack 1 Intel® Core™2 Duo CPU T7100 @ 1.8 GHz, 2GB DDR2 SDRAM Open Office version: OOo-Dev 3.0 (build OOO300_m4) The bug could be replicated in some cases. Steps for replicating the bug: 1)Open Impress. 2)Create an empty presentation 3)Go to Insert > Object > Sound… 4)Insert the following type of sound files in the slide individually for testing – i)Windows Media Audio file (.wma) – On inserting this type of sound file, the application crashes in a few seconds after the sound file is inserted. ii)MP3 Format sound file (.mp3) – On inserting this type of sound file, the application does NOT crash. A sound plug-in icon is displayed in the middle of the slide but the sound file fails to play. On going to Slide Show > Custom Animation and then clicking play in the custom animation dialog, a black box is displayed in place of the sound plug-in icon. iii)Wave Sound file (.wav) – On inserting this type of sound file the application does NOT crash. The sound is played smoothly on the slide. iv)Music Instrumental Digital Interface file (.midi) – The application does NOT crash. The sound file plays smoothly without any hitches. All the instances where the bug has been replicated has been stored in the attached doc file as screenshots. The tested sound files are attached too.
Created attachment 56228 [details] Demonstration of the replicated bug through screenshots
Created attachment 56229 [details] wma file used for performing the test
Created attachment 56231 [details] mp3 file used for performing the test
Created attachment 56232 [details] WAV file used for performing the test
Created attachment 56233 [details] MIDI file used for performing the test
(Asmita Kunwar Sep 04 2008) System Configuration: HP Pavilion dv6500 Notebook PC Microsoft Vista Home Premium x86 32-bit Service Pack 1 Intel® Core™2 Duo CPU T7100 @ 1.8 GHz, 2GB DDR2 SDRAM Open Office version: OOo-Dev 3.0 (build OOO300_m4) The bug could be replicated in some cases. Steps for replicating the bug: 1)Open Impress. 2)Create an empty presentation 3)Go to Insert > Object > Sound… 4)Insert the following type of sound files in the slide individually for testing – i)Windows Media Audio file (.wma) – On inserting this type of sound file, the application crashes in a few seconds after the sound file is inserted. ii)MP3 Format sound file (.mp3) – On inserting this type of sound file, the application does NOT crash. A sound plug-in icon is displayed in the middle of the slide but the sound file fails to play. On going to Slide Show > Custom Animation and then clicking play in the custom animation dialog, a black box is displayed in place of the sound plug-in icon. iii)Wave Sound file (.wav) – On inserting this type of sound file the application does NOT crash. The sound is played smoothly on the slide. iv)Music Instrumental Digital Interface file (.midi) – The application does NOT crash. The sound file plays smoothly without any hitches. All the instances where the bug has been replicated has been stored in the attached doc file as screenshots. The tested sound files are attached too.
Reassigned.
Niravkumar Patel (09/01/2009) I am able to replicate the bug successfully on Windows XP instead of VISTA that Asmita Kunwar Used but there is a little difference. Following is my system configuration. System Configuration: HP Pavilion Microsoft Windows XP Home edition version 2002 Service pack 2 Intel(R) Celeron(R)M 1.60 GHZ 504 MB RAM Open Office version: OOo-dev 3.2x (codeline DEV300) The bug could be replicated in following cases. Steps for replicating the bug: 1)Open Impress. 2)Create an empty presentation 3)Go to Insert > Object > Sound… 4)Insert the following type of sound files in the slide individually for testing i)Windows Media Audio file (.wma) – On inserting this type of sound file and After go to Slide Show > Custom Animation and then clicking play in the custom animation dialog, a black box is displayed in place of the sound plug-in icon. ii)MP3 Format sound file (.mp3) – Same case as Windows Media Audio file (.wma) file. iii)Wave Sound file (.wav) – On inserting this type of sound file the sound plays but after sound finish you go to Slide Show > Custom Animation and then click play a black screen comes and it not able to play. I have to click it in the icon to play sound again.Another problem is that when I set the volume for sound file and after coming back from another slide it will automatically set to maximum every time I have to set the volume. iv)Music Instrumental Digital Interface file (.midi) – Same case as MP3 Format sound file (.mp3) file. I used same sound files that Asmita Kunwar has used and also used another files but the problem remains continue.
Wait, please, you are mixing up different things here. This issue is about a crash. Playing a sound under linux and playing it under Windows are two completely different handled things. And please do not put more than one problem into one issue. Having an issue with several, not directly connected problems is the best way to get them never fixed.
With 3.1 release, I have no longer crashes when a sound must be played. But the needing of JMF is still a problem.
Thanks for the comment. JMF needed fort playing a sound is covered by i43306.