Summary: | ksystraycmd crashes after start | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Wolfgang <checkitout> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, barafu, cbell44, erik, hein, JamesDHolby, kde, l.lunak, makhtar.diouf, mos_alex, nadavkav, pdezac-linux, pfeiffer, pmontepagano, rich, sponsoredbythewind, tietavainen, torjt56, uwe.eggert, v0336es, wdmlist |
Priority: | NOR | ||
Version: | 4.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Wolfgang
2008-09-06 11:23:49 UTC
I'm experiencing the same crash, as are Pino Toscano (pinotree) and various people on #kde. Here's a backtrace from Pino, pointing to kdelibs/kdeui/windowmanagement: [Switching to Thread 0x7f3f20947780 (LWP 20976)] 0x00007f3f200bb5d9 in NETRootInfo::update (this=0x784338, dirty_props=0x784640) at KDE/kdelibs/kdeui/windowmanagement/netwm.cpp:2140 2140 addClient(wins[n]); (gdb) bt #0 0x00007f3f200bb5d9 in NETRootInfo::update (this=0x784338, dirty_props=0x784640) at KDE/kdelibs/kdeui/windowmanagement/netwm.cpp:2140 #1 0x00007f3f200bd44c in NETRootInfo::activate (this=0x784338) at KDE/kdelibs/kdeui/windowmanagement/netwm.cpp:818 #2 0x00007f3f200ab169 in KWindowSystemPrivate::activate (this=0x784310) at KDE/kdelibs/kdeui/windowmanagement/kwindowsystem_x11.cpp:122 #3 0x00007f3f200ab30b in KWindowSystem::init (what=1) at KDE/kdelibs/kdeui/windowmanagement/kwindowsystem_x11.cpp:370 #4 0x00007f3f200aca44 in KWindowSystem::connectNotify (this=0x783b70, signal=0x40637b "2windowAdded(WId)") at KDE/kdelibs/kdeui/windowmanagement/kwindowsystem_x11.cpp:348 #5 0x00007f3f1ea91727 in QObject::connect (sender=0x783b70, signal=0x40637c "windowAdded(WId)", receiver=0x7fff28a95200, method=0x40636a "windowAdded(WId)", type=Qt::AutoConnection) at kernel/qobject.cpp:2455 #6 0x0000000000404e43 in QObject::connect (this=0x7fff28a95200, asender=0x783b70, asignal=0x40637b "2windowAdded(WId)", amember=0x406369 "1windowAdded(WId)", atype=Qt::AutoConnection) at qt-copy/include/QtCore/../../src/corelib/kernel/qobject.h:309 #7 0x0000000000403984 in KSysTrayCmd::startClient (this=0x7fff28a95200) at KDE/kdebase/workspace/ksystraycmd/ksystraycmd.cpp:174 #8 0x0000000000404142 in KSysTrayCmd::start (this=0x7fff28a95200) at KDE/kdebase/workspace/ksystraycmd/ksystraycmd.cpp:69 #9 0x0000000000405bac in main (argc=2, argv=0x7fff28a95818) at KDE/kdebase/workspace/ksystraycmd/main.cpp:132 CC'ing Lubos. I don't see why the code should crash there. Probably a corruption somewhere else. *** Bug 176421 has been marked as a duplicate of this bug. *** *** Bug 177078 has been marked as a duplicate of this bug. *** *** Bug 171801 has been marked as a duplicate of this bug. *** Happens for me, too, every time, no matter what program I try to launch. $ ksystraycmd --version Qt: 4.4.2 KDE: 4.2.00 (KDE 4.2.0) KSysTrayCmd: KSysTrayCmd 0.1 $ ksystraycmd kcalc KCrash: Application 'ksystraycmd' crashing... sock_file=/home/paul/.kde4/socket-e6600/kdeinit4__0 Backtrace says: Application: KSysTrayCmd (ksystraycmd), signal SIGSEGV 0x00007f594d297d90 in nanosleep () from /lib/libc.so.6 Thread 1 (Thread 0x7f5951316750 (LWP 28918)): [KCrash Handler] #5 0x00007f5950ca92e2 in NETRootInfo::update () from /usr/lib64/libkdeui.so.5 #6 0x00007f5950c9981d in KWindowSystemPrivate::activate () from /usr/lib64/libkdeui.so.5 #7 0x00007f5950c9ce5b in KWindowSystem::connectNotify () from /usr/lib64/libkdeui.so.5 #8 0x00007f594f0afaf7 in QObject::connect () from /usr/lib64/qt4/libQtCore.so.4 #9 0x0000000000403b20 in KSysTrayCmd::startClient () #10 0x000000000040456d in KSysTrayCmd::start () #11 0x0000000000405bdf in main () The bug is still here, ksystraycmd in completely unusable in kde-4.2.0 Same output as Wolfgang after new install on AMD64:occurred immediately upon logging in. *** Bug 188619 has been marked as a duplicate of this bug. *** still broken kde 4.2.2 Linux kubuntu 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009 x86_64 GNU/Linux Still happening after recent kernel upgrade. Happens on login only in my case. The application KsysTrayCmd (ksystraycmd) crashed and caused the signal 11(SIGSEGV). Please help us improve the software you use by filing a bug report at http://bugs.kde.org. Useful details include how to reproduce the (see information below) /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ This backtrace appears to be of no use. This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash. (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) [Thread debugging using libthread_db enabled] [New Thread 0x7f5bfc4246f0 (LWP 6937)] (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) 0x00007f5bf9c686b0 in nanosleep () from /lib/libc.so.6 [Current thread is 0 (process 6937)] Thread 1 (Thread 0x7f5bfc4246f0 (LWP 6937)): #0 0x00007f5bf9c686b0 in nanosleep () from /lib/libc.so.6 #1 0x00007f5bf9c68507 in sleep () from /lib/libc.so.6 #2 0x00007f5bfbec3b0f in ?? () from /usr/lib/libkdeui.so.5 #3 0x00007f5bfbec444a in KCrash::defaultCrashHandler () from /usr/lib/libkdeui.so.5 #4 <signal handler called> #5 0x00007f5bfadba368 in XGetWindowProperty () from /usr/lib/libX11.so.6 #6 0x00007f5bfbf88cf6 in NETRootInfo::update () from /usr/lib/libkdeui.so.5 #7 0x00007f5bfbf79fdd in ?? () from /usr/lib/libkdeui.so.5 #8 0x00007f5bfbf7d7db in KWindowSystem::connectNotify () from /usr/lib/libkdeui.so.5 #9 0x00007f5bfb200d27 in QObject::connect () from /usr/lib/libQtCore.so.4 #10 0x0000000000403760 in _start () #0 0x00007f5bf9c686b0 in nanosleep () from /lib/libc.so.6 Adding back all the CC that got removed by the previous comment. The same thing for me, with the same backtrace. However, it disappeared when I removed LinuxDC++ from autorun. (It places a tray icon in kde3) When strating manually, it doesn't place tray icon, but no crashes. Pidgin, for example, starts and shows tray icon normally. Please, fix this. ksystraycmd is completely unusable. Will it work with GTK apps (i.e., Firefox)? (In reply to comment #15) > Please, fix this. ksystraycmd is completely unusable. Will it work with GTK > apps (i.e., Firefox)? It does not work with anything that I've seen. It fails every time. As a workaround I am using the program "alltray". Are you still getting the crash with KDE4.2x+ or KDE4.3x+ ? Thanks I am still getting the crash with kde-4.2.3. Could you tell me what command are you using to start ksystraycmd (any example) so I can test it? As it doesn't crash for me here using 4.3trunk. Thanks I switched from stock Qt to Qt-copy and now the crash is gone... using KDE 4.2.3 However ksystraycmd doesn't work properly but I suppose that's a different bug :) @Paul: what Qt4 version were you using previously ? It may be unrelated so that's why I am wondering. Thanks I believe I was using Qt 4.5.1 release, now using qt-copy from cvs/svn/git/whatever it is on. Maybe it's just a coincidence but I had never used qt-copy before and ksystraycmd had never worked before in any kde4 version. :) *** Bug 191210 has been marked as a duplicate of this bug. *** I've made some fixes in r972595 and r972590 that will hopefully address this. I wonder if bug 196552 could be related to this too. I don't get the crash any more, but I get this output: ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "ksystraycmd" ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "ksystraycmd" ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "ksystraycmd" ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon "ksystraycmd" The icon that shows up in the systray is not of the app I want to launch, it's just the plasma icon. And whenever I click on it, the panel simply disappears, and I have to kill plasma and run it again to get it back. Same behaviour with different types of apps (Firefox, for example). I'm on KDE 4.2.3, so probably my report is outdated. Sorry for my lag. (In reply to comment #26) > I don't get the crash any more, but I get this output: > > ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon > "ksystraycmd" > ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon > "ksystraycmd" > ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon > "ksystraycmd" > ksystraycmd(14711)/kdeui (KIconLoader) KIconLoader::loadIcon: No such icon > "ksystraycmd" > > This happens because, indeed, there is no "ksystraycmd" icon > The icon that shows up in the systray is not of the app I want to launch, it's > just the plasma icon. > And whenever I click on it, the panel simply disappears, and I have to kill > plasma and run it again to get it back. Same behaviour with different types of > apps (Firefox, for example). > This happens because if you do not specify the "-window" regexp parameter, KSystraycmd will take the first window ID it gets (like the WID of the desktop or panel of Plasma) and put its icon. (this will happen even if you start a new application like "ksystraycmd kwrite") > I'm on KDE 4.2.3, so probably my report is outdated. Sorry for my lag. This is still valid on trunk. I was planning on refactoring this app a bit but it will need to wait until 4.4 Regards (In reply to comment #27) > This happens because if you do not specify the "-window" regexp parameter, > KSystraycmd will take the first window ID it gets (like the WID of the desktop > or panel of Plasma) and put its icon. (this will happen even if you start a new > application like "ksystraycmd kwrite") Thank you! Now it does work! Using ksystraycmd --window Mozilla --icon /usr/share/pixmaps/firefox.png firefox now I can have Firefox in the systray. One little detail: right-clicking on the icon produces two dialogs (one on top of the other): one for the Firefox window and the other for ksystraycmd. It's still very useful *** Bug 200579 has been marked as a duplicate of this bug. *** *** Bug 196552 has been marked as a duplicate of this bug. *** SVN commit 1000474 by cfeck: Fix reentrancy problem in NETRootInfo::update See http://lists.kde.org/?l=kwin&m=124791974016062&w=2 Reviewed by Luboš Luňák BUG: 170519 CCMAIL: kwin@kde.org M +15 -6 netwm.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1000474 SVN commit 1000475 by cfeck: Fix reentrancy problem in NETRootInfo::update (backport r1000474) CCBUG: 170519 M +15 -6 netwm.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1000475 *** Bug 201355 has been marked as a duplicate of this bug. *** *** Bug 202314 has been marked as a duplicate of this bug. *** *** Bug 202853 has been marked as a duplicate of this bug. *** *** Bug 253350 has been marked as a duplicate of this bug. *** |