Bug 73534 - KCMnotify crashes upon opening
Summary: KCMnotify crashes upon opening
Status: RESOLVED WORKSFORME
Alias: None
Product: kcontrol
Classification: Miscellaneous
Component: kcmknotify (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Carsten Pfeiffer
URL:
Keywords:
: 73518 73663 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-26 14:43 UTC by Dave Brown
Modified: 2004-04-06 19:04 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 Dave Brown 2004-01-26 14:43:29 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
OS:          Linux

Unable to access system notifications from kcontrol. Here is the crash report:

[New Thread 16384 (LWP 9168)]
0x41325a86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41325a86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x407bf70a in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4132496c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x081abdbc in ?? ()
#5  0x40eb15ae in QGList::sort() () from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0x41c1b5fd in QPtrList<KNotify::Application>::sort() ()
   from /opt/kde3/lib/kde3/kcm_knotify.so
#7  0x41c197bc in KCMKNotify::load() () from /opt/kde3/lib/kde3/kcm_knotify.so
#8  0x41c19078 in KCMKNotify::KCMKNotify(QWidget*, char const*, QStringList const&) () from /opt/kde3/lib/kde3/kcm_knotify.so
#9  0x41c1c3f1 in KDEPrivate::ConcreteFactory<KCMKNotify, QWidget>::create(QWidget*, char const*, QObject*, char const*, QStringList const&, KDEPrivate::Type2Type<QWidget>) () from /opt/kde3/lib/kde3/kcm_knotify.so
#10 0x41c1c35b in KDEPrivate::ConcreteFactory<KCMKNotify, QWidget>::create(QWidget*, char const*, QObject*, char const*, char const*, QStringList const&) ()
   from /opt/kde3/lib/kde3/kcm_knotify.so
#11 0x41c1c200 in KGenericFactory<KCMKNotify, QWidget>::createObject(QObject*, char const*, char const*, QStringList const&) ()
   from /opt/kde3/lib/kde3/kcm_knotify.so
#12 0x407d6531 in KLibFactory::create(QObject*, char const*, char const*, QStringList const&) () from /opt/kde3/lib/libkdecore.so.4
#13 0x41c83e18 in KCModule* KParts::ComponentFactory::createInstanceFromFactory<KCModule>(KLibFactory*, QObject*, char const*, QStringList const&) ()
   from /opt/kde3/lib/libkutils.so.1
#14 0x41c740d9 in KCModuleLoader::load(KCModuleInfo const&, QString const&, KLibLoader*, QWidget*, char const*, QStringList const&) ()
   from /opt/kde3/lib/libkutils.so.1
#15 0x41c7446b in KCModuleLoader::loadModule(KCModuleInfo const&, bool, QWidget*, char const*, QStringList const&) () from /opt/kde3/lib/libkutils.so.1
#16 0x41c33a50 in kdemain () from /opt/kde3/lib/libkdeinit_kcmshell.so
#17 0x4001a8a4 in kdeinitmain () from /opt/kde3/lib/kde3/kcmshell.so
#18 0x0804dbe9 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#19 0x0804eb61 in handle_launcher_request(int) ()
#20 0x0804f17d in handle_requests(int) ()
#21 0x080501d1 in main ()
Comment 1 Christian Loose 2004-01-29 10:52:09 UTC
*** Bug 73663 has been marked as a duplicate of this bug. ***
Comment 2 Edgar Nielson 2004-02-01 09:57:53 UTC
I too have SuSE 9.0 with the SuSE 'supplementary' KDE RPMs installed and
see this same problem. Here is my backtrace, which seems pretty similar
to the one above:

[New Thread 16384 (LWP 2554)]
0x41348a86 in waitpid () from /lib/i686/libpthread.so.0
#0  0x41348a86 in waitpid () from /lib/i686/libpthread.so.0
#1  0x407d870a in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4134796c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x081de658 in ?? ()
#5  0x40ec997e in QGList::sort() () from /usr/lib/qt3/lib/libqt-mt.so.3
#6  0x419625fd in QPtrList<KNotify::Application>::sort() ()
   from /opt/kde3/lib/kde3/kcm_knotify.so
#7  0x419607bc in KCMKNotify::load() () from /opt/kde3/lib/kde3/kcm_knotify.so
#8  0x41960078 in KCMKNotify::KCMKNotify(QWidget*, char const*, QStringList const&) () from /opt/kde3/lib/kde3/kcm_knotify.so
#9  0x419633f1 in KDEPrivate::ConcreteFactory<KCMKNotify, QWidget>::create(QWidget*, char const*, QObject*, char const*, QStringList const&, KDEPrivate::Type2Type<QWidget>) () from /opt/kde3/lib/kde3/kcm_knotify.so
#10 0x4196335b in KDEPrivate::ConcreteFactory<KCMKNotify, QWidget>::create(QWidget*, char const*, QObject*, char const*, char const*, QStringList const&) ()
   from /opt/kde3/lib/kde3/kcm_knotify.so
#11 0x41963200 in KGenericFactory<KCMKNotify, QWidget>::createObject(QObject*, char const*, char const*, QStringList const&) ()
   from /opt/kde3/lib/kde3/kcm_knotify.so
#12 0x407ef531 in KLibFactory::create(QObject*, char const*, char const*, QStringList const&) () from /opt/kde3/lib/libkdecore.so.4
#13 0x4171fe18 in KCModule* KParts::ComponentFactory::createInstanceFromFactory<KCModule>(KLibFactory*, QObject*, char const*, QStringList const&) ()
   from /opt/kde3/lib/libkutils.so.1
#14 0x417100d9 in KCModuleLoader::load(KCModuleInfo const&, QString const&, KLibLoader*, QWidget*, char const*, QStringList const&) ()
   from /opt/kde3/lib/libkutils.so.1
#15 0x4171046b in KCModuleLoader::loadModule(KCModuleInfo const&, bool, QWidget*, char const*, QStringList const&) () from /opt/kde3/lib/libkutils.so.1
#16 0x4002fa50 in kdemain () from /opt/kde3/lib/libkdeinit_kcmshell.so
#17 0x4001a8a4 in kdeinitmain () from /opt/kde3/lib/kde3/kcmshell.so
#18 0x0804dbe9 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#19 0x0804eb61 in handle_launcher_request(int) ()
#20 0x0804f17d in handle_requests(int) ()
#21 0x080501d1 in main ()
Comment 3 Aaron J. Seigo 2004-02-05 01:46:13 UTC
*** Bug 73518 has been marked as a duplicate of this bug. ***
Comment 4 Aaron J. Seigo 2004-02-05 01:47:30 UTC
i just committed a one-line change to CVS that may relate to this. here is the change, perhaps one of you could test it?

Index: knotify.cpp
===================================================================
RCS file: /home/kde/kdebase/kcontrol/knotify/knotify.cpp,v
retrieving revision 1.70
diff -u -3 -d -p -r1.70 knotify.cpp
--- knotify.cpp 8 Nov 2003 23:43:51 -0000       1.70
+++ knotify.cpp 5 Feb 2004 00:45:11 -0000
@@ -139,7 +139,7 @@ void KCMKNotify::load()
     for ( ; it != fullpaths.end(); ++it)
         m_notifyWidget->addApplicationEvents( *it );

-    ApplicationList& allApps = m_notifyWidget->allApps();
+    ApplicationList allApps = m_notifyWidget->allApps();
     allApps.sort();
     m_notifyWidget->setEnabled( !allApps.isEmpty() );
Comment 5 Dave Brown 2004-02-05 15:58:34 UTC
Downloaded the new KDE 3.2 Stable SuSE rpms install went fine no errors. Knotify is now working thanks a lot for your hard work. I just have to get the Konsole working for the users, because it comes up blank with no prompt, I have tried to use Kdesu Konsole command but su's path cannot be found. And I have to try and fix the problem with xcursor, we are using the tuxcursor and it works fine in kdm and gdm but as soon as you reach the KDE desktop the cursor changes back to the plain black version, as soon as you click the logout button tuxcursor comes back. The cursor works fine in Gnome.