Bug 68796 - noatun crashes when saving playlist
Summary: noatun crashes when saving playlist
Status: RESOLVED DUPLICATE of bug 66182
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-22 16:20 UTC by Sean Clarke
Modified: 2003-12-18 00:55 UTC (History)
0 users

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 Sean Clarke 2003-11-22 16:20:41 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    SuSE RPMs
OS:          Linux

When removing a file from the playlist, I hit save and noatun ALWAYS crashes. very easy to reproduce, not related to bug66182 as I already have a playlist, I jusrt can't edit it and save it.
Comment 1 Sean Clarke 2003-11-22 16:22:24 UTC
Here is a stack trace:

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 5332)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
0x4128dcf7 in waitpid () from /lib/libpthread.so.0
#0  0x4128dcf7 in waitpid () from /lib/libpthread.so.0
#1  0x407baef0 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4128c895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x407d2667 in KTempFile::close() () from /opt/kde3/lib/libkdecore.so.4
#5  0x41c12cae in Noatun::KSaver::close() () from /opt/kde3/lib/libnoatun.so.1
#6  0x41bedb5e in PlaylistSaver::saveXML(KURL const&, int) ()
   from /opt/kde3/lib/libnoatun.so.1
#7  0x41becf32 in PlaylistSaver::save(KURL const&, int) ()
   from /opt/kde3/lib/libnoatun.so.1
#8  0x42e1c411 in View::saveToURL(KURL const&) ()
   from /opt/kde3/lib/kde3/noatun_splitplaylist.so
#9  0x42e1f1c0 in View::save() ()
   from /opt/kde3/lib/kde3/noatun_splitplaylist.so
#10 0x42e20763 in View::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/noatun_splitplaylist.so
#11 0x40bcbb91 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40bcb967 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x404d5508 in KAction::activated() () from /opt/kde3/lib/libkdeui.so.4
#14 0x404d4ea5 in KAction::slotActivated() () from /opt/kde3/lib/libkdeui.so.4
#15 0x404d5809 in KAction::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkdeui.so.4
#16 0x40bcbac6 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40bcb967 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40f044cc in QButton::clicked() () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40c5e0ac in QButton::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40c02104 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40b6deef in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40b6d2a3 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40749b0f in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#24 0x40b038d6 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40b0132d in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40b165ed in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40b81783 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40b81676 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40b6e10f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x408e30c1 in kdemain () from /opt/kde3/lib/libkdeinit_noatun.so
#31 0x408e0b34 in kdeinitmain () from /opt/kde3/lib/kde3/noatun.so
#32 0x0804e233 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#33 0x0804f524 in handle_launcher_request(int) ()
#34 0x0804fc39 in handle_requests(int) ()
#35 0x08051238 in main ()
#36 0x413ec8ae in __libc_start_main () from /lib/libc.so.6
Comment 2 Nilesh Bansal 2003-11-22 16:31:31 UTC
Here is backrtace from system running KDE from CVS, SuSE 9.0

[New Thread 16384 (LWP 13753)]
0x41311a86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41311a86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x407ced54 in KCrash::defaultCrashHandler(int) (sig=11)
    at /home/share/src/kde/kdelibs/kdecore/kcrash.cpp:246
#2  0x4131096c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x407eed0b in KTempFile::close() (this=0x827ad40)
    at /home/share/src/kde/kdelibs/kdecore/ktempfile.cpp:223
#5  0x41bf38f8 in Noatun::KSaver::close() (this=0xbfffde10)
    at /home/share/src/kde/kdemultimedia/noatun/library/ksaver.cpp:112
#6  0x41bca3aa in PlaylistSaver::saveXML(KURL const&, int) (this=0xbfffdfd0, 
    file=@0xbfffde10)
    at /home/share/src/kde/kdemultimedia/noatun/library/playlistsaver.cpp:151
#7  0x41bc9579 in PlaylistSaver::save(KURL const&, int) (this=0xbfffdfd0, 
    file=@0x1, opt=138463152)
    at /home/share/src/kde/kdemultimedia/noatun/library/playlistsaver.cpp:32
#8  0x42c87975 in View::saveToURL(KURL const&) (this=0x81dbc10, url=@0x81dbce8)
    at /home/share/src/kde/kdemultimedia/noatun/modules/splitplaylist/view.cpp:455
#9  0x42c8a73d in View::save() (this=0x81dbc10)
    at /home/share/src/kde/kdemultimedia/noatun/modules/splitplaylist/view.cpp:804
#10 0x42c8bbe0 in View::qt_invoke(int, QUObject*) (this=0x81dbc10, _id=73, 
    _o=0xbfffe0c0) at view.moc:284
#11 0x40bf969b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40bf9464 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x404d8415 in KAction::activated() (this=0x81e6b08) at qmetaobject.h:261
#14 0x404d7b2c in KAction::slotActivated() (this=0x81e6b08)
    at /home/share/src/kde/kdelibs/kdeui/kaction.cpp:1054
#15 0x404d84bc in KAction::qt_invoke(int, QUObject*) (this=0xbfffe0c0, 
    _id=-1073749804, _o=0xbfffe1e0) at kaction.moc:181
#16 0x40bf969b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40f27eaa in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40c14268 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40cfec0e in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40c30491 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40b976d6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40b97238 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x4072a02b in KApplication::notify(QObject*, QEvent*) (this=0xbfffec30, 
    receiver=0x81f44a8, event=0xbfffe770)
    at /home/share/src/kde/kdelibs/kdecore/kapplication.cpp:509
#24 0x40b2af76 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40b28b3c in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40b3ed7d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40bab980 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40bab876 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40b9796f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x408d7331 in kdemain (argc=7, argv=0x805ef58)
    at /home/share/src/kde/kdemultimedia/noatun/app/main.cpp:46
#31 0x408d4b40 in kdeinitmain (argc=7, argv=0x805ef58) at noatun_dummy.cpp:2
#32 0x0804db1f in launch (argc=7, _name=0x8066274 "noatun", 
    args=0x80662a2 "Noatun", cwd=0x0, envc=1, envs=0xbfffee40 "\200\n\003A", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80662be "nilesh;1069353782;651898;17697")
    at /home/share/src/kde/kdelibs/kinit/kinit.cpp:604
#33 0x0804ea30 in handle_launcher_request (sock=8)
    at /home/share/src/kde/kdelibs/kinit/kinit.cpp:1167
#34 0x0804f0ca in handle_requests (waitForPid=0)
    at /home/share/src/kde/kdelibs/kinit/kinit.cpp:1360
#35 0x08050056 in main (argc=2, argv=0x805b960, envp=0xbffff370)
    at /home/share/src/kde/kdelibs/kinit/kinit.cpp:1797
Comment 3 Stefan Gehn 2003-11-22 17:29:01 UTC
doesn't crash for me.
Try a "save as" first and see if that works. Eventually splitplaylist tries to save to an empty filename.
Comment 4 Sean Clarke 2003-11-22 19:02:54 UTC
Nice one Stefan, the workaround works fine for me.

Many thanks.
Comment 5 Stefan Gehn 2003-11-22 19:08:27 UTC
Ok, then I really need to incorporate the patch posted for bug #66182

*** This bug has been marked as a duplicate of 66182 ***
Comment 6 Scott Wheeler 2003-11-23 02:16:26 UTC
Subject: Re:  noatun crashes when saving playlist

Please learn to unsubscribe to lists that you subscribed to in the first 
place...

Note the link at the bottem of *every one of these mails* where you can 
unsubscribe.

- -Scott

On Sunday 23 November 2003 2:11, Ron Montgomery wrote:
> Please stop sending me this stuff
[...]
> https://mail.kde.org/mailman/listinfo/kde-multimedia

Comment 7 Mohd Asif Ali Rizwaan 2003-12-18 00:55:15 UTC
Thanks Stefen,

The very first time you have to save the playlist with "save as" then save will work normally.

Nice workaround.