[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: Re: Bug#39901: Noatun crash at startup
From: Neil Stevens <neil () qualityassistant ! com>
Date: 2002-03-29 9:02:52
[Download RAW message or body]
On Friday March 29, 2002 12:45, Neil Stevens wrote:
> On Friday March 29, 2002 12:30, Stephan Binner wrote:
> > #5 <signal handler called>
> > #6 0x4007736e in NoatunStdAction::PlaylistAction::PlaylistAction (
> > this=0x8163418, parent=0x815e148, name=0x4187f066 "show_playlist")
> > at noatunstdaction.cpp:50
>
> I ran into this. This is what you get when loading your playlist fails.
>
> Stephan: What playlist do you use?
(After a discussion on IRC)
The problem here is that noatun.upd didn't take effect somehow.
tron.plugin was in his Modules= line.
Attached is a patch that loads SPL when there is no playlist loaded on
startup. This should avoid the crashing at least. I think this belongs
on BRANCH, too, so please test.
--
Neil Stevens - neil@qualityassistant.com
"I always cheer up immensely if an attack is particularly wounding
because I think, well, if they attack one personally, it means they
have not a single political argument left." - Margaret Thatcher
["playlist-crash-fix" (text/x-diff)]
Index: app.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/noatun/library/app.cpp,v
retrieving revision 1.10
diff -u -r1.10 app.cpp
--- app.cpp 2002/03/17 19:47:06 1.10
+++ app.cpp 2002/03/29 09:01:05
@@ -375,6 +375,9 @@
void NoatunApp::loadPlugins()
{
mLibraryLoader->loadAll();
+ // backup in case of trouble
+ if(!mLibraryLoader->playlist())
+ mLibraryLoader->add("splitplaylist.plugin");
}
void NoatunApp::cleverKCrashHack(int)
_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic