Summary: | Plasma crash when adding widgets [KDE 4.2 RC1] | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Heimen <cooleboy121HS> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | andresbajotierra, aseigo, colin.thomson, joerg.baeuerle, krzysin, miketrml |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The Plasma crash provided by .xsessionerrors |
Description
Heimen
2009-01-15 21:07:29 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :) and note that you can just do Alt+F2 and enter plasma there to get it back. I'm going to provide a backtrace as soon as possible. And I already told that restarting Plasma doesn't work. Created attachment 30342 [details]
The Plasma crash provided by .xsessionerrors
I got no backtrace from Plasma, because I didn't get the crash dialog. But I do got something from .xsessionerrors (provided in the attachment above) Note that this happens with all widgets, not only the one in the log. Any progress yet or do you need more information? A backtrace is absolutely impossible, because when Plasma crashes, there is no Crash Handler dialog. In order to get a backtrace you can try this: - Open a Konsole window - Type "kquitapp plasma" and press Return Plasma is closed - Type "gdb plasma" , press Return (you need to have "gdb" installed) - Type "set args --nofork" and press Return - Type "set logging on" and press Return (this will create a file named gdb.txt , so ensure there's no other file with that name) - Type "run" and press Return Plasma will launch - Now, reproduce the crash Plasma will crash - Return to the Konsole/GDB window - Type "bt full" and press return until there's no more backtrace output Finally post the gdb.txt file contents here inline (don't attach it , just paste ! :) Thanks Thanks for helping on how to get a backtrace :) Here it is: Starting program: /usr/bin/plasma --nofork (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb46e4900 (LWP 22735)] [New Thread 0xa8da7b90 (LWP 22740)] [New Thread 0xa78a1b90 (LWP 22744)] [New Thread 0xa7002b90 (LWP 22745)] [New Thread 0xa6801b90 (LWP 22746)] [New Thread 0xa5fbeb90 (LWP 22747)] [Thread 0xa5fbeb90 (LWP 22747) exited] [Thread 0xa6801b90 (LWP 22746) exited] [New Thread 0xa6801b90 (LWP 22748)] [New Thread 0xa5fbeb90 (LWP 22749)] Program received signal SIGTERM, Terminated. [Switching to Thread 0xb46e4900 (LWP 22735)] 0xb646c5c2 in memmove () from /lib/tls/i686/cmov/libc.so.6 #0 0xb646c5c2 in memmove () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xb66fe8c1 in QRectF::normalized () from /usr/lib/libQtCore.so.4 No symbol table info available. #2 0xb66fee51 in QRectF::intersects () from /usr/lib/libQtCore.so.4 No symbol table info available. #3 0xa9075428 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #4 0xa9075ade in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #5 0xa907a982 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #6 0xa90739f2 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #7 0xa9074336 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #8 0xb67d2a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #9 0xb67d37e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #10 0xb7edc669 in Plasma::Containment::appletAdded () from /usr/lib/libplasma.so.3 No symbol table info available. #11 0xb7ee3c9a in Plasma::Containment::addApplet () from /usr/lib/libplasma.so.3 No symbol table info available. #12 0xb7ee404c in ?? () from /usr/lib/libplasma.so.3 No symbol table info available. #13 0xb7ee42a9 in Plasma::Containment::addApplet () from /usr/lib/libplasma.so.3 No symbol table info available. #14 0xb8058b4b in ?? () from /usr/lib/libkdeinit4_plasma.so No symbol table info available. #15 0xb805dfe3 in ?? () from /usr/lib/libkdeinit4_plasma.so No symbol table info available. #16 0xb67d2a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #17 0xb67d37e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #18 0xb77306a7 in KDialog::applyClicked ( this=0x94cebb8) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kdeui/kdialog.moc:235 No locals. #19 0xb7733545 in KDialog::slotButtonClicked ( this=0x94cebb8, button=8) at /build/buildd/kde4libs-4.1.96/kdeui/dialogs/kdialog.cpp:847 d = (KDialogPrivate * const) 0x94ef548 #20 0xb77337d4 in KDialog::qt_metacall ( this=0x94cebb8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbffb7b2c) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kdeui/kdialog.moc:181 No locals. #21 0xb805d95a in ?? () from /usr/lib/libkdeinit4_plasma.so No symbol table info available. #22 0xb67d2a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #23 0xb67d37e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #24 0xb67d6873 in QSignalMapper::mapped () from /usr/lib/libQtCore.so.4 No symbol table info available. #25 0xb67d70fd in QSignalMapper::map () from /usr/lib/libQtCore.so.4 No symbol table info available. #26 0xb67d72ee in QSignalMapper::map () from /usr/lib/libQtCore.so.4 No symbol table info available. #27 0xb67d7bbb in QSignalMapper::qt_metacall () from /usr/lib/libQtCore.so.4 No symbol table info available. #28 0xb67d2a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #29 0xb67d2e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #30 0xb703be61 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4 No symbol table info available. #31 0xb6d8f199 in ?? () from /usr/lib/libQtGui.so.4 No symbol table info available. #32 0xb6d90d94 in ?? () from /usr/lib/libQtGui.so.4 No symbol table info available. #33 0xb6d91026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 No symbol table info available. #34 0xb6aa5962 in QWidget::event () from /usr/lib/libQtGui.so.4 No symbol table info available. #35 0xb6d8f03e in QAbstractButton::event () from /usr/lib/libQtGui.so.4 No symbol table info available. #36 0xb6e35910 in QPushButton::event () from /usr/lib/libQtGui.so.4 No symbol table info available. #37 0xb6a4d8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 No symbol table info available. #38 0xb6a560e1 in QApplication::notify () from /usr/lib/libQtGui.so.4 No symbol table info available. #39 0xb77ce04d in KApplication::notify ( this=0x8e4fd30, receiver=0x94eeda0, event=0xbffb8288) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307 No locals. #40 0xb67bde61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 No symbol table info available. #41 0xb6a5536e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 No symbol table info available. #42 0xb6abf656 in ?? () from /usr/lib/libQtGui.so.4 No symbol table info available. #43 0xb6abe9e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 No symbol table info available. #44 0xb6ae87aa in ?? () from /usr/lib/libQtGui.so.4 No symbol table info available. #45 0xb57126f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #46 0xb5715da3 in ?? () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #47 0xb5715f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #48 0xb67e8478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 No symbol table info available. #49 0xb6ae7ea5 in ?? () from /usr/lib/libQtGui.so.4 No symbol table info available. #50 0xb67bc52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 No symbol table info available. #51 0xb67bc6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4 No symbol table info available. #52 0xb67beda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 No symbol table info available. #53 0xb6a4d767 in QApplication::exec () from /usr/lib/libQtGui.so.4 No symbol table info available. #54 0xb803cd86 in kdemain () from /usr/lib/libkdeinit4_plasma.so No symbol table info available. #55 0x08048712 in _start () No symbol table info available. Interesting, however you still need to install debug packages for "kdebase" and "kdebase-workspace". Read how to get them in comment 1. Thanks :) Those debug packages are already installed, according to Adept. I have a similar problem with kde 4.2 (ubuntu 8.04) 100% cpu load (plasma) strace /usr/bin/plasma ... access("/usr/share/locale-langpack/en_US/LC_SCRIPTS/plasma_applet_quickaccess/plasma_applet_quickaccess.js", R_OK) = -1 ENOENT (No such file or directory) access("/home/krzysin/.kde/share/locale/en_US/LC_SCRIPTS/plasma_applet_launcher/plasma_applet_launcher.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/en_US/LC_SCRIPTS/plasma_applet_launcher/plasma_applet_launcher.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale-langpack/en_US/LC_SCRIPTS/plasma_applet_launcher/plasma_applet_launcher.js", R_OK) = -1 ENOENT (No such file or directory) access("/home/krzysin/.kde/share/locale/en_US/LC_SCRIPTS/plasma_animator_default/plasma_animator_default.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/en_US/LC_SCRIPTS/plasma_animator_default/plasma_animator_default.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale-langpack/en_US/LC_SCRIPTS/plasma_animator_default/plasma_animator_default.js", R_OK) = -1 ENOENT (No such file or directory) access("/home/krzysin/.kde/share/locale/en_US/LC_SCRIPTS/plasma_applet_panel/plasma_applet_panel.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/en_US/LC_SCRIPTS/plasma_applet_panel/plasma_applet_panel.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale-langpack/en_US/LC_SCRIPTS/plasma_applet_panel/plasma_applet_panel.js", R_OK) = -1 ENOENT (No such file or directory) access("/home/krzysin/.kde/share/locale/en_US/LC_SCRIPTS/plasma-shells-common/plasma-shells-common.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/en_US/LC_SCRIPTS/plasma-shells-common/plasma-shells-common.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale-langpack/en_US/LC_SCRIPTS/plasma-shells-common/plasma-shells-common.js", R_OK) = -1 ENOENT (No such file or directory) access("/home/krzysin/.kde/share/locale/en_US/LC_SCRIPTS/libplasma/libplasma.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/en_US/LC_SCRIPTS/libplasma/libplasma.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale-langpack/en_US/LC_SCRIPTS/libplasma/libplasma.js", R_OK) = -1 ENOENT (No such file or directory) access("/home/krzysin/.kde/share/locale/en_US/LC_SCRIPTS/plasma/plasma.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale/en_US/LC_SCRIPTS/plasma/plasma.js", R_OK) = -1 ENOENT (No such file or directory) access("/usr/share/locale-langpack/en_US/LC_SCRIPTS/plasma/plasma.js", R_OK) = -1 ENOENT (No such file or directory) gettimeofday({1233260466, 111032}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {12332, 752119163}) = 0 gettimeofday({1233260466, 111616}, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {12332, 752381208}) = 0 select(4, [3], [3], NULL, NULL) = 1 (out [3]) writev(3, [{"5 \4\0003\302\200\1\177\0\0\0008\1u\0\224\4\5\0004\302\200\0013\302\200\1&\0\0\0\0"..., 7488}, {NULL, 0}, {""..., 0}], 3) = 7488 select(4, [3], [], NULL, NULL) = 1 (in [3]) read(3, "\1\1\273\n\222\4\0\0\0\0\0\0 \340\360\t\0\0\0\0\24\0\0\0 \340\360\t \340\360\t\0"..., 4096) = 4096 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 616) = 616 read(3, 0x96014f8, 4096) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_MONOTONIC, {12332, 759428195}) = 0 gettimeofday({1233260466, 118927}, NULL) = 0 The problem still persists in KDE 4.2 Final. @krzysin: can you post the GDB backtrace or the Valgrind output of your crash? It may be unrelated to the one in comment #8. Thanks Program received signal SIGTERM, Terminated. [Switching to Thread 0xb5495710 (LWP 27246)] 0xb64802bd in memmove () from /lib/tls/i686/cmov/libc.so.6 (gdb) bt full #0 0xb64802bd in memmove () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xb6715961 in QRectF::normalized () from /usr/lib/libQtCore.so.4 No symbol table info available. #2 0xb6715ef1 in QRectF::intersects () from /usr/lib/libQtCore.so.4 No symbol table info available. #3 0xa9dac428 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #4 0xa9dacade in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #5 0xa9db1972 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #6 0xa9daa9f2 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #7 0xa9dab336 in ?? () from /usr/lib/kde4/plasma_containment_desktop.so No symbol table info available. #8 0xb67e9c10 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #9 0xb67ea992 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 No symbol table info available. #10 0xb7ef66d9 in Plasma::Containment::appletAdded () from /usr/lib/libplasma.so.3 No symbol table info available. #11 0xb7efdeea in Plasma::Containment::addApplet () from /usr/lib/libplasma.so.3 No symbol table info available. #12 0xb7efe29c in ?? () from /usr/lib/libplasma.so.3 No symbol table info available. #13 0xb7efe4f9 in Plasma::Containment::addApplet () from /usr/lib/libplasma.so.3 No symbol table info available. #14 0xb8072f4b in ?? () from /usr/lib/libkdeinit4_plasma.so The backtraces look like bug 174274 I am also seeing this with 4.2 on my F10 box, however dragging the widgets to the Desktop does not cause the crash. @Colin: are you getting the same backtrace? Thanks I am unable to get a backtrace even with gdb, the desktop seems to freeze and the only solution is to "close" the add widget d/box, this results in it being terminated and I have to restart Plasma. I am now not sure if this is related to this bug or not. Update: I just removed my plasma* rc files and started over and all is OK now. Sorry for the noise. @Colin: when you think that a broken config file may be the cause of a bug, you may backup it before removing it, so you can later post it in the bugtracker to help to triage and fix the bug (and also you can recover your settings later) :) Darío, I did move the plasma*rc files out of the way, I never deleted them. A poor choice of words by me :) I'll keep them safe in case there needed. @Colin: great :) Can you attach them so we can check them ? Can you please tell me where the plasma*rc files are and which files you deleted so I too can try if it helps? The files are in "~/.kde4/share/config/" Even after removing those files, the bug still exists. (In reply to comment #22) Darío, I just got home and switched on the box and the problem is back :( so removing the plasma*rc files only temporarily fixed it. I will test some more this evening. I can confirm this bug exists with KDE 4.2 final. I'm using Arch Linux, bleeding edge per their repos. Plasma, when this problem occurs, 'top's at 95-100% system load for me, hanging the desktop almost entirely. This is the third or fourth time, exhibiting these symptoms and performing these steps, plasma has decided to drop on me in the last two weeks. Each of these times the lockup has been a result of attempting to load desktop widgets, and at no time has only a singular desktop widget been the cause. No matter the selection, sometimes plasma will work and sometimes it outright refuses, hanging in the process. As mentioned before by another, the solution is to enter the terminal (I always have one open on a desktop) and do a "killall plasma" + "plasma". As a result of the command, I'm back running again with my setup before attempting to add a widget. Mentioned before, removing the plasma*rc files did change the inability to add plasma items the last go-around. Unfortunately, it also affected my desktop's contents greatly and forced a setup from a fresh start. Considering this is the second time I would have to do this in as many weeks, I'm posting here in hopes this bug will be fixed in a timely manner. I'll help any way that I can. I have exactly the same problem as the initial bug report creator. Funnily enough I can drag and drop widgets to the desktop, but when I use the "add widget" button, Plasma freezes. The button works fine though when adding widgets to a panel. I'm using the latest KDE 4.2 with Arch Linux. Well, over the past week or so I have not been able to reproduce this now, the only thing I have changed is the Desktop Theme. I have no idea if that would of caused the problem. The bug seems to be gone now on Kubuntu 8.10 with KDE 4.2 Don't know if it's temporary or not, but I'll keep an eye open. And it's not because of changing the Desktop Theme, because I changed it, but my dad didn't. He still uses the default Desktop Theme and the bug seems to have dissappeared on his computer too. I've just updated my whole system and my distro's package manager upgraded a whole bunch of KDE stuff. The bug is gone. I'm not sure whether it was releated to the update, but it seems most likely. |