Bug 62397 - Noatun crash when saving m3u file
Summary: Noatun crash when saving m3u file
Status: RESOLVED FIXED
Alias: None
Product: noatun
Classification: Unmaintained
Component: general (show other bugs)
Version: 2.2.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 22:28 UTC by Philip Wall
Modified: 2003-12-27 11:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
this is the m3u I was trying to save (1.30 KB, text/plain)
2003-08-11 01:43 UTC, Philip Wall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Wall 2003-08-08 22:29:00 UTC
Version:           2.2.1 (using KDE KDE 3.1.3)
Installed from:    Compiled From Sources
Compiler:          gcc 2.95.3 
OS:          Linux

Had noatun crash when saving a modified m3u playlist file created by another user.
Backtrace

[New Thread 1024 (LWP 27736)]
0x412e0089 in __wait4 () at __wait4:-1
	in __wait4
#0  0x412e0089 in __wait4 () at __wait4:-1
#1  0x4135ade0 in __DTOR_END__ () from /lib/libc.so.6
#2  0x411be7aa in waitpid (pid=27785, stat_loc=0x0, options=0)
    at wrapsyscall.c:173
#3  0x405d4fda in KCrash::defaultCrashHandler ()
   from /usr/local/kde/lib/libkdecore.so.4
#4  0x411bc144 in pthread_sighandler (signo=11, ctx=
      {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43, __dsh = 49168, edi = 136542248, esi = 136539576, ebp = 3221219776, esp = 3221219736, ebx = 1091130412, edx = 136542248, ecx = 7, eax = 48, trapno = 14, err = 4, eip = 1087646512, cs = 35, __csh = 0, eflags = 2163351, esp_at_signal = 3221219736, ss = 43, __ssh = 0, fpstate = 0xbfffe718, oldmask = 2147483648, cr2 = 56})
    at signals.c:97
#5  <signal handler called>
#6  0x40d42b30 in QTextStream::~QTextStream () from /www/qt/lib/libqt-mt.so.3
#7  0x405eba59 in KTempFile::close () from /usr/local/kde/lib/libkdecore.so.4
#8  0x41b25f70 in Noatun::KSaver::close ()
   from /usr/local/kde/lib/libnoatun.so.0
#9  0x41b099b2 in PlaylistSaver::saveXML ()
   from /usr/local/kde/lib/libnoatun.so.0
#10 0x41b08c8f in PlaylistSaver::save () from /usr/local/kde/lib/libnoatun.so.0
#11 0x4272a433 in View::saveToURL ()
   from /usr/local/kde/lib/kde3/noatun_splitplaylist.so
#12 0x4272c6ca in View::save ()
   from /usr/local/kde/lib/kde3/noatun_splitplaylist.so
#13 0x4272dc39 in View::qt_invoke ()
   from /usr/local/kde/lib/kde3/noatun_splitplaylist.so
#14 0x40a37283 in QObject::activate_signal () from /www/qt/lib/libqt-mt.so.3
#15 0x40a3716f in QObject::activate_signal () from /www/qt/lib/libqt-mt.so.3
#16 0x403b1cc4 in KAction::activated () from /usr/local/kde/lib/libkdeui.so.4
#17 0x403a5c82 in KAction::slotActivated ()
   from /usr/local/kde/lib/libkdeui.so.4
#18 0x403b1ec2 in KAction::qt_invoke () from /usr/local/kde/lib/libkdeui.so.4
#19 0x40a37323 in QObject::activate_signal () from /www/qt/lib/libqt-mt.so.3
#20 0x40a3716f in QObject::activate_signal () from /www/qt/lib/libqt-mt.so.3
#21 0x40d9afd0 in QButton::clicked () from /www/qt/lib/libqt-mt.so.3
#22 0x40aca764 in QButton::mouseReleaseEvent () from /www/qt/lib/libqt-mt.so.3
#23 0x40a725e6 in QWidget::event () from /www/qt/lib/libqt-mt.so.3
#24 0x409cd7db in QApplication::internalNotify ()
   from /www/qt/lib/libqt-mt.so.3
#25 0x409cd18e in QApplication::notify () from /www/qt/lib/libqt-mt.so.3
#26 0x4055613a in KApplication::notify ()
   from /usr/local/kde/lib/libkdecore.so.4
#27 0x409706ce in QETWidget::translateMouseEvent ()
   from /www/qt/lib/libqt-mt.so.3
#28 0x4096e508 in QApplication::x11ProcessEvent ()
   from /www/qt/lib/libqt-mt.so.3
