Bug 251460 - Closing KDE session crashes Plasma [ref, QBrush, QPalette, ..., KDialog::saveDialogSize, KNS3::DownloadDialog::~DownloadDialog]
Summary: Closing KDE session crashes Plasma [ref, QBrush, QPalette, ..., KDialog::save...
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: knewstuff (other bugs)
Version First Reported In: 4.7
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 259561 262341 268873 269531 275335 277144 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-16 16:23 UTC by Kamil Navratil
Modified: 2012-09-05 07:20 UTC (History)
15 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 4.8.x
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (929 bytes, text/plain)
2010-09-16 18:21 UTC, muratcakir13
Details
New crash information added by DrKonqi (2.89 KB, text/plain)
2010-10-05 21:38 UTC, Dimitrios Glentadakis
Details
New crash information added by DrKonqi (4.13 KB, text/plain)
2010-11-09 01:33 UTC, Mathias Panzenböck
Details
New crash information added by DrKonqi (19.14 KB, text/plain)
2011-02-28 00:31 UTC, Valentin Rusu
Details
New crash information added by DrKonqi (4.86 KB, text/plain)
2011-08-31 12:00 UTC, Unknown
Details
New crash information added by DrKonqi (4.02 KB, text/plain)
2011-10-18 05:31 UTC, Dimitrios Glentadakis
Details
New crash information added by DrKonqi (3.70 KB, text/plain)
2012-02-16 07:53 UTC, radistaneva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Navratil 2010-09-16 16:23:54 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1) "release 3"
Qt Version: 4.6.3
Operating System: Linux 2.6.35.1kana-1 i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
Adding new plasmoids from build-in menu then logging out of the session.

-- Backtrace:
Application: Pracovní plocha Plasma (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5a8d700 (LWP 4339))]

Thread 2 (Thread 0xa9109b70 (LWP 4961)):
#0  0xb781e424 in __kernel_vsyscall ()
#1  0xb6d56d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb41d1957 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb41d199f in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb6d526e5 in start_thread () from /lib/libpthread.so.0
#5  0xb6d52600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb5a8d700 (LWP 4339)):
[KCrash Handler]
#7  ref (this=<value optimized out>) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QBrush::QBrush (this=<value optimized out>) at painting/qbrush.cpp:421
#9  0xb64496ab in QPalettePrivate (this=<value optimized out>) at kernel/qpalette.cpp:53
#10 QPalette::init (this=<value optimized out>) at kernel/qpalette.cpp:734
#11 0xb644b38a in QPalette::QPalette (this=0xa2586d0, button=black) at kernel/qpalette.cpp:639
#12 0xb6409a5a in QApplication::palette () at kernel/qapplication.cpp:1654
#13 0xb644953a in QPalette::QPalette (this=0xb9425e0) at kernel/qpalette.cpp:589
#14 0xb645e23f in QWidgetData (this=<value optimized out>) at ../../src/gui/kernel/qwidget.h:105
#15 QWidgetPrivate::QWidgetPrivate (this=<value optimized out>) at kernel/qwidget.cpp:202
#16 0xb64b257a in QDesktopWidgetPrivate::QDesktopWidgetPrivate (this=0xb942508) at kernel/qdesktopwidget_x11.cpp:106
#17 0xb64b2610 in QDesktopWidget::QDesktopWidget (this=0x8ff8b38) at kernel/qdesktopwidget_x11.cpp:220
#18 0xb6409585 in QApplication::desktop () at kernel/qapplication.cpp:3073
#19 0xb758397e in KDialog::saveDialogSize(KConfigGroup&, QFlags<KConfigBase::WriteConfigFlag>) const () from /usr/lib/libkdeui.so.5
#20 0xb3c46ead in KNS3::DownloadDialog::~DownloadDialog() () from /usr/lib/libknewstuff3.so.4
#21 0xb50e7f79 in ?? () from /usr/lib/libplasma.so.3
#22 0xb503c966 in ?? () from /usr/lib/libplasma.so.3
#23 0xb60af111 in ?? () from /lib/libc.so.6
#24 0xb60af16d in exit () from /lib/libc.so.6
#25 0x0804edaf in _start ()

