Bug 73480 - crash on save playlist.
Summary: crash on save playlist.
Status: RESOLVED FIXED
Alias: None
Product: noatun
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 20:03 UTC by Mathieu Jobin
Modified: 2004-03-05 11:08 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 Mathieu Jobin 2004-01-25 20:03:16 UTC
Version:           unknown (using KDE 3.2.0 RC1, compiled sources)
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
OS:          Linux (i686) release 2.4.21-0.13mdk

I never save my playlist earlier....
the playlist window had a small disk on the taskbar saying (modified) in the title bar. i dont really mind. i never saved it.
well, i click on the small disk on the toolbar
CRASH

[New Thread 16384 (LWP 20374)]
0x4133e677 in waitpid () from /lib/i686/libpthread.so.0
#0  0x4133e677 in waitpid () from /lib/i686/libpthread.so.0
#1  0x407c3509 in KCrash::defaultCrashHandler(int) (sig=11) at kcrash.cpp:246
#2  0x4133d5ce in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  0x414aa3b8 in __libc_sigaction () from /lib/i686/libc.so.6
#4  0x416df8e8 in Noatun::KSaver::close() ()
   from /usr/local/kde/lib/libnoatun.so.1
#5  0x416b7c36 in PlaylistSaver::saveXML(KURL const&, int) ()
   from /usr/local/kde/lib/libnoatun.so.1
#6  0x416b6d89 in PlaylistSaver::save(KURL const&, int) ()
   from /usr/local/kde/lib/libnoatun.so.1
#7  0x42525da5 in View::saveToURL(KURL const&) ()
   from /usr/local/kde/lib/kde3/noatun_splitplaylist.so
#8  0x42528b9d in View::save() ()
   from /usr/local/kde/lib/kde3/noatun_splitplaylist.so
#9  0x42529fa8 in View::qt_invoke(int, QUObject*) ()
   from /usr/local/kde/lib/kde3/noatun_splitplaylist.so
#10 0x40c31f87 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x81f71b0, clist=0x81f7340, o=0xbfffea90) at kernel/qobject.cpp:2333
#11 0x40c31e26 in QObject::activate_signal(int) (this=0x81f71b0, signal=2)
    at kernel/qobject.cpp:2302
#12 0x404d20c6 in KAction::activated() (this=0x81f71b0) at kaction.moc:157
#13 0x404d1aa0 in KAction::slotActivated() (this=0x81f71b0) at kaction.cpp:1054
#14 0x404d23ca in KAction::qt_invoke(int, QUObject*) (this=0x81f71b0, _id=14, 
    _o=0xbfffebb0) at kaction.moc:181
#15 0x40c320d4 in QObject::activate_signal(QConnectionList*, QUObject*) (
    this=0x8200308, clist=0x82008b0, o=0xbfffebb0) at kernel/qobject.cpp:2357
#16 0x40c31e26 in QObject::activate_signal(int) (this=0x8200308, signal=4)
    at kernel/qobject.cpp:2302
#17 0x40fa3c21 in QButton::clicked() (this=0x8200308)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
#18 0x40cc58cf in QButton::mouseReleaseEvent(QMouseEvent*) (this=0x8200308, 
    e=0xbfffef40) at widgets/qbutton.cpp:820
#19 0x40c69321 in QWidget::event(QEvent*) (this=0x8200308, e=0xbfffef40)
    at kernel/qwidget.cpp:4426
#20 0x40bcf4d5 in QApplication::internalNotify(QObject*, QEvent*) (
    this=0xbffff360, receiver=0x8200308, e=0xbfffef40)
    at kernel/qapplication.cpp:2582
#21 0x40bcec8b in QApplication::notify(QObject*, QEvent*) (this=0xbffff360, 
    receiver=0x8200308, e=0xbfffef40) at kernel/qapplication.cpp:2368
#22 0x4073a93d in KApplication::notify(QObject*, QEvent*) (this=0xbffff360, 
    receiver=0x8200308, event=0xbfffef40) at kapplication.cpp:505
#23 0x40b665ab in QApplication::sendSpontaneousEvent(QObject*, QEvent*) (
    receiver=0x8200308, event=0xbfffef40) at kernel/qapplication.h:495
#24 0x40b5fdcb in QETWidget::translateMouseEvent(_XEvent const*) (
    this=0x8200308, event=0xbffff250) at kernel/qapplication_x11.cpp:4351
#25 0x40b5db0f in QApplication::x11ProcessEvent(_XEvent*) (this=0xbffff360, 
    event=0xbffff250) at kernel/qapplication_x11.cpp:3529
#26 0x40b77516 in QEventLoop::processEvents(unsigned) (this=0x8118f80, flags=4)
    at kernel/qeventloop_x11.cpp:192
#27 0x40be4e56 in QEventLoop::enterLoop() (this=0x8118f80)
    at kernel/qeventloop.cpp:198
#28 0x40be4d72 in QEventLoop::exec() (this=0x8118f80)
    at kernel/qeventloop.cpp:145
#29 0x40bcf659 in QApplication::exec() (this=0xbffff360)
    at kernel/qapplication.cpp:2705
#30 0x408cff56 in main () from /usr/local/kde/lib/kde3/noatun.so
#31 0x0804e1cc in launch (argc=8, _name=0x806277c "noatun", 
    args=0x80627f6 "\001", cwd=0x0, envc=1, envs=0x8062807 "", 
    reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x806280b "oultoubalzoo;1075055312;688360;2190")
    at kinit.cpp:604
#32 0x0804f4bf in handle_launcher_request (sock=8) at kinit.cpp:1167
#33 0x0804fba8 in handle_requests (waitForPid=0) at kinit.cpp:1360
#34 0x08051009 in main (argc=3, argv=0xbffff9d4, envp=0xbffff9e4)
    at kinit.cpp:1797
#35 0x414977f7 in __libc_start_main () from /lib/i686/libc.so.6
Comment 1 Stefan Gehn 2004-01-25 20:28:38 UTC
Without debug information I can do little here.
Also there's a safeguard at the top of PlaylistSaver::save() in case the URL to save to is empty or invalid (we had a similar crash like that before which was fixed in splitplaylist).
Comment 2 Piotr Marcinkiewicz 2004-03-05 10:36:28 UTC
Version:2.2.1  (using KDE 3.1.2 (unstable), from binary debian package)
OS: Linux (AMD Athlon(tm)) kernel 2.4.25 Debian 

When I tried to save playlist Noautn CRASH:

[no debug symbols...]
symbols found)...0x41183bd8 in waitpid () from /lib/libpthread.so.0
#0  0x41183bd8 in waitpid () from /lib/libpthread.so.0
#1  0x406cfcb0 in ?? () from /usr/lib/libkdecore.so.4
#2  0x4062f11c in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4

I used Noatun next time and I chose Save as and playlist was saved without CRASH. I checked configuration in file noautunrc. Section:

[splitplaylist]
current=109
file=/root/myplaylist.m3u
modified=false

I removed line with myplalist.m3u and run noautn. When I saved noautun CRASH.

There is some bug - noatun don't check this file value properly before saving playlist file.
Comment 3 Stefan Gehn 2004-03-05 11:08:13 UTC
I'm quite sure that this is fixed in KDE 3.2.x.