Bug 198702

Summary: Crashes after changing type in desktop settings from folder view to desktop
Product: [Unmaintained] plasma4 Reporter: Ralph Janke <txwikinger>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: andresbajotierra, aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ralph Janke 2009-07-02 22:45:32 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.2.95 (KDE 4.2.95 (KDE 4.3 RC1))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-11-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
The crash happened during the following sequence:

1) open desktop settings
2) change type from desktop to folder view
3) apply changes
4) change type from folder view to desktop
5) apply changes

I cannot reproduce the crash with this sequence

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 0 (LWP 29769)]

Thread 2 (Thread 0x7f7c17444950 (LWP 29770)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f7c39f38939 in QWaitCondition::wait (this=0x15aaba0, mutex=0x15aab98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f7c38db54cc in QHostInfoAgent::run (this=0x15aab80) at kernel/qhostinfo.cpp:260
#3  0x00007f7c39f37952 in QThreadPrivate::start (arg=0x15aab80) at thread/qthread_unix.cpp:189
#4  0x00007f7c35db93ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f7c3699dfcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7c3a4fd750 (LWP 29769)):
[KCrash Handler]
#5  QGraphicsScene::addItem (this=0xae7e10, item=0x1db9560) at graphicsview/qgraphicsscene.cpp:2792
#6  0x00007f7c318f478c in Plasma::CoronaPrivate::addContainment (this=0xae7e40, name=@0x7fff42533530, args=<value optimized out>, id=0, delayedInit=false)
    at /build/buildd/kde4libs-4.2.95/plasma/corona.cpp:214
#7  0x00007f7c31955591 in Plasma::View::swapContainment (this=0x188c1a0, existing=0x16171d0, name=@0x7fff42533530, args=@0x7fff42533510) at /build/buildd/kde4libs-4.2.95/plasma/view.cpp:300
#8  0x00007f7c2ebde2b0 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#9  0x00007f7c2ebdbc58 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#10 0x00007f7c3a0361f2 in QMetaObject::activate (sender=0x1ffe070, from_signal_index=<value optimized out>, to_signal_index=43, argv=0x0) at kernel/qobject.cpp:3069
#11 0x00007f7c38660e85 in KDialog::slotButtonClicked (this=0x1ffe070, button=8) at /build/buildd/kde4libs-4.2.95/kdeui/dialogs/kdialog.cpp:858
#12 0x00007f7c3866309d in KDialog::qt_metacall (this=0x1ffe070, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff42533890)
    at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/kdeui/kdialog.moc:184
#13 0x00007f7c38719006 in KPageDialog::qt_metacall (this=0x1db9560, _c=31167824, _id=48567040, _a=0x0) at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/kdeui/kpagedialog.moc:64
#14 0x00007f7c3864fd25 in KConfigDialog::qt_metacall (this=0x1db9560, _c=31167824, _id=48567040, _a=0x0) at /build/buildd/kde4libs-4.2.95/obj-x86_64-linux-gnu/kdeui/kconfigdialog.moc:78
#15 0x00007f7c2ebdbb95 in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so
#16 0x00007f7c3a0361f2 in QMetaObject::activate (sender=0x15cc958, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#17 0x00007f7c3a03901e in QSignalMapper::mapped (this=0x1db9560, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:95
#18 0x00007f7c3a0398c0 in QSignalMapper::map (this=0x15cc958, sender=0x31398a0) at kernel/qsignalmapper.cpp:266
#19 0x00007f7c3a03a4b0 in QSignalMapper::qt_metacall (this=0x15cc958, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff42533a10) at .moc/release-shared/moc_qsignalmapper.cpp:81
#20 0x00007f7c3a0361f2 in QMetaObject::activate (sender=0x31398a0, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3069
#21 0x00007f7c37bef267 in QAbstractButton::clicked (this=0x1db9560, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#22 0x00007f7c3794cdeb in QAbstractButtonPrivate::emitClicked (this=0x2c39560) at widgets/qabstractbutton.cpp:543
#23 0x00007f7c3794ea52 in QAbstractButtonPrivate::click (this=0x2c39560) at widgets/qabstractbutton.cpp:536
#24 0x00007f7c3794eca5 in QAbstractButton::mouseReleaseEvent (this=0x31398a0, e=0x7fff425341e0) at widgets/qabstractbutton.cpp:1115
#25 0x00007f7c375fb8cf in QWidget::event (this=0x31398a0, event=0x7fff425341e0) at kernel/qwidget.cpp:7516
#26 0x00007f7c375aa78d in QApplicationPrivate::notify_helper (this=0xa68340, receiver=0x31398a0, e=0x7fff425341e0) at kernel/qapplication.cpp:4084
#27 0x00007f7c375b30da in QApplication::notify (this=<value optimized out>, receiver=0x31398a0, e=0x7fff425341e0) at kernel/qapplication.cpp:3786
#28 0x00007f7c386ed62b in KApplication::notify (this=0xa28e20, receiver=0x31398a0, event=0x7fff425341e0) at /build/buildd/kde4libs-4.2.95/kdeui/kernel/kapplication.cpp:302
#29 0x00007f7c3a02075c in QCoreApplication::notifyInternal (this=0xa28e20, receiver=0x31398a0, event=0x7fff425341e0) at kernel/qcoreapplication.cpp:602
#30 0x00007f7c375b2328 in QApplicationPrivate::sendMouseEvent (receiver=0x31398a0, event=0x7fff425341e0, alienWidget=0x31398a0, nativeWidget=0x1ffe070, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f7c3800eeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#31 0x00007f7c3761be19 in QETWidget::translateMouseEvent (this=0x1ffe070, event=<value optimized out>) at kernel/qapplication_x11.cpp:4425
#32 0x00007f7c3761aa88 in QApplication::x11ProcessEvent (this=0xa28e20, event=0x7fff42534d20) at kernel/qapplication_x11.cpp:3543
#33 0x00007f7c37643464 in x11EventSourceDispatch (s=0xa6bb40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007f7c3600820a in IA__g_main_context_dispatch (context=0xa6ad20) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#35 0x00007f7c3600b8e0 in g_main_context_iterate (context=0xa6ad20, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#36 0x00007f7c3600ba7c in IA__g_main_context_iteration (context=0xa6ad20, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#37 0x00007f7c3a049e6f in QEventDispatcherGlib::processEvents (this=0xa67fe0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#38 0x00007f7c37642bef in QGuiEventDispatcherGlib::processEvents (this=0x1db9560, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x00007f7c3a01f002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1112756240}) at kernel/qeventloop.cpp:149
#40 0x00007f7c3a01f3cd in QEventLoop::exec (this=0x7fff42535050, flags={i = 1112756320}) at kernel/qeventloop.cpp:200
#41 0x00007f7c3a021694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#42 0x00007f7c2ebeb63b in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#43 0x000000000040714e in launch (argc=1, _name=0xa1b188 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0xa1b1a8 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a309 "0") at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:672
#44 0x0000000000407978 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1164
#45 0x0000000000407f25 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1357
#46 0x0000000000408a66 in main (argc=2, argv=0x7fff42535ee8, envp=0x7fff42535f00) at /build/buildd/kde4libs-4.2.95/kinit/kinit.cpp:1784

Reported using DrKonqi
Comment 1 Ralph Janke 2009-07-02 22:46:49 UTC
I actually can reproduce this crash with the sequence given. It just did not do it while the Bug report helper was open.
Comment 2 Dario Andres 2009-07-03 16:04:35 UTC
What plasmoids do you have in your desktop?
Here using:

Qt: 4.5.2 (KDE-Qt git commit 46a247a2c9a8c0c4456a02f6a0922d859d88fe76
        Date:   Fri Jun 26 13:45:37 2009 +0200)
KDE: 4.3.60 (KDE 4.3.60 (KDE 4.4 >= 20090624))
kdelibs svn rev. 989682 / kdebase svn rev. 989682
on ArchLinux i686 - Kernel 2.6.30
Weather+NewsFeed+Calendar+Notes widget

I can't reproduce the crash with the described steps.
It could be a Qt bug too

Thanks
Comment 3 Ralph Janke 2009-07-04 14:51:11 UTC
I have the weather forecast plasmoid (the one that shows the 5 day forecast in a graphic), the system monitor plasmoid and the memusage plasmoid.
Comment 4 Aaron J. Seigo 2009-07-05 11:17:06 UTC
please update your Qt; 4.5.2 has been released and the backtrace doesn't line up at all with the code in QGraphicsScenein Qt 4.5.2. once updated, please try and reproduce and give us an update on this bug. thanks :)
Comment 5 Myriam Schweingruber 2012-05-28 22:19:02 UTC
Closing as outdated.