Reported using DrKonqi
Comment 1 muratcakir13 2010-09-16 18:21:04 UTC
Created attachment 51726 [details]
New crash information added by DrKonqi

Application: Plasma Çalışma Alanı (kdeinit4), signal: Segmentation fault
[Current thread is 1 (process 802)]

Thread 1 (process 802):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb5f91a16 in nanosleep () from /lib/libc.so.6
#2  0xb5f917f3 in sleep () from /lib/libc.so.6
#3  0xb6f97b6c in ?? () from /usr/kde/4/lib/libkdeui.so.5
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Comment 2 Dimitrios Glentadakis 2010-10-05 21:38:08 UTC
Created attachment 52254 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.7.0

plasma crashs on logout

-- Backtrace (Reduced):
#7  ref (this=0x9c33994) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QBrush::QBrush (this=0x9c33994) at painting/qbrush.cpp:424
#9  0xb63abbc0 in QPalettePrivate (this=0x9a5b670) at kernel/qpalette.cpp:53
#10 QPalette::init (this=0x9a5b670) at kernel/qpalette.cpp:734
#11 0xb63ad89a in QPalette::QPalette (this=0x9a5b670, button=Qt::black) at kernel/qpalette.cpp:639
Comment 3 Mathias Panzenböck 2010-11-09 01:33:53 UTC
Created attachment 53262 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.2 (KDE 4.5.2) using Qt 4.7.0

- What I was doing when the application crashed:
I wanted to restart the plasma desktop so I issued the command `kquitapp plasma-desktop`. This crashed plasma and automatically restarted it. So mission accomplised, actually. :P

-- Backtrace (Reduced):
#6  ref (this=0x1361fd8) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QBrush::QBrush (this=0x1361fd8) at painting/qbrush.cpp:424
#8  0x0000003f891e3328 in QPalettePrivate (this=0x16e2360) at kernel/qpalette.cpp:53
#9  QPalette::init (this=0x16e2360) at kernel/qpalette.cpp:734
#10 0x0000003f891e60a8 in QPalette::QPalette (this=0x16e2360, button=Qt::black) at kernel/qpalette.cpp:639
Comment 4 Dario Andres 2010-12-12 13:42:33 UTC
[Comment from a bug triager]
Full backtrace from bug 259561 (KDE SC 4.6beta2):

[KCrash Handler]
#6  ref (this=0x270cda8) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QBrush::QBrush (this=0x270cda8) at painting/qbrush.cpp:424
#8  0x00007fe29be21888 in QPalettePrivate (this=0x1084380) at
kernel/qpalette.cpp:53
#9  QPalette::init (this=0x1084380) at kernel/qpalette.cpp:734
#10 0x00007fe29be244fe in QPalette::QPalette (this=0x1084380, button=Qt::black)
at kernel/qpalette.cpp:639
#11 0x00007fe29bdf0935 in QApplication::palette () at
kernel/qapplication.cpp:1746
#12 0x00007fe29be21809 in QPalette::QPalette (this=0x2d37ff8) at
kernel/qpalette.cpp:589
#13 0x00007fe29be3b6c4 in QWidgetData (this=0x2d37e80, version=263937) at
../../src/gui/kernel/qwidget.h:105
#14 QWidgetPrivate::QWidgetPrivate (this=0x2d37e80, version=263937) at
kernel/qwidget.cpp:277
#15 0x00007fe29be81eee in QDesktopWidgetPrivate::QDesktopWidgetPrivate
(this=0x2d37e80) at kernel/qdesktopwidget_x11.cpp:106
#16 0x00007fe29be82355 in QDesktopWidget::QDesktopWidget (this=0x62d650) at
kernel/qdesktopwidget_x11.cpp:220
#17 0x00007fe29bdf0d0c in QApplication::desktop () at
kernel/qapplication.cpp:3211
#18 0x00007fe29d8e6a2f in KDialog::saveDialogSize (this=<value optimized out>,
config=..., options=...) at
/usr/src/debug/kdelibs-4.5.85/kdeui/dialogs/kdialog.cpp:1024
#19 0x00007fe290bb23b2 in KNS3::DownloadDialog::~DownloadDialog
(this=0x248dc30, __in_chrg=<value optimized out>) at
/usr/src/debug/kdelibs-4.5.85/knewstuff/knewstuff3/downloaddialog.cpp:101
#20 0x00007fe290bb2439 in KNS3::DownloadDialog::~DownloadDialog
(this=0x248dc30, __in_chrg=<value optimized out>) at
/usr/src/debug/kdelibs-4.5.85/knewstuff/knewstuff3/downloaddialog.cpp:103
#21 0x00007fe2939f1ddd in Plasma::PlasmoidPackage::~PlasmoidPackage
(this=<value optimized out>, __in_chrg=<value optimized out>) at
/usr/src/debug/kdelibs-4.5.85/plasma/private/packages.cpp:85
#22 0x00007fe2939f1e19 in Plasma::PlasmoidPackage::~PlasmoidPackage
(this=0x26c5250, __in_chrg=<value optimized out>) at
/usr/src/debug/kdelibs-4.5.85/plasma/private/packages.cpp:87
#23 0x00007fe29b5f44e1 in __run_exit_handlers () from /lib64/libc.so.6
#24 0x00007fe29b5f4535 in exit () from /lib64/libc.so.6
#25 0x0000000000407610 in launch (argc=1, _name=0x6f4428
"/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=<value
optimized out>, envs=<value optimized out>, reset_env=false, tty=
    0x0, avoid_loops=false, startup_id_str=0x40b377 "0") at
