Bug 60102

Summary: noatun segfaults when trying to open zip:/ - URLs.
Product: [Unmaintained] noatun Reporter: Michael Nottebrock <lofi>
Component: generalAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Nottebrock 2003-06-20 01:02:32 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    FreeBSD Ports
OS:          FreeBSD

When trying to play a file from a zip archive via the zip-kioslave, from konqueror for example, noatun segfaults.

Here's a full gdb-run:
(gdb) run
Starting program: /usr/local/bin/noatun --nofork "zip:/host/lofi/usr/home/lofi/mldonkey/incoming/Solaris.[BSO-OST-Soundtrack].[MP3].by.PhiSYS.zip/Solaris OST - 07 - Don't Blow It.mp3"
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Launched ok, pid = 84391
kdecore (KAction): WARNING: KAction::plug(): has no KAccel object; this = 0x822f680 name = half_size parentCollection = 0x822f480
kdecore (KAction): WARNING: KAction::plug(): has no KAccel object; this = 0x822f6c0 name = normal_size parentCollection = 0x822f480
kdecore (KAction): WARNING: KAction::plug(): has no KAccel object; this = 0x822f700 name = double_size parentCollection = 0x822f480
kdecore (KAction): WARNING: KAction::plug(): has no KAccel object; this = 0x822f500 name = fullscreen_mode parentCollection = 0x822f480
noatun: number of members == 1

Program received signal SIGSEGV, Segmentation fault.
0x28f6fb0f in QString::deref () from /usr/X11R6/lib/libqt-mt.so.3
(gdb) bt
#0  0x28f6fb0f in QString::deref () from /usr/X11R6/lib/libqt-mt.so.3
#1  0x28f6fbe8 in QString::operator= () from /usr/X11R6/lib/libqt-mt.so.3
#2  0x2809f9a5 in Downloader::start (this=0x8167e80) at downloader.cpp:89
#3  0x280a0a60 in Downloader::qt_invoke (this=0x8167e80, _id=4, _o=0xbfbfeaac)
    at noatun/downloader.moc:160
#4  0x28d447bb in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3
#5  0x28fc8eb2 in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3
#6  0x28d59f61 in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3
#7  0x28d5f417 in QSingleShotTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#8  0x28cf0dca in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#9  0x28cf0bb0 in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#10 0x2898cd2b in KApplication::notify (this=0xbfbff72c, receiver=0x822da80,
    event=0xbfbfed10) at kapplication.cpp:455
#11 0x28cd31f4 in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#12 0x28cb5306 in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#13 0x28d02a33 in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#14 0x28cf0e6a in QApplication::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#15 0x28cf0e3f in QApplication::processEvents ()
---Type <return> to continue, or q <return> to quit---
   from /usr/X11R6/lib/libqt-mt.so.3
#16 0x280ab2dc in Player::play (this=0x822b300) at player.cpp:82
#17 0x280ab6e2 in Player::playCurrent (this=0x822b300) at player.cpp:166
#18 0x280ac8a5 in Player::qt_invoke (this=0x822b300, _id=16, _o=0xbfbfefb0)
    at noatun/player.moc:274
#19 0x28d447bb in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3
#20 0x28d446e1 in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3
#21 0x280a9a04 in Playlist::playCurrent (this=0x8232500)
    at noatun/playlist.moc:94
#22 0x29a3d4af in SplitPlaylist::listItemSelected (this=0x8232500, i=0x82ec200)
    at playlist.cpp:195
#23 0x29a4129b in List::addFile (this=0x8246100, url=@0xbfbff1e8, play=true,
    after=0x0) at view.cpp:571
#24 0x29a3cf51 in SplitPlaylist::addFile (this=0x8232500, file=@0xbfbff1e8,
    play=true) at view.h:117
#25 0x280abf1f in Player::openFile (this=0x822b300, f=@0xbfbff1e8, purge=true,
    autoplay=true) at player.cpp:271
#26 0x280b1416 in NoatunApp::newInstance (this=0xbfbff72c) at app.cpp:315
#27 0x28a254fc in KUniqueApplication::newInstanceNoFork (this=0xbfbff72c)
    at kuniqueapplication.cpp:322
#28 0x28a25af1 in KUniqueApplication::qt_invoke (this=0xbfbff72c, _id=11,
    _o=0xbfbff328) at kuniqueapplication.moc:87
#29 0x280b2975 in NoatunApp::qt_invoke (this=0xbfbff72c, _id=11, _o=0xbfbff328)
---Type <return> to continue, or q <return> to quit---
    at noatun/app.moc:123
#30 0x28d447bb in QObject::activate_signal () from /usr/X11R6/lib/libqt-mt.so.3
#31 0x28fc8eb2 in QSignal::signal () from /usr/X11R6/lib/libqt-mt.so.3
#32 0x28d59f61 in QSignal::activate () from /usr/X11R6/lib/libqt-mt.so.3
#33 0x28d5f417 in QSingleShotTimer::event () from /usr/X11R6/lib/libqt-mt.so.3
#34 0x28cf0dca in QApplication::internalNotify ()
   from /usr/X11R6/lib/libqt-mt.so.3
#35 0x28cf0bb0 in QApplication::notify () from /usr/X11R6/lib/libqt-mt.so.3
#36 0x2898cd2b in KApplication::notify (this=0xbfbff72c, receiver=0x8167e00,
    event=0xbfbff58c) at kapplication.cpp:455
#37 0x28cd31f4 in QEventLoop::activateTimers ()
   from /usr/X11R6/lib/libqt-mt.so.3
#38 0x28cb5306 in QEventLoop::processEvents ()
   from /usr/X11R6/lib/libqt-mt.so.3
#39 0x28d02932 in QEventLoop::enterLoop () from /usr/X11R6/lib/libqt-mt.so.3
#40 0x28d02887 in QEventLoop::exec () from /usr/X11R6/lib/libqt-mt.so.3
#41 0x28cf0f3a in QApplication::exec () from /usr/X11R6/lib/libqt-mt.so.3
#42 0x280680b3 in main (argc=3, argv=0xbfbff8c0) at main.cpp:57
Comment 1 Charles Samuels 2003-08-11 04:14:18 UTC
I don't know what caused this, but I fixed it anyway ;)