Bug 74545 - Adding files to playlist from VFS directories causes nation to crash
Summary: Adding files to playlist from VFS directories causes nation to crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Charles Samuels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-08 10:27 UTC by jason
Modified: 2009-07-24 19:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jason 2004-02-08 10:27:30 UTC
Version:           2.4.0 (using KDE 3.2.0, Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
OS:          Linux (i686) release 2.6.1-gentoo-r1

Just got KDE 3.2 up and running, and was trying to get noatun to load a directory of files that was accessed using an sftp URL. When dragging-and-dropping the remote folder into the noatun playlist window, noatun suddenly exits. No warning or crash dailog.

1. Open knonqueror file browser.
2. Enter sftp://user@host/music/
3. Drag 'rock-n-roll' folder from konq window and drop into noatun playlist window.
4. noatun will suddenly exit.

I'm not sure if notaun can actually use the KDE VFS system, but at the very least it shouldn't die in such a hurry :)
Comment 1 Stefan Gehn 2004-02-08 10:57:29 UTC
run noatun in gdb, use "run --nofork" and create a backtrace that way.
Comment 2 jason 2004-02-10 07:59:09 UTC
Here is the gdb output. I opened a directory over sftp://user@host/foo, then dragged a directory of files and dropped them directly onto the main noatun window (NOT THE PLAYLIST WINDOW). This is the crash:


mcop warning: user defined signal handler found for SIG_PIPE, overriding
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10739)]
0x41681d6f in QString::insert(unsigned, QChar const*, unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
(gdb) backtrace
#0  0x41681d6f in QString::insert(unsigned, QChar const*, unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#1  0x41681acf in QString::insert(unsigned, QString const&) () from /usr/qt/3/lib/libqt-mt.so.3
#2  0x4005c0f9 in nonExistantFile(QString const&) () from /usr/kde/3.2/lib/libnoatun.so.1
#3  0x4005c4e5 in Downloader::enqueue(DownloadItem*, KURL const&) ()
   from /usr/kde/3.2/lib/libnoatun.so.1
#4  0x4005bb4d in DownloadItem::enqueue(KURL const&) () from /usr/kde/3.2/lib/libnoatun.so.1
#5  0x4289aba9 in SafeListViewItem::SafeListViewItem(QListView*, QListViewItem*, KURL const&)
    () from /usr/kde/3.2/lib/kde3/noatun_splitplaylist.so
#6  0x4289dc8b in List::addFile(KURL const&, bool, QListViewItem*) ()
   from /usr/kde/3.2/lib/kde3/noatun_splitplaylist.so
#7  0x42899684 in SplitPlaylist::addFile(KURL const&, bool) ()
   from /usr/kde/3.2/lib/kde3/noatun_splitplaylist.so
#8  0x4006885a in Player::openFile(KURL const&, bool, bool) ()
   from /usr/kde/3.2/lib/libnoatun.so.1
#9  0x429f7d9a in Excellent::dropEvent(QDropEvent*) ()
   from /usr/kde/3.2/lib/kde3/noatun_excellent.so
#10 0x413fdd07 in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#11 0x414b5e02 in QMainWindow::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#12 0x4136e3a5 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#13 0x4136d795 in QApplication::notify(QObject*, QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#14 0x40e6065c in KApplication::notify(QObject*, QEvent*) ()
   from /usr/kde/3.2/lib/libkdecore.so.4
#15 0x41316407 in qt_handle_xdnd_drop(QWidget*, _XEvent const*, bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#16 0x41303f12 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
#17 0x413050f4 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
#18 0x4131ae77 in QEventLoop::processEvents(unsigned) () from /usr/qt/3/lib/libqt-mt.so.3
#19 0x41381606 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x413814a8 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x4136e5f1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3
#22 0x40017021 in kdemain () from /usr/kde/3.2/lib/libkdeinit_noatun.so
#23 0x0804881b in ?? ()
#24 0x00000002 in ?? ()
#25 0xbffff3e4 in ?? ()
#26 0xbffff3b8 in ?? ()
#27 0x41ef5dcc in __libc_start_main () from /lib/libc.so.6
Previous frame identical to this frame (corrupt stack?)
Comment 3 Stefan Gehn 2004-10-23 09:05:03 UTC
I will have a look at this if I have some free time again.
Comment 4 Dario Andres 2009-07-16 21:10:57 UTC
Is this still happening in the last version ? Thanks
Comment 5 jason 2009-07-16 22:12:32 UTC
Unfortunately, noatun is not installed or installable (as far as I can tell) on my current desktop - Ubuntu 9.04. As result, I cannot verify.
Comment 6 Dario Andres 2009-07-24 19:24:05 UTC
Thanks