/usr/src/debug/kdelibs-4.5.85/kinit/kinit.cpp:730
#26 0x0000000000408125 in handle_launcher_request (sock=8, who=<value optimized
out>) at /usr/src/debug/kdelibs-4.5.85/kinit/kinit.cpp:1222
#27 0x000000000040889a in handle_requests (waitForPid=<value optimized out>) at
/usr/src/debug/kdelibs-4.5.85/kinit/kinit.cpp:1415
#28 0x00000000004094f0 in main (argc=4, argv=0x7fff294980c8,
envp=0x7fff294980f0) at /usr/src/debug/kdelibs-4.5.85/kinit/kinit.cpp:1901
Comment 5 Dario Andres 2010-12-12 13:42:39 UTC
*** Bug 259561 has been marked as a duplicate of this bug. ***
Comment 6 Valentin Rusu 2011-02-28 00:31:53 UTC
Created attachment 57561 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:

I was shutting down my computer.
Currently using the openSuSE 11.4 RC2, with KDE 4.6 and Qt 4.7.1

-- Backtrace (Reduced):
#7  ref (this=0x863c25c) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QBrush::QBrush (this=0x863c25c) at painting/qbrush.cpp:424
#9  0xb6314f98 in QPalettePrivate (this=0x8add428) at kernel/qpalette.cpp:53
#10 QPalette::init (this=0x8add428) at kernel/qpalette.cpp:734
#11 0xb631802a in QPalette::QPalette (this=0x8add428, button=Qt::black) at kernel/qpalette.cpp:639
Comment 7 Dario Andres 2011-04-03 13:49:54 UTC
[Comment from a bug triager]
From bug 268873 (KDE SC 4.6.1):
- What I was doing when the application crashed: After trying new plasmoid
(downloaded by assistant) and closing them, plus using new pre-installed
plasmoid, then closing them (Mem, Temp, CPU) I close my kde4 session several
hours after. Give me this crash.
Comment 8 Dario Andres 2011-04-03 13:50:00 UTC
*** Bug 268873 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2011-05-10 01:48:32 UTC
[Comment from a bug report cleaner]
Here using:

ArchLinux i686
KDE 4.7 master
kdelibs commit 8d65adce7b3e2262e464ce989bd0add197f416a3 (Sun May 8 18:18:23 2011 +0200)
kdebase-runtime commit 5ace8a676768fd31f301d71e8f49b6c415d8b844 (Sun May 8 22:11:34 2011 +0200)
kdebase-workspace commit 44d98009d5ae1f9b836daa9302f045d55cddbb08 (Mon May 9 23:13:18 2011 +0000)

It seems I can reproduce the issue
- Go to Add Widgets -> Get New Widgets -> Download New Plasma Widgets
- Install one of them
- Close the window ("Close" button on the bottom right corner)
- Close Plasma ($ kquitapp plasma-desktop)

Plasma crashes with the following backtrace:

Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5703710 (LWP 1241))]

Thread 2 (Thread 0xac383b70 (LWP 1242)):
#0  0xb77ea424 in __kernel_vsyscall ()
#1  0xb5fa975e in poll () from /lib/libc.so.6
#2  0xb5ab310b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb5aa4566 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5aa498a in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6dfd317 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb6dce11d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0xb6dce361 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0xb6cd1a2b in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb6daed3d in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6cd4843 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb6c5fc77 in start_thread () from /lib/libpthread.so.0
#12 0xb5fb3c6e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5703710 (LWP 1241)):
[KCrash Handler]
#7  0xb642c4ae in QBrush::QBrush() () from /usr/lib/libQtGui.so.4
#8  0xb6335388 in QPalette::init() () from /usr/lib/libQtGui.so.4
#9  0xb633850a in QPalette::QPalette(Qt::GlobalColor) () from /usr/lib/libQtGui.so.4
#10 0xb62fe726 in QApplication::palette() () from /usr/lib/libQtGui.so.4
#11 0xb633530a in QPalette::QPalette() () from /usr/lib/libQtGui.so.4
#12 0xb635106f in QWidgetPrivate::QWidgetPrivate(int) () from /usr/lib/libQtGui.so.4
#13 0xb639c86a in ?? () from /usr/lib/libQtGui.so.4
#14 0xb639cd3c in QDesktopWidget::QDesktopWidget() () from /usr/lib/libQtGui.so.4
#15 0xb62febcf in QApplication::desktop() () from /usr/lib/libQtGui.so.4
#16 0xb74c23d3 in KDialog::saveDialogSize (this=0x8eb7318, config=..., options=...) at /home/kde/kde/src/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:1034
#17 0xb2fdb8cc in KNS3::DownloadDialog::~DownloadDialog (this=0x8eb7318, __in_chrg=<value optimized out>) at /home/kde/kde/src/KDE/kdelibs/knewstuff/knewstuff3/downloaddialog.cpp:101
#18 0xb2fdb94b in KNS3::DownloadDialog::~DownloadDialog (this=0x8eb7318, __in_chrg=<value optimized out>) at /home/kde/kde/src/KDE/kdelibs/knewstuff/knewstuff3/downloaddialog.cpp:103
#19 0xb4afbba3 in Plasma::PlasmoidPackage::~PlasmoidPackage (this=0x885b3b8, __in_chrg=<value optimized out>) at /home/kde/kde/src/KDE/kdelibs/plasma/private/packages.cpp:85
#20 0xb4afbbf7 in Plasma::PlasmoidPackage::~PlasmoidPackage (this=0x885b3b8, __in_chrg=<value optimized out>) at /home/kde/kde/src/KDE/kdelibs/plasma/private/packages.cpp:87
#21 0xb4a4d061 in KSharedPtr<Plasma::PackageStructure>::~KSharedPtr (this=0xb4cd78ec, __in_chrg=<value optimized out>) at /home/kde/kde/src/KDE/kdelibs/kdecore/util/ksharedptr.h:90
#22 0xb5f14c31 in ?? () from /lib/libc.so.6
#23 0xb5f14cbd in exit () from /lib/libc.so.6
#24 0x0804dd80 in launch (argc=1, _name=0x86b4264 "/usr/bin/plasma-desktop", args=0x86b427c "", cwd=0x0, envc=0, envs=0x86b4280 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x80534dd "0") at /home/kde/kde/src/KDE/kdelibs/kinit/kinit.cpp:734
#25 0x0804eddd in handle_launcher_request (sock=8, who=0x8053778 "launcher") at /home/kde/kde/src/KDE/kdelibs/kinit/kinit.cpp:1226
#26 0x0804f559 in handle_requests (waitForPid=0) at /home/kde/kde/src/KDE/kdelibs/kinit/kinit.cpp:1419
#27 0x08050e4e in main (argc=4, argv=0xbfb72c64, envp=0xbfb72c78) at /home/kde/kde/src/KDE/kdelibs/kinit/kinit.cpp:1907
Comment 10 Dario Andres 2011-06-11 17:55:37 UTC
*** Bug 275335 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2011-07-08 22:43:07 UTC
*** Bug 277144 has been marked as a duplicate of this bug. ***
Comment 12 Unknown 2011-08-31 12:00:01 UTC
Created attachment 63256 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.3

- What I was doing when the application crashed:

Previously I had opened the plasma "add/remove plasmoid" panel and the install-from-the-web window also. I didn't put any plasmoid onto the desktop or to the panel, though.

While logging out, plasma crashed.

-- Backtrace (Reduced):
#7  QBrush::QBrush (this=0x10bef18) at painting/qbrush.cpp:424
#8  0x00007f05e9f33ee8 in QPalettePrivate (this=0x116fa50) at kernel/qpalette.cpp:53
#9  QPalette::init (this=0x116fa50) at kernel/qpalette.cpp:734
#10 0x00007f05e9f36b5e in QPalette::QPalette (this=0x116fa50, button=Qt::black) at kernel/qpalette.cpp:639
#11 0x00007f05e9f02e85 in QApplication::palette () at kernel/qapplication.cpp:1763
Comment 13 Dimitrios Glentadakis 2011-10-18 05:31:13 UTC
Created attachment 64660 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.4

i installed a plasmoid script and after i logout

-- Backtrace (Reduced):
#6  ref (this=0x34de428) at ../../src/corelib/arch/qatomic_x86_64.h:121
#7  QBrush::QBrush (this=0x34de428) at painting/qbrush.cpp:425
#8  0x00007f4d16918218 in QPalettePrivate (this=0x30106a0) at kernel/qpalette.cpp:53
#9  QPalette::init (this=0x30106a0) at kernel/qpalette.cpp:734
#10 0x00007f4d1691afa8 in QPalette::QPalette (this=0x30106a0, button=Qt::black) at kernel/qpalette.cpp:639
Comment 14 radistaneva 2012-02-16 07:53:26 UTC
Created attachment 68844 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:

Shutting down the system reproduces the crash everytime

-- Backtrace (Reduced):
#7  QBrush::QBrush (this=0x1fe5498) at painting/qbrush.cpp:425
#8  0x00007f3969447e48 in QPalettePrivate (this=0x1fe5490) at kernel/qpalette.cpp:53
#9  QPalette::init (this=0xcc48f0) at kernel/qpalette.cpp:734
#10 0x00007f396944ab08 in QPalette::QPalette (this=0xcc48f0, button=Qt::black) at kernel/qpalette.cpp:639
#11 0x00007f396941785a in QApplication::palette () at kernel/qapplication.cpp:1771
Comment 15 Myriam Schweingruber 2012-05-23 09:50:48 UTC
*** Bug 269531 has been marked as a duplicate of this bug. ***
Comment 16 Mark 2012-06-26 21:36:48 UTC
*** Bug 262341 has been marked as a duplicate of this bug. ***
Comment 17 Mark 2012-06-26 21:38:44 UTC
Could you try to reproduce this under KDE 4.8.x with Qt 4.8.x? Since this really looks like a Qt issue if i look at the stacktrace.
Comment 18 Myriam Schweingruber 2012-07-17 10:55:40 UTC
See comment #17, waiting for feedback.
Comment 19 Dimitrios Glentadakis 2012-07-17 10:58:25 UTC
Me, i dont have any more this issue.
Mageia 2, kde 4,8,2
Was specially after having installing a plasmoid script
Comment 20 Bruno Friedmann 2012-07-17 11:16:22 UTC
I didn't see it from a long time, pretty much 100% sure from the time I start using 4.8x series
Comment 21 Myriam Schweingruber 2012-09-05 07:20:30 UTC
Thank you for the feedback, closing.