Bug 50183

Summary: crashes with playing streamed files with kioslaves
Product: [Unmaintained] arts Reporter: Joerg de la Haye <haye>
Component: libartskdeAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED FIXED    
Severity: crash CC: sebastian
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joerg de la Haye 2002-11-04 20:42:47 UTC
Version:            (using KDE KDE 3.0.9)
Installed from:    Debian testing/unstable Packages
OS:          Linux

kaboodle (and also the embedded one, also for the web browser) crashes while opening a file (audio or video) with using an other kioslave than kio_file.
I've tested this behaviour with kio_smb, kio_http, kio_ftp and kio_fish.

Noatun is doing fine, maybe problem with streaming and libkmediaplayer and / or arts?

libqt: 3.1+beta2.cvs20021024 (qt-copy)



---------------
Backtrace from Crash Handler:

0x40ecd2e9 in wait4 () from /lib/libc.so.6
#0  0x40ecd2e9 in wait4 () from /lib/libc.so.6
#1  0x40f3f704 in sys_sigabbrev () from /lib/libc.so.6
#2  0x40d70c84 in waitpid () from /lib/libpthread.so.0
#3  0x4056e36a in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4  0x40e58b88 in sigaction () from /lib/libc.so.6
#5  0x41da8568 in Arts::KIOInputStream_impl::slotData ()
   from /usr/lib/libartskde.so.1
#6  0x41da7c2f in Arts::KIOInputStream_impl::qt_invoke ()
   from /usr/lib/libartskde.so.1
#7  0x408985d3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#8  0x40142f1d in KIO::TransferJob::data () from /usr/lib/libkio.so.4
#9  0x401352b9 in KIO::TransferJob::slotData () from /usr/lib/libkio.so.4
#10 0x40143433 in KIO::TransferJob::qt_invoke () from /usr/lib/libkio.so.4
#11 0x408985d3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#12 0x40128d23 in KIO::SlaveInterface::data () from /usr/lib/libkio.so.4
#13 0x40127a50 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#14 0x401275f8 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#15 0x40125580 in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#16 0x40126c59 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#17 0x408985d3 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0x40898754 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#19 0x40af57fb in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#20 0x408af3ec in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#21 0x40846723 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#22 0x40846527 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#23 0x40505a8a in KApplication::notify () from /usr/lib/libkdecore.so.4
#24 0x40829b73 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#25 0x4080baea in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#26 0x40857cf5 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#27 0x40857c6f in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#28 0x4084687a in QApplication::exec () from /usr/lib/libqt-mt.so.3
#29 0x415bfdec in main () from /usr/lib/konqueror.so
#30 0x0804d3ad in launch ()
#31 0x0804e0ab in handle_launcher_request ()
#32 0x0804e4f5 in handle_requests ()
#33 0x0804f2a6 in main ()
#34 0x40e479d3 in __libc_start_main () from /lib/libc.so.6
Comment 1 Neil Stevens 2002-11-04 21:03:37 UTC
To me this looks like a problem in the KPlayObject parts of libartskde.  So, 
I'm transferring this bug from kaboodle to libartskde. 
Comment 2 matze 2002-11-05 09:34:29 UTC
Cannot confirm this bug, it's working with my copy of KDE. Make sure you don't have any  
sticky tags on your CVS checkout. If the bug persists, please compile with debugging enabled 
to generate a more informative backtrace, or perhaps even use valgrind to provide more 
information. 
Comment 3 Neil Stevens 2002-11-10 17:35:31 UTC
*** Bug 50519 has been marked as a duplicate of this bug. ***
Comment 4 Neil Stevens 2002-11-10 17:40:30 UTC
Well, I've now gotten another, similar report for Kaboodle, from someone   
else who claims to be using Debian packages, so it's either a real bug or a  
problem with Debian.  
  
Who's responsible for these Debian packages, does anyone know? 
Comment 5 matze 2002-11-10 18:47:08 UTC
I meanwhile found a way to reproduce the bug, so I can confirm it is there. However, for me it only happens for Ogg files, mp3 seems to be unaffected.  You can try the following: open an audio CD with the audiocd ioslave, go to the Ogg folder, and open one of the files in kaboodle (or just with the soundfile "preview"): konqueror will crash, I'll add a backtrace later.  
Comment 6 Joerg de la Haye 2002-11-11 12:51:31 UTC
Subject: Re:  crashes with playing streamed files with kioslaves

Hi Neil,

On Sunday 10 November 2002 17:40, you wrote:
> http://bugs.kde.org/show_bug.cgi?id=50183     
> Who's responsible for these Debian packages, does anyone know?

The package maintainer is 'Karolina Lindqvist <pgd-karolinali@algonet.se>'.
She has finished almost all packages from rc2 as Debian packages, you can find 
them here:  http://shakti.ath.cx/debian/.

Maybe the bug has gone with the qt-copy-rc3, the packages are still qt-copy 
from 10/24/2002.

Regards,
Joerg

Comment 7 Sebastian Voitzsch 2002-12-05 01:01:00 UTC
Please have a look at the fix I created for #51398, maybe this is a similiar case. 
Comment 8 Neil Stevens 2002-12-05 01:22:30 UTC
Subject: audio/x-ogg-vorbis and crashes

I think Sebastian may be right on this.  After all, the confirmation was 
with audiocd.  If this crash can't be confirmed with any other ioslave, 
then we should merge this bug with 51398 (which I just moved from 
arts/general to kio/audiocd) and be done with it.
Comment 9 Sebastian Voitzsch 2002-12-05 01:37:06 UTC
The crash I fixed occurs on two conditions; a) the source of the stream is not a local file 
and b) arts can
Comment 10 Sebastian Voitzsch 2002-12-05 01:43:24 UTC
Tried the videos on the webpage mentioned in 50519, they
Comment 11 Neil Stevens 2002-12-05 01:58:30 UTC
Subject: Patch

(Sending to the right bug number this time)

The patch I saw changed the mime-type audiocd uses.

If you have a libartskde fix, can you mail it to kde-multimedia@kde.org?

thanks,
Comment 12 Sebastian Voitzsch 2002-12-05 02:11:16 UTC
Sent to kde-multimedia@kde.org. 
There are two patches on # 51398 ;-) 
Comment 13 matze 2002-12-05 09:37:54 UTC
mhm, I can't say I particularely like the patch. It forces a reconnect to the stream source in 
every case, adding extra delay until the playing starts and wasting bandwidth. No problem on 
high bandwidth connections, bad for people with modem or ISDN. I think it only works around a 
problem that is actually in arts and thus should be fixed there. Arts somehow messes with the 
stream so that it crashes if the playobject didn't get created properly. So, please don't commit 
this patch right now. 
Comment 14 Neil Stevens 2002-12-08 11:56:56 UTC
*** Bug has been marked as fixed ***.