#29 0x40983377 in QEventLoop::processEvents () from /www/qt/lib/libqt-mt.so.3
#30 0x409e416e in QEventLoop::enterLoop () from /www/qt/lib/libqt-mt.so.3
#31 0x409e40cb in QEventLoop::exec () from /www/qt/lib/libqt-mt.so.3
#32 0x409cd9ee in QApplication::exec () from /www/qt/lib/libqt-mt.so.3
#33 0x406b7a6d in main () from /usr/local/kde/lib/kde3/noatun.so
#34 0x0804d4ed in launch ()
#35 0x0804e329 in handle_launcher_request ()
#36 0x0804e81c in handle_requests ()
#37 0x0804f752 in main ()
#38 0x4125617d in __libc_start_main (main=0x804f110 <main>, argc=3, 
    ubp_av=0xbffff954, init=0x804b1a8 <_init>, fini=0x80507f0 <_fini>, 
    rtld_fini=0x4000a534 <_dl_fini>, stack_end=0xbffff94c)
    at ../sysdeps/generic/libc-start.c:129
Comment 1 Charles Samuels 2003-08-11 01:14:17 UTC
This bug isn't possible :( 
 
Maybe a compile bug, even though I doubt gcc 2.95 could do that... 
 
Comment 2 Charles Samuels 2003-08-11 01:34:42 UTC
I can't reproduce this bug report. 
Comment 3 Philip Wall 2003-08-11 01:43:24 UTC
Created attachment 2206 [details]
this is the m3u I was trying to save

Attached is the m3u I was trying to save. It has some comment lines in it that
I didn't put in there.
Comment 4 Philip Wall 2003-08-11 01:50:05 UTC
It does this on every m3u I try to save. I am using the k-jofol interface with
the kjofol skin.
Maybe I will just wipe out the KDE install and try a complete build again. The
QT version is 3.1.2.
Comment 5 Philip Wall 2003-08-11 01:51:22 UTC
Reopened till I see if the rebuild fixes it.
Comment 6 Charles Samuels 2003-08-11 02:04:24 UTC
This bug might have been fixed as a result of support for m3u extended tag support, new 
in KDE 3.2. 
Comment 7 Stefan Gehn 2003-08-11 15:20:48 UTC
and btw, you cannot save an extm3u at all in kde 3.1 so I don't really 
understand this bug at all. if you read in thatfile you'll get a on of broken 
playlist entries in noatun. After removing them and saving the playlist as m3u 
everything should be fine. 
If this bug is reproducable it might be helpful to recompile kde and qt with 
debug or find somebody with such a setup to reproduce this one. 
Comment 8 Philip Wall 2003-08-13 01:22:51 UTC
Complete rebuild of kde after wiping out all the installed files. Same crash.
The m3u does open and shows the files and bitrate but nothing in the time field
until after it's played the mp3 file.
Comment 9 Philip Wall 2003-08-13 02:15:37 UTC
This gets more interesting. The original M3U is just a text file with paths to
the mp3 files.
If I do a Save As in the playlist editor and save it with a different name it
producs some XML based playlist. Maybe thats part of the issue, when it crashes
it's looking for XML stuff which isn't present in the original and so it blows up.
After doing the save as routine and reopening the original list it doesn't crash
when I save the file but it's not actually modifing the file.
What bz2 download file is noatun a part of and I can try and redo just it with
debug on?
Comment 10 Stefan Gehn 2003-11-16 15:14:22 UTC
Noatun saves as xml by default, you can select a different format in the fileselector though. Try saving as m3u.
I'll check how current Noatun behaves as I added EXTM3U support which allows Noatun to cope with such commented m3u files (it can read AND write those files).
Comment 11 Stefan Gehn 2003-11-16 16:44:57 UTC
> when I save the file but it's not actually modifing the file. 
This might have been fixed, Noatun didn't warn the user if saving a file failed. This comment makes me think the file is readonly.
Comment 12 Philip Wall 2003-11-18 04:38:58 UTC
I'm using kde 3.1.4 still. The playlist editor still shows all the #EXTM3U tags as if they was files. And it still not saving files that I edit no matter the type, if they just generic names of files or contain the #EXTM3U stuff.
Comment 13 Stefan Gehn 2003-11-18 08:25:32 UTC
Wait for KDE 3.2, KDE 3.1 won't get EXTM3U support.
Comment 14 Stefan Gehn 2003-12-27 11:44:38 UTC
Closing as current Noatun can save EXTM3U just fine.