Bug 248200

Summary: Plasma crashed after loading or relayout due a configuration change [QString::operator=, Marble::WorldClock::init]
Product: [Applications] marble Reporter: iandbury
Component: plasmoidAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra, aronwatson, atwinix, bugs.kde.org, buildup, carllsonwj, don, enanitush, fritigerngothly, javafreak, jlayt, johannesrs, kevin.coonan, kossebau, lutz.pflug, marble-bugs, mib4u0, nico-steinle, polacek.pavol, ptho, safradi, schneiderpj63366, shane.spina, thijs22nospam, tschuesi, twistedplans
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description iandbury 2010-08-18 02:15:34 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.33.6-147.2.4.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
After selecting from changing the desktop view of landscape photo with widgets to folder view all items on plasma desktop disappeared and it crashed

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f9022c2e820 (LWP 2311))]

Thread 2 (Thread 0x7f9001b0a710 (LWP 2313)):
#0  0x00000031990d7de3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000319a83f849 in g_main_context_poll (context=0x7f8ffc0009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x7f8ffc0009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2586
#3  0x000000319a83fc9c in IA__g_main_context_iteration (context=0x7f8ffc0009b0, may_block=1) at gmain.c:2654
#4  0x00000031a09798b6 in QEventDispatcherGlib::processEvents (this=0x7f8ffc0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00000031a0952822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00000031a0952aec in QEventLoop::exec (this=0x7f9001b09cc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00000031a086f05b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f9002fb8d2d in Marble::GpsdThread::run (this=0x2eeb830) at /usr/src/debug/kdeedu-4.4.5/marble/src/plugins/positionprovider/gpsd/GpsdThread.cpp:27
#9  0x00000031a08711a5 in QThreadPrivate::start (arg=0x2eeb830) at thread/qthread_unix.cpp:248
#10 0x0000003199407761 in start_thread (arg=0x7f9001b0a710) at pthread_create.c:301
#11 0x00000031990e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9022c2e820 (LWP 2311)):
[KCrash Handler]
#5  ref (this=0x27a6da0, other=...) at ../../src/corelib/arch/qatomic_x86_64.h:121
#6  QString::operator= (this=0x27a6da0, other=...) at tools/qstring.cpp:1280
#7  0x00007f900b234bd6 in Marble::WorldClock::init (this=0x27a6d20) at /usr/src/debug/kdeedu-4.4.5/marble/src/plasmoid/worldclock.cpp:119
#8  0x00007f90232e7137 in Plasma::Corona::loadLayout (this=0x21005f0, configName=<value optimized out>) at /usr/src/debug/kdelibs-4.4.5/plasma/corona.cpp:419
#9  0x00007f90232e8222 in Plasma::Corona::initializeLayout (this=0x21005f0, configName=...) at /usr/src/debug/kdelibs-4.4.5/plasma/corona.cpp:335
#10 0x00007f9023b4bf75 in PlasmaApp::corona (this=0x20fa9c0) at /usr/src/debug/kdebase-workspace-4.4.5/plasma/desktop/shell/plasmaapp.cpp:684
#11 0x00007f9023b4c268 in PlasmaApp::setupDesktop (this=0x20fa9c0) at /usr/src/debug/kdebase-workspace-4.4.5/plasma/desktop/shell/plasmaapp.cpp:276
#12 0x00007f9023b4cb2f in PlasmaApp::qt_metacall (this=0x20fa9c0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7ffff07328c0)
    at /usr/src/debug/kdebase-workspace-4.4.5/x86_64-redhat-linux-gnu/plasma/desktop/shell/plasmaapp.moc:141
#13 0x00000031a0966a36 in QMetaObject::activate (sender=0x21fbaf0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#14 0x00000031a096c14f in QSingleShotTimer::timerEvent (this=0x21fbaf0) at kernel/qtimer.cpp:308
#15 0x00000031a0962c4e in QObject::event (this=0x21fbaf0, e=0x7ffff0733020) at kernel/qobject.cpp:1212
#16 0x0000003ec99ab39c in QApplicationPrivate::notify_helper (this=0x21158e0, receiver=0x21fbaf0, e=0x7ffff0733020) at kernel/qapplication.cpp:4306
#17 0x0000003ec99b165b in QApplication::notify (this=<value optimized out>, receiver=0x21fbaf0, e=0x7ffff0733020) at kernel/qapplication.cpp:4189
#18 0x0000003ec8607016 in KApplication::notify (this=0x20fa9c0, receiver=0x21fbaf0, event=0x7ffff0733020) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#19 0x00000031a0953ddc in QCoreApplication::notifyInternal (this=0x20fa9c0, receiver=0x21fbaf0, event=0x7ffff0733020) at kernel/qcoreapplication.cpp:726
#20 0x00000031a097c6f2 in sendEvent (this=0x2118fc0) at kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x2118fc0) at kernel/qeventdispatcher_unix.cpp:603
#22 0x00000031a0979b74 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#23 0x000000319a83bd02 in g_main_dispatch (context=0x2118120) at gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x2118120) at gmain.c:2513
#25 0x000000319a83fae8 in g_main_context_iterate (context=0x2118120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#26 0x000000319a83fc9c in IA__g_main_context_iteration (context=0x2118120, may_block=1) at gmain.c:2654
#27 0x00000031a0979863 in QEventDispatcherGlib::processEvents (this=0x20e2510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x0000003ec9a4a84e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00000031a0952822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x00000031a0952aec in QEventLoop::exec (this=0x7ffff07332c0, flags=...) at kernel/qeventloop.cpp:201
#31 0x00000031a09561bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#32 0x00007f9023b37eb2 in kdemain (argc=1, argv=0x7ffff0733658) at /usr/src/debug/kdebase-workspace-4.4.5/plasma/desktop/shell/main.cpp:112
#33 0x000000319901ec5d in __libc_start_main (main=0x4008f0 <main(int, char**)>, argc=1, ubp_av=0x7ffff0733658, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7ffff0733648) at libc-start.c:226
#34 0x0000000000400829 in _start ()

Reported using DrKonqi
Comment 1 Nicolas L. 2010-08-20 10:07:07 UTC
*** Bug 248463 has been marked as a duplicate of this bug. ***
Comment 2 Beat Wolf 2010-11-02 10:30:21 UTC
*** Bug 255715 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-11-15 20:54:59 UTC
*** Bug 252708 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-11-15 20:57:20 UTC
*** Bug 245192 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2011-01-29 14:14:00 UTC
*** Bug 264220 has been marked as a duplicate of this bug. ***
Comment 6 Aron Watson 2011-03-21 03:35:33 UTC
Created attachment 58201 [details]
New crash information added by DrKonqi

plasma-desktop (0.3) on KDE Platform 4.5.5 (KDE 4.5.5) using Qt 4.7.1

1 Updated the package kde-workspace
2 Crashed my system when trying to configure worldclock widget
3 On reboot, entire kde desktop gone except for wallpaper, mouse, and crash reporting

-- Backtrace (Reduced):
#7  ref (this=0x99371fc, other=...) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QString::operator= (this=0x99371fc, other=...) at tools/qstring.cpp:1357
#9  0x01251375 in Marble::WorldClock::init (this=0x99371b0) at /usr/src/debug/kdeedu-4.5.5/marble/src/plasmoid/worldclock.cpp:119
#10 0x042b24ce in Plasma::ContainmentPrivate::initApplets (this=0x9870818) at /usr/src/debug/kdelibs-4.5.5/plasma/containment.cpp:462
#11 0x042c4f16 in Plasma::CoronaPrivate::importLayout (this=0x960b8e8, conf=..., mergeConfig=false) at /usr/src/debug/kdelibs-4.5.5/plasma/corona.cpp:556
Comment 7 buildup 2011-04-06 20:35:59 UTC
Created attachment 58648 [details]
New crash information added by DrKonqi

plasma-netbook (0.1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
Just doing initial startup of Linux/KDE, crashed after providing user password.

-- Backtrace (Reduced):
#6  ref (this=0x28476c0, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QString::operator= (this=0x28476c0, other=...) at tools/qstring.cpp:1323
#8  0x00007f98b3058144 in Marble::WorldClock::init (this=0x2847640) at ../../../../marble/src/plasmoid/worldclock.cpp:119
#9  0x00007f98d3933290 in Plasma::ContainmentPrivate::initApplets (this=0x27d7f80) at ../../plasma/containment.cpp:462
#10 0x00007f98d394738c in Plasma::CoronaPrivate::importLayout (this=0x1d70440, conf=<value optimized out>, mergeConfig=<value optimized out>) at ../../plasma/corona.cpp:523
Comment 8 Beat Wolf 2011-06-04 10:37:41 UTC
*** Bug 274855 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2011-07-23 12:26:23 UTC
*** Bug 278264 has been marked as a duplicate of this bug. ***
Comment 10 lutz.pflug 2011-07-30 22:40:58 UTC
Created attachment 62352 [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

1. Install worldclock widget
2. On reboot kDE desktop donĀ“t start with crash reporting

-- Backtrace (Reduced):
#7  ref (this=0x83f4ef4, other=...) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QString::operator= (this=0x83f4ef4, other=...) at tools/qstring.cpp:1357
#9  0xaef5cb3b in Marble::WorldClock::init (this=0x83f4ea8) at /usr/src/debug/kdeedu-4.6.0/marble/src/plasmoid/worldclock.cpp:117
#10 0xb4ba5ebf in Plasma::ContainmentPrivate::initApplets (this=0x81d3a68) at /usr/src/debug/kdelibs-4.6.0/plasma/containment.cpp:463
#11 0xb4bbb09a in Plasma::CoronaPrivate::importLayout (this=0x8166f58, conf=..., mergeConfig=false) at /usr/src/debug/kdelibs-4.6.0/plasma/corona.cpp:568
Comment 11 Bernhard Beschow 2011-08-05 22:32:22 UTC
*** Bug 250360 has been marked as a duplicate of this bug. ***
Comment 12 Christoph Feck 2011-09-05 18:10:51 UTC
*** Bug 281408 has been marked as a duplicate of this bug. ***
Comment 13 Kevin Coonan 2011-09-05 19:12:45 UTC
Created attachment 63413 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.1 (4.7.1) "release 12" using Qt 4.7.4

- What I was doing when the application crashed:  Reinstalled KDE 4.6 from openSUSE repos, and desktop apparently crashed (blackness....) w/o notification.  Re-installed KDE 4.7, and can log in as root w/o problem.  However, problem persists on my user account (this is a personal desktop system, so logging is as a user is kind of a big deal to me).  So something in one of my config files is likely causing the segfault.  Sorry.  

I promise I wasn't drinking *much* when I last changed system settings or updated files.

Any clue how to fix would be great, and something needs to be done from letting a config change on part of end user causing a segfault. :)

-- Backtrace (Reduced):
#7  QString::operator= (this=0x18a4f70, other=...) at tools/qstring.cpp:1358
#8  0x00007ff8786117d1 in Marble::WorldClock::init() () from /usr/lib64/kde4/plasma_applet_worldclock.so
#9  0x00007ff894f33b3b in Plasma::ContainmentPrivate::initApplets (this=0x17c8830) at /usr/src/debug/kdelibs-4.7.0/plasma/containment.cpp:463
#10 0x00007ff894f475dc in Plasma::CoronaPrivate::importLayout (this=0x7291d0, conf=<value optimized out>, mergeConfig=96) at /usr/src/debug/kdelibs-4.7.0/plasma/corona.cpp:1066
#11 0x00007ff894f48173 in Plasma::Corona::loadLayout (this=0x718e90, configName=...) at /usr/src/debug/kdelibs-4.7.0/plasma/corona.cpp:278
Comment 14 Kevin Coonan 2011-09-06 17:15:38 UTC
I renamed my .kde4 directory and things start fine.  Please let me know if 
there are any config files which would help debugging.

Kevin
Comment 15 Christoph Feck 2011-11-14 03:49:20 UTC
*** Bug 286533 has been marked as a duplicate of this bug. ***
Comment 16 shane.spina 2011-11-14 05:26:06 UTC
so has anyone got a fix for this? i am running my PC with no desktop gui?
Comment 17 Anne-Marie Mahfouf 2011-12-17 18:59:00 UTC
*** Bug 289229 has been marked as a duplicate of this bug. ***
Comment 18 Jekyll Wu 2011-12-31 23:24:05 UTC
*** Bug 290275 has been marked as a duplicate of this bug. ***
Comment 19 Thijs 2012-02-06 08:39:17 UTC
At shane: The world clock widget seems to be the trick here, so if you'd uninstall that one, things should work.
Comment 20 Thijs 2012-02-06 08:39:26 UTC
*** Bug 293391 has been marked as a duplicate of this bug. ***
Comment 21 Jekyll Wu 2012-02-06 10:59:20 UTC
*** Bug 293433 has been marked as a duplicate of this bug. ***
Comment 22 colin 2012-02-06 14:01:59 UTC
(In reply to comment #19)
> At shane: The world clock widget seems to be the trick here, so if you'd
> uninstall that one, things should work.

Uhuh... I installed that yesterday, so it would seem like a good idea for me to remove it now.

How do I do that please when plasma crashes on login and I have no taskbar to interact with?

thanks Colin (bug: 294433)
Comment 23 colin 2012-02-06 14:06:27 UTC
Sorry - I don't see any obvious way to fix the typo in my recent comment?

I posted bug 293433 which got marked as a duplicate of this. 

Thanks Colin.
Comment 24 Jekyll Wu 2012-09-11 01:53:51 UTC
*** Bug 306578 has been marked as a duplicate of this bug. ***
Comment 25 Christoph Feck 2014-02-26 10:45:19 UTC
*** Bug 331513 has been marked as a duplicate of this bug. ***
Comment 26 Fritigern 2014-03-21 22:52:12 UTC
Created attachment 85678 [details]
New crash information added by DrKonqi

plasma-desktop (4.12.2) on KDE Platform 4.12.90 using Qt 4.8.6

- What I was doing when the application crashed:

Started Kubuntu 14.04 after plasma-desktop had crashed.
Plasma crashes immediately upon login.

Renamed /usr/lib/kde4/plasma_applet_worldclock.so to /usr/lib/kde4/plasma_applet_worldclock.so.BAKUP (because i don't know how to uninstall applets from the commandline) and this allowed me to start plasma.

-- Backtrace (Reduced):
#7  QString::operator= (this=this@entry=0x30b3ad8, other=...) at tools/qstring.cpp:1410
#8  0x00007f79715c31bd in Marble::WorldClock::init (this=0x30b3a60) at ../../../src/plasmoid/worldclock.cpp:114
#9  0x00007f79a643533c in Plasma::ContainmentPrivate::initApplets (this=0x301c760) at ../../plasma/containment.cpp:460
#10 0x00007f79a644220c in Plasma::CoronaPrivate::importLayout (this=0x23691c0, conf=..., mergeConfig=mergeConfig@entry=false) at ../../plasma/corona.cpp:1070
#11 0x00007f79a6442c0a in Plasma::Corona::loadLayout (this=this@entry=0x252c270, configName=...) at ../../plasma/corona.cpp:281
Comment 27 Christoph Feck 2014-05-01 08:01:28 UTC
*** Bug 334162 has been marked as a duplicate of this bug. ***
Comment 28 Christoph Feck 2014-09-13 13:51:05 UTC
*** Bug 339042 has been marked as a duplicate of this bug. ***
Comment 29 Friedrich W. H. Kossebau 2016-12-17 19:22:09 UTC
Thanks for the report. The Plasma worldclock widget has been rewritten now in QML for Plasma5 (and lacking some of the old features still).
The old code is no longer maintained, so closing this now.

Please try the new widget and report any issues or features you would like to see (re-)implemented.
See also https://frinring.wordpress.com/2016/08/04/wip-plasma-world-map-wallpaper-world-clock-applet-powered-by-marble/