Bug 51398

Summary: crashes when trying to stream unsupported media in audio preview mode (audio/x-ogg-vorbis)
Product: [Frameworks and Libraries] kio Reporter: Sebastian Voitzsch <sebastian>
Component: audiocdAssignee: rik
Status: RESOLVED FIXED    
Severity: crash CC: joerg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: fix
the audiocd kioslave patch
kdelibs patch v2....

Description Sebastian Voitzsch 2002-12-01 18:43:11 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 2.95.3 
OS:          Linux

When I point on a ogg file (audiocd-browser), konqueror tries to do a "preview". aRts says "mimetype audio/x-ogg-vorbis unsupported for streaming", then konqueror crashes.

Tried to set mimetype to "audio/x-ogg" (which one is correct?! audiocd-kioslave says x-ogg-vorbis, kaboodle reports "x-ogg" to arts...) without success: arts says "unsupported" again. But konqueror shouldn
Comment 1 Sebastian Voitzsch 2002-12-01 18:44:48 UTC
eehhh....why does bugzilla always lose my version number? it
Comment 2 Sebastian Voitzsch 2002-12-02 11:11:18 UTC
John, why did you change assignment to arts? It's konqueror that crashes, not 
arts! 
Comment 3 Sebastian Voitzsch 2002-12-05 00:49:49 UTC
Created attachment 574 [details]
fix

The patch in the attatchment fixes the crash error for me.

Additionally, I found that the mimetypes of arts and the audiocd kioslave
doesn
Comment 4 Sebastian Voitzsch 2002-12-05 00:54:23 UTC
Created attachment 575 [details]
the audiocd kioslave patch

Don
Comment 5 Neil Stevens 2002-12-05 01:08:10 UTC
If kio_audiocd is specifying audio/x-ogg-vorbis, then it is wrong.  
application/x-ogg is correct. 
Comment 6 Sebastian Voitzsch 2002-12-05 02:03:11 UTC
Created attachment 576 [details]
kdelibs patch v2....

adjusted the buffer size (m_packetsize:1024 bytes -> 2048 bytes, PACKET_COUNT 5
-> 10 packets) to get clean wav preview from audiocd ioslave (was very sluggish
before even with 40x drive on athlon 1000 due to the amount of data in
uncompressed mode)
Comment 7 Neil Stevens 2002-12-08 11:58:19 UTC
OK, the kaboodle crash in this is fixed, so all that's left is to change the audiocd 
mime-type to aplication/x-ogg, and then this bug can be closed. 
Comment 8 Stephan Kulow 2002-12-22 21:00:16 UTC
*** Bug 52196 has been marked as a duplicate of this bug. ***
Comment 9 Neil Stevens 2003-01-19 16:39:35 UTC
Fixed in CVS.