Issue 90636 - Playing a sound crashes OOo
Summary: Playing a sound crashes OOo
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: OOo 3.0 Beta
Hardware: PC Linux, all
: P2 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: graphicsneedsconfirm
QA Contact: issues@graphics
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2008-06-11 22:41 UTC by rpnpif
Modified: 2009-10-09 11:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Demonstration of the replicated bug through screenshots (407.00 KB, application/msword)
2008-09-04 12:25 UTC, akunwar2007
no flags Details
wma file used for performing the test (127.63 KB, text/plain)
2008-09-04 12:37 UTC, akunwar2007
no flags Details
mp3 file used for performing the test (13.92 KB, text/plain)
2008-09-04 13:30 UTC, akunwar2007
no flags Details
WAV file used for performing the test (211.29 KB, text/plain)
2008-09-04 13:31 UTC, akunwar2007
no flags Details
MIDI file used for performing the test (23.68 KB, text/plain)
2008-09-04 13:32 UTC, akunwar2007
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rpnpif 2008-06-11 22:41:48 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.
Comment 1 wolframgarten 2008-06-12 14:24:10 UTC
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?
Comment 2 wolframgarten 2008-06-17 10:14:34 UTC
Closed. Please reopen if you have more information.
Comment 3 wolframgarten 2008-06-17 10:14:58 UTC
Closed.
Comment 4 rpnpif 2008-06-17 13:01:46 UTC
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 ?
Comment 5 wolframgarten 2008-06-17 13:58:24 UTC
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.
Comment 6 rpnpif 2008-06-17 17:37:28 UTC
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.
Comment 7 akunwar2007 2008-09-04 12:06:02 UTC
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.

Comment 8 akunwar2007 2008-09-04 12:21:47 UTC
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.
Comment 9 akunwar2007 2008-09-04 12:25:37 UTC
Created attachment 56228 [details]
Demonstration of the replicated bug through screenshots
Comment 10 akunwar2007 2008-09-04 12:37:23 UTC
Created attachment 56229 [details]
wma file used for performing the test
Comment 11 akunwar2007 2008-09-04 13:30:35 UTC
Created attachment 56231 [details]
mp3 file used for performing the test
Comment 12 akunwar2007 2008-09-04 13:31:18 UTC
Created attachment 56232 [details]
WAV file used for performing the test
Comment 13 akunwar2007 2008-09-04 13:32:02 UTC
Created attachment 56233 [details]
MIDI file used for performing the test
Comment 14 akunwar2007 2008-09-04 14:06:21 UTC
(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.
Comment 15 wolframgarten 2008-09-05 12:43:34 UTC
Reassigned.
Comment 16 niravce111 2009-09-01 07:44:46 UTC
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. 

Comment 17 wolframgarten 2009-09-01 10:40:31 UTC
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.
Comment 18 rpnpif 2009-10-09 10:44:49 UTC
With 3.1 release, I have no longer crashes when a sound must be played.

But the needing of JMF is still a problem.
Comment 19 wolframgarten 2009-10-09 11:35:01 UTC
Thanks for the comment. JMF needed fort playing a sound is covered by i43306.
Comment 20 wolframgarten 2009-10-09 11:36:43 UTC
Closed.