Bug 233347 - Forgeting all devices causes plasma crash
Summary: Forgeting all devices causes plasma crash
Status: RESOLVED NOT A BUG
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-kcm (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 14:46 UTC by Rohan Garg
Modified: 2010-11-09 21:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rohan Garg 2010-04-05 14:46:11 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-19-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
Hi
When you try to forget all devices at once via the device notifier plasmoid plasma crashes

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

Thread 3 (Thread 0x7fe7e8f9a710 (LWP 1510)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fe7e8f99aa0 in ?? ()
#2  0x00007fff1a792852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7fe7df8cb710 (LWP 1518)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe8112b372b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x27ad5b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x27ad5b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe7ee0d81d3 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#4  0x00007fe7eeb29030 in call_function (f=
    Frame 0x2b0c060, for file /home/shadeslayer/.kde/share/apps/plasma/wallpapers/clock/contents/code/wallpaperrenderer.py, line 73, in run (self=<WallpaperRenderer(job=<StackJob(color=<QColor at remote 0x2d558d8>, renderThread=None, jobId=1, images=[<QImage at remote 0x2d55f58>, u'/home/shadeslayer/.kde/share/apps/plasma/clockwallpapers/plasma-desktophb1636/minute13.png'], method=<ResizeMethod at remote 0x2fe9050>, size=<QSize at remote 0x2d55600>) at remote 0x2fc29e0>, abort=False, mutex=<QMutex at remote 0x1efd870>, restart=False, condition=<QWaitCondition at remote 0x230f328>) at remote 0x2fdc7c0>, job=None), throwflag=<value optimized out>) at ../Python/ceval.c:3750
#5  PyEval_EvalFrameEx (f=
    Frame 0x2b0c060, for file /home/shadeslayer/.kde/share/apps/plasma/wallpapers/clock/contents/code/wallpaperrenderer.py, line 73, in run (self=<WallpaperRenderer(job=<StackJob(color=<QColor at remote 0x2d558d8>, renderThread=None, jobId=1, images=[<QImage at remote 0x2d55f58>, u'/home/shadeslayer/.kde/share/apps/plasma/clockwallpapers/plasma-desktophb1636/minute13.png'], method=<ResizeMethod at remote 0x2fe9050>, size=<QSize at remote 0x2d55600>) at remote 0x2fc29e0>, abort=False, mutex=<QMutex at remote 0x1efd870>, restart=False, condition=<QWaitCondition at remote 0x230f328>) at remote 0x2fdc7c0>, job=None), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#6  0x00007fe7eeb2ad60 in PyEval_EvalCodeEx (co=0x2fd5828, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=<value optimized out>, kws=<value optimized out>, 
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#7  0x00007fe7eeab0d60 in function_call (func=<function at remote 0x2fde668>, arg=
    (<WallpaperRenderer(job=<StackJob(color=<QColor at remote 0x2d558d8>, renderThread=None, jobId=1, images=[<QImage at remote 0x2d55f58>, u'/home/shadeslayer/.kde/share/apps/plasma/clockwallpapers/plasma-desktophb1636/minute13.png'], method=<ResizeMethod at remote 0x2fe9050>, size=<QSize at remote 0x2d55600>) at remote 0x2fc29e0>, abort=False, mutex=<QMutex at remote 0x1efd870>, restart=False, condition=<QWaitCondition at remote 0x230f328>) at remote 0x2fdc7c0>,), kw=0x0) at ../Objects/funcobject.c:524
#8  0x00007fe7eea832e3 in PyObject_Call (func=<function at remote 0x2fde668>, arg=<unknown at remote 0x80>, kw=<unknown at remote 0x3b>) at ../Objects/abstract.c:2492
#9  0x00007fe7eea94cef in instancemethod_call (func=<function at remote 0x2fde668>, arg=
    (<WallpaperRenderer(job=<StackJob(color=<QColor at remote 0x2d558d8>, renderThread=None, jobId=1, images=[<QImage at remote 0x2d55f58>, u'/home/shadeslayer/.kde/share/apps/plasma/clockwallpapers/plasma-desktophb1636/minute13.png'], method=<ResizeMethod at remote 0x2fe9050>, size=<QSize at remote 0x2d55600>) at remote 0x2fc29e0>, abort=False, mutex=<QMutex at remote 0x1efd870>, restart=False, condition=<QWaitCondition at remote 0x230f328>) at remote 0x2fdc7c0>,), kw=0x0) at ../Objects/classobject.c:2579
#10 0x00007fe7eea832e3 in PyObject_Call (func=<instancemethod at remote 0x1eaf8c0>, arg=<unknown at remote 0x80>, kw=<unknown at remote 0x3b>) at ../Objects/abstract.c:2492
#11 0x00007fe7eeb23193 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x1eaf8c0>, arg=(), kw=<unknown at remote 0x3b>) at ../Python/ceval.c:3619
#12 0x00007fe7ede1fd3b in ?? () from /usr/lib/pymodules/python2.6/sip.so
#13 0x00007fe7ee0c7468 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#14 0x00007fe7ee0f7630 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#15 0x00007fe8112b2775 in QThreadPrivate::start (arg=0x2ff3460) at thread/qthread_unix.cpp:248
#16 0x00007fe8110229ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007fe80fdd56dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe812dd7760 (LWP 1466)):
[KCrash Handler]
#5  QString::toUtf8 (this=0x7fff1a7475f0) at tools/qstring.cpp:3531
#6  0x00007fe80f799a76 in QDBusMarshaller::append (this=0x7fff1a7476b0, arg=...) at qdbusmarshaller.cpp:115
#7  0x00007fe80f79e05e in QDBusMarshaller::appendVariantInternal (this=0x7fff1a7476b0, arg=...) at qdbusmarshaller.cpp:433
#8  0x00007fe80f778b73 in QDBusMessagePrivate::toDBusMessage (message=<value optimized out>, error=0x7fff1a7479f0) at qdbusmessage.cpp:185
#9  0x00007fe80f7715f4 in QDBusConnectionPrivate::sendWithReply (this=0x17d6fa0, message=..., sendMode=1, timeout=-1) at qdbusintegrator.cpp:1799
#10 0x00007fe80f75c9a3 in QDBusConnection::call (this=0x23868f0, message=..., mode=2616155, timeout=53352671) at qdbusconnection.cpp:516
#11 0x00007fe80f77c342 in QDBusAbstractInterface::callWithArgumentList (this=<value optimized out>, mode=QDBus::Block, method=<value optimized out>, args=<value optimized out>)
    at qdbusabstractinterface.cpp:440
#12 0x00007fe80f77f43d in QDBusAbstractInterface::call (this=<value optimized out>, mode=<value optimized out>, method=<value optimized out>, arg1=..., arg2=..., arg3=..., arg4=..., arg5=..., 
    arg6=..., arg7=..., arg8=...) at qdbusabstractinterface.cpp:694
#13 0x00007fe80f77f6d1 in QDBusAbstractInterface::call (this=0x7fe7d2ff81d3, method=<value optimized out>, arg1=<value optimized out>, arg2=<value optimized out>, arg3=<value optimized out>, 
    arg4=..., arg5=..., arg6=..., arg7=..., arg8=...) at qdbusabstractinterface.cpp:637
#14 0x00007fe80e3676f5 in Solid::Backends::Hal::HalManager::deviceExists (this=0x2385970, udi=...) at ../../../solid/solid/backends/hal/halmanager.cpp:99
#15 0x00007fe80e366de7 in Solid::Backends::Hal::HalManager::createDevice (this=0xffffff93, udi=...) at ../../../solid/solid/backends/hal/halmanager.cpp:146
#16 0x00007fe80e32f7c3 in Solid::DeviceManagerPrivate::createBackendObject (this=<value optimized out>, udi=...) at ../../../solid/solid/devicemanager.cpp:234
#17 0x00007fe80e331990 in Solid::DeviceManagerPrivate::findRegisteredDevice (this=0x2383f10, udi=...) at ../../../solid/solid/devicemanager.cpp:212
#18 0x00007fe80e32ec43 in Device (this=0x7fff1a748450, udi=...) at ../../../solid/solid/device.cpp:74
#19 0x00007fe7deec1dd5 in ?? () from /usr/lib/kde4/kcm_device_automounter.so
#20 0x00007fe7deebfbf0 in ?? () from /usr/lib/kde4/kcm_device_automounter.so
#21 0x00007fe7deebdd0c in ?? () from /usr/lib/kde4/kcm_device_automounter.so
#22 0x00007fe8113b9e3f in QMetaObject::activate (sender=0x37b7600, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x27eb5b) at kernel/qobject.cpp:3293
#23 0x00007fe810bde5f2 in QAbstractButton::clicked (this=0xffffff93, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#24 0x00007fe8108f886b in QAbstractButtonPrivate::emitClicked (this=0x37b7630) at widgets/qabstractbutton.cpp:546
#25 0x00007fe8108f970b in QAbstractButtonPrivate::click (this=0x37b7630) at widgets/qabstractbutton.cpp:539
#26 0x00007fe8108f997c in QAbstractButton::mouseReleaseEvent (this=0x37b7600, e=0x7fff1a748ff0) at widgets/qabstractbutton.cpp:1121
#27 0x00007fe810599582 in QWidget::event (this=0x37b7600, event=0x7fff1a748ff0) at kernel/qwidget.cpp:7998
#28 0x00007fe81054322c in QApplicationPrivate::notify_helper (this=0x171eab0, receiver=0x37b7600, e=0x7fff1a748ff0) at kernel/qapplication.cpp:4300
#29 0x00007fe810549ecb in QApplication::notify (this=0x17085b0, receiver=0x37b7600, e=0x7fff1a748ff0) at kernel/qapplication.cpp:3865
#30 0x00007fe8118ee526 in KApplication::notify (this=0x17085b0, receiver=0x37b7600, event=0x7fff1a748ff0) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x00007fe8113a706c in QCoreApplication::notifyInternal (this=0x17085b0, receiver=0x37b7600, event=0x7fff1a748ff0) at kernel/qcoreapplication.cpp:704
#32 0x00007fe8105490ae in QCoreApplication::sendEvent (receiver=0x37b7600, event=0x7fff1a748ff0, alienWidget=0x37b7600, nativeWidget=0x3598180, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x37b7600, event=0x7fff1a748ff0, alienWidget=0x37b7600, nativeWidget=0x3598180, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#34 0x00007fe8105c8f65 in QETWidget::translateMouseEvent (this=0x3598180, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#35 0x00007fe8105c78ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1a749910) at kernel/qapplication_x11.cpp:3501
#36 0x00007fe8105f3882 in x11EventSourceDispatch (s=0x1722110, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007fe80c78b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007fe80c78f748 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007fe80c78f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x00007fe8113d0513 in QEventDispatcherGlib::processEvents (this=0x169c140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#41 0x00007fe8105f346e in QGuiEventDispatcherGlib::processEvents (this=0xffffff93, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fe8113a5992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#43 0x00007fe8113a5d6c in QEventLoop::exec (this=0x7fff1a749c40, flags=) at kernel/qeventloop.cpp:201
#44 0x00007fe8113a9aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x00007fe804be5102 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so
#46 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717
#47 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#48 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402
#49 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Torrie Fischer 2010-05-25 00:18:48 UTC
This doesn't look to be a bug with device-automounter, rather one with Solid.

Furthermore, I'm confused how you're able to make device-automounter forget about devices via the device notifier plasmoid. The two are not connected in any way. Unless Ubuntu is doing some magic patching that never gets back to me.

Regardless, this backtrace is clearly from the hal backend of solid.
Comment 2 Rohan Garg 2010-05-25 12:15:23 UTC
Well theres a mount plasmoid in the sys tray,and when you right click on it theres a option at the last which says " Forget Device " and there are check boxes over various partitions and when you click on all of them at once and click on forget devices solid crashes.
Im unsure if there is any patching of sorts done to this plasmoid,but ill get this confirmed