Bug 211930 - plasma crashes on solid hal query
Summary: plasma crashes on solid hal query
Status: RESOLVED DUPLICATE of bug 209582
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-26 13:27 UTC by Michal Slonina
Modified: 2009-10-26 13:40 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 Michal Slonina 2009-10-26 13:27:09 UTC
Version:            (using KDE 4.3.2)
Compiler:          4.4.1 CFLAGS=-O3 -ggdb3 -march=core2 -pipe -ggdb3
OS:                Linux
Installed from:    Gentoo Packages

What I was doing when the application crashed:
Not much to comment, it did work for kde 4.3.0 for me, when i upgraded my system it started to crash. It might be related to hal and xorg update, but checking for null pointers in the code should make it more reliable.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Segmentation fault
[Current thread is 0 (LWP 11051)]

Thread 2 (Thread 0xa8803b70 (LWP 11054)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0x4211e765 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x4206f63c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb71137d2 in QWaitCondition::wait (this=0x858bb30, mutex=0x858bb2c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb523baca in QHostInfoAgent::run (this=0x858bb20) at kernel/qhostinfo.cpp:252
#5  0xb711281f in QThreadPrivate::start (arg=0x858bb20) at thread/qthread_unix.cpp:244
#6  0x42119900 in start_thread () from /lib/libpthread.so.0

Thread 1 (Thread 0xb3f83ad0 (LWP 11051)):
[KCrash Handler]
#6  QVariant::toStringList (this=0x0) at kernel/qvariant.cpp:2061
#7  0xa7ea553f in HalPower::brightnessControlsAvailable (this=0x8710308) at /var/tmp/portage/kde-base/solid-4.3.2/work/solid-4.3.2/solid/hal/halpower.cpp:364
#8  0xa8b7c2db in Solid::Control::PowerManager::brightnessControlsAvailable () at /var/tmp/portage/kde-base/solid-4.3.2/work/solid-4.3.2/libs/solid/control/powermanager.cpp:147
#9  0xa8b7dc7c in Solid::Control::PowerManager::brightness (device=@0xbfa4874c) at /var/tmp/portage/kde-base/solid-4.3.2/work/solid-4.3.2/libs/solid/control/powermanager.cpp:187
#10 0xa89a4821 in Battery::initExtenderItem (this=0x84f9ff0, item=0x842eaf8) at /var/tmp/portage/kde-base/plasma-workspace-4.3.2/work/plasma-workspace-4.3.2/plasma/applets/battery/battery.cpp:406
#11 0xb7ddc149 in Plasma::ExtenderPrivate::loadExtenderItems (this=0x868b8c8) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/plasma/extender.cpp:659
#12 0xb7dddb0e in Extender (this=0x863e550, applet=0x84f9ff0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/plasma/extender.cpp:114
#13 0xb7d97268 in Plasma::Applet::extender (this=0x84f9ff0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/plasma/applet.cpp:683
#14 0xa89a8c31 in Battery::init (this=0x84f9ff0) at /var/tmp/portage/kde-base/plasma-workspace-4.3.2/work/plasma-workspace-4.3.2/plasma/applets/battery/battery.cpp:148
#15 0xb7dc6245 in Plasma::Corona::loadLayout (this=0x81320e0, configName=@0xbfa48d78) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/plasma/corona.cpp:377
#16 0xb7dc773f in Plasma::Corona::initializeLayout (this=0x81320e0, configName=@0xbfa48d78) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/plasma/corona.cpp:324
#17 0xb7fa9e5c in PlasmaApp::corona (this=0x8078f30) at /var/tmp/portage/kde-base/plasma-workspace-4.3.2/work/plasma-workspace-4.3.2/plasma/shells/desktop/plasmaapp.cpp:574
#18 0xb7faa12b in PlasmaApp::setupDesktop (this=0x8078f30) at /var/tmp/portage/kde-base/plasma-workspace-4.3.2/work/plasma-workspace-4.3.2/plasma/shells/desktop/plasmaapp.cpp:252
#19 0xb7fadbbe in PlasmaApp::qt_metacall (this=0x8078f30, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbfa48f3c)
    at /var/tmp/portage/kde-base/plasma-workspace-4.3.2/work/plasma-workspace-4.3.2_build/plasma/shells/desktop/plasmaapp.moc:121
#20 0xb723affa in QMetaObject::metacall (object=0x8078f30, cl=QMetaObject::InvokeMetaMethod, idx=32, argv=0xbfa48f3c) at kernel/qmetaobject.cpp:237
#21 0xb7249d87 in QMetaObject::activate (sender=0x8109ba8, m=0xb73521a4, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3390
#22 0xb7254af7 in QSingleShotTimer::timerEvent (this=0x8109ba8) at .moc/release-shared/qtimer.moc:82
#23 0xb724e19c in QObject::event (this=0x8109ba8, e=0x0) at kernel/qobject.cpp:1202
#24 0xb67e6734 in QApplicationPrivate::notify_helper (this=0x80879e8, receiver=0x8109ba8, e=0xbfa49418) at kernel/qapplication.cpp:4277
#25 0xb67ea98d in QApplication::notify (this=0x8078f30, receiver=0x8109ba8, e=0xbfa49418) at kernel/qapplication.cpp:4049
#26 0xb7836b4b in KApplication::notify (this=0x8078f30, receiver=0x8109ba8, event=0xbfa49418) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#27 0xb7234ff2 in QCoreApplication::notifyInternal (this=0x8078f30, receiver=0x8109ba8, event=0xbfa49418) at kernel/qcoreapplication.cpp:704
#28 0xb7268ebe in QTimerInfoList::activateTimers (this=0x808a2cc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 0xb7265fe5 in timerSourceDispatch (source=0x808a298) at kernel/qeventdispatcher_glib.cpp:184
#30 0xb507ccba in IA__g_main_context_dispatch (context=0x8089a90) at gmain.c:1824
#31 0xb507d510 in g_main_context_iterate (context=0x8089a90, block=<value optimized out>, dispatch=1, self=0x8087500) at gmain.c:2455
#32 0xb507d640 in IA__g_main_context_iteration (context=0x8089a90, may_block=1) at gmain.c:2518
#33 0xb7265d06 in QEventDispatcherGlib::processEvents (this=0x8087788, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:407
#34 0xb6899446 in QGuiEventDispatcherGlib::processEvents (this=0x8087788, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#35 0xb723393a in QEventLoop::processEvents (this=0xbfa496e4, flags=) at kernel/qeventloop.cpp:149
#36 0xb7233d9a in QEventLoop::exec (this=0xbfa496e4, flags={i = 0}) at kernel/qeventloop.cpp:201
#37 0xb7236dc1 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#38 0xb67dda18 in QApplication::exec () at kernel/qapplication.cpp:3616
#39 0xb7f90531 in kdemain (argc=1, argv=0xbfa498a4) at /var/tmp/portage/kde-base/plasma-workspace-4.3.2/work/plasma-workspace-4.3.2/plasma/shells/desktop/main.cpp:50
#40 0x0804863b in main (argc=1, argv=0xbfa498a4) at /var/tmp/portage/kde-base/plasma-workspace-4.3.2/work/plasma-workspace-4.3.2_build/plasma/shells/desktop/plasma-desktop_dummy.cpp:3
Comment 1 Dario Andres 2009-10-26 13:40:39 UTC
Merging with bug 209582. Thanks

*** This bug has been marked as a duplicate of bug 209582 ***