Web lists-archives.org

device notifier plasmoid crash (backtrace)




I have compiled the KDE 4.0.0 from the sources. While
using it, I've found a bug in device notifier
plasmoid.

Steps to reproduce:

1 - plug a pendrive
2 - wait the system notify the new device
3 - open the plasmoid (add widgets->device notifier)

There are another bug here as in plasmoid the device
is not listed

4 - remove the pendrive
5 - and crash happens

I have reproduced it several times and all backtraces
are the same.

Here is the backtrace:

Using host libthread_db library
"/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb56e2b40 (LWP 3269)]
[New Thread 0xb3cd9bb0 (LWP 3270)]
[KCrash handler]
#6  0xb7f1b6a1 in
Plasma::LayoutItem::unsetManagingLayout
(this=0xbff93ff8, 
    layout=0x84d1e70)
    at
/tmp/kdebase-workspace-4.0.0/libs/plasma/layouts/layoutitem.cpp:132
#7  0xb7f0e96c in Plasma::BoxLayout::removeItem
(this=0x84d1e70, 
    item=0xbff93ff8)
    at
/tmp/kdebase-workspace-4.0.0/libs/plasma/layouts/boxlayout.cpp:329
#8  0xb34bcdbd in
DeviceNotifier::performSourceRemovedInDesktop (
    this=0x84c0eb8, name=@0x82959e8)
    at
/tmp/kdebase-workspace-4.0.0/plasma/applets/devicenotifier/devicenotifier.cpp:356
#9  0xb34bce1f in DeviceNotifier::onSourceRemoved
(this=0x84c0eb8, 
    name=@0x82959e8)
    at
/tmp/kdebase-workspace-4.0.0/plasma/applets/devicenotifier/devicenotifier.cpp:339
#10 0xb34bd808 in DeviceNotifier::qt_metacall
(this=0x84c0eb8, 
    _c=QMetaObject::InvokeMetaMethod, _id=1,
_a=0xbff9450c)
    at
/tmp/kdebase-workspace-4.0.0/build/plasma/applets/devicenotifier/devicenotifier.moc:80
#11 0xb720f4f2 in QMetaObject::activate
(sender=0x81afb28, 
    from_signal_index=5, to_signal_index=5,
argv=0xbff9450c)
    at kernel/qobject.cpp:3087
#12 0xb720f78d in QMetaObject::activate
(sender=0x81afb28, m=0xb7fab134, 
    local_signal_index=1, argv=0xbff9450c) at
kernel/qobject.cpp:3149
#13 0xb7f071a0 in Plasma::DataEngine::sourceRemoved
(this=0x81afb28, 
    _t1=@0x82959e8)
    at
/tmp/kdebase-workspace-4.0.0/build/libs/plasma/dataengine.moc:169
#14 0xb7f0753f in Plasma::DataEngine::removeSource
(this=0x81afb28, 
    source=@0x8481008)
    at
/tmp/kdebase-workspace-4.0.0/libs/plasma/dataengine.cpp:391
#15 0xb34946dc in HotplugEngine::onDeviceRemoved
(this=0x81afb28, 
    udi=@0x8481008)
    at
/tmp/kdebase-workspace-4.0.0/plasma/dataengines/hotplug/hotplugengine.cpp:96
#16 0xb349579f in HotplugEngine::qt_metacall
(this=0x81afb28, 
    _c=QMetaObject::InvokeMetaMethod, _id=1,
_a=0xbff94abc)
    at
/tmp/kdebase-workspace-4.0.0/build/plasma/dataengines/hotplug/hotplugengine.moc:69
#17 0xb720f4f2 in QMetaObject::activate
(sender=0x81b0790, 
    from_signal_index=5, to_signal_index=5,
argv=0xbff94abc)
    at kernel/qobject.cpp:3087
#18 0xb720f78d in QMetaObject::activate
(sender=0x81b0790, m=0xb731a3ac, 
    local_signal_index=1, argv=0xbff94abc) at
kernel/qobject.cpp:3149
#19 0xb72cd6d4 in Solid::DeviceNotifier::deviceRemoved
(this=0x81b0790, 
    _t1=@0x8481008)
    at
/tmp/kdelibs-4.0.0/build/solid/solid/devicenotifier.moc:85
#20 0xb72ce0d9 in
Solid::DeviceManagerPrivate::_k_deviceRemoved (
    this=0x81b0790, udi=@0x8481008)
    at
/tmp/kdelibs-4.0.0/solid/solid/devicemanager.cpp:185
#21 0xb72ce84d in
Solid::DeviceManagerPrivate::qt_metacall
(this=0x81b0790, 
    _c=QMetaObject::InvokeMetaMethod, _id=1,
_a=0xbff9501c)
    at
/tmp/kdelibs-4.0.0/build/solid/solid/devicemanager_p.moc:72
#22 0xb720f4f2 in QMetaObject::activate
(sender=0x81a7680, 
    from_signal_index=5, to_signal_index=5,
argv=0xbff9501c)
    at kernel/qobject.cpp:3087
#23 0xb720f78d in QMetaObject::activate
(sender=0x81a7680, m=0xb731a52c, 
    local_signal_index=1, argv=0xbff9501c) at
kernel/qobject.cpp:3149
#24 0xb72e30ee in
Solid::Ifaces::DeviceManager::deviceRemoved
(this=0x81a7680, 
    _t1=@0x8481008)
    at
/tmp/kdelibs-4.0.0/build/solid/solid/ifaces/devicemanager.moc:85
#25 0xb72f35b4 in
Solid::Backends::Hal::HalManager::slotDeviceRemoved (
    this=0x81a7680, udi=@0x8481008)
    at
/tmp/kdelibs-4.0.0/solid/solid/backends/hal/halmanager.cpp:220
#26 0xb72f3689 in
Solid::Backends::Hal::HalManager::qt_metacall (
    this=0x81a7680, _c=QMetaObject::InvokeMetaMethod,
_id=1, _a=0xbff950b0)
    at
/tmp/kdelibs-4.0.0/build/solid/solid/backends/hal/halmanager.moc:70
#27 0xb70c26c8 in QDBusConnectionPrivate::deliverCall
(this=0x81ad8d0, 
    object=0x81a7680, msg=@0x84746d0,
metaTypes=@0x84746d4, slotIdx=7)
    at qdbusintegrator.cpp:837
#28 0xb70cab90 in
QDBusCallDeliveryEvent::placeMetaCall (this=0x84746a0,

    object=0x81a7680) at qdbusintegrator_p.h:128
#29 0xb7212171 in QObject::event (this=0x81a7680,
e=0x84746a0)
    at kernel/qobject.cpp:1128
#30 0xb69dd001 in QApplicationPrivate::notify_helper
(this=0x8088710, 
    receiver=0x81a7680, e=0x84746a0) at
kernel/qapplication.cpp:3556
#31 0xb69dd311 in QApplication::notify
(this=0x806f970, receiver=0x81a7680, 
    e=0x84746a0) at kernel/qapplication.cpp:3115
#32 0xb78f3232 in KApplication::notify
(this=0x806f970, receiver=0x81a7680, 
    event=0x84746a0) at
/tmp/kdelibs-4.0.0/kdeui/kernel/kapplication.cpp:314
#33 0xb71fc364 in QCoreApplication::notifyInternal
(this=0x806f970, 
    receiver=0x81a7680, event=0x84746a0) at
kernel/qcoreapplication.cpp:530
#34 0xb7200293 in QCoreApplication::sendEvent
(receiver=0x81a7680, 
    event=0x84746a0)
    at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:200
#35 0xb71ffddf in
QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, 
    event_type=0, data=0x804bf50) at
kernel/qcoreapplication.cpp:1113
#36 0xb71fff35 in QCoreApplication::sendPostedEvents
(receiver=0x0, 
    event_type=-1) at kernel/qcoreapplication.cpp:1001
#37 0xb7227678 in postEventSourceDispatch
(s=0x808c2b8)
    at kernel/qeventdispatcher_glib.cpp:207
#38 0xb623426c in IA__g_main_context_dispatch
(context=0x808b698)
    at gmain.c:1916
#39 0xb62376fb in g_main_context_iterate
(context=0x808b698, block=1, 
    dispatch=1, self=0x80887d8) at gmain.c:2547
#40 0xb6237bd7 in IA__g_main_context_iteration
(context=0x808b698, may_block=1)
    at gmain.c:2606
#41 0xb722757c in QEventDispatcherGlib::processEvents
(this=0x8088e70, 
    flags=@0xbff95938) at
kernel/qeventdispatcher_glib.cpp:338
#42 0xb6a72bb2 in
QGuiEventDispatcherGlib::processEvents
(this=0x8088e70, 
    flags=@0xbff9596c) at
kernel/qguieventdispatcher_glib.cpp:191
#43 0xb71fb234 in QEventLoop::processEvents
(this=0xbff959e0, 
    flags=@0xbff959a4) at kernel/qeventloop.cpp:140
#44 0xb71fb498 in QEventLoop::exec (this=0xbff959e0,
flags=@0xbff959e8)
    at kernel/qeventloop.cpp:182
#45 0xb7200053 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:759
#46 0xb69dc417 in QApplication::exec () at
kernel/qapplication.cpp:3053
#47 0xb7fc5561 in kdemain (argc=1, argv=0xbff95b64)
    at
/tmp/kdebase-workspace-4.0.0/plasma/plasma/main.cpp:54
#48 0x0804888c in main (argc=1, argv=0xbff95b64)
    at
/tmp/kdebase-workspace-4.0.0/build/plasma/plasma/plasma-qgv_dummy.cpp:3
#0  0xb7fd0410 in __kernel_vsyscall ()

I think here are 2 bugs. The first is device is not
listed in plasmoid if I open the plasmoid after plug
it. If I open the plasmoid and plug the pendrive, it
works fine.

The second is when the device is removed, the plasmoid
tries to remove a device not listed and crashes.

I use KDE 4.0.0, Qt 4.3.3 (qt-copy version) and
linuxfromscratch 6.2, all compiled from the sources.

I can send the coredump file if need it.

Should I add this bug to bugs.kde.org??


Raul Fernandes
rgfbr@xxxxxxxxxxxx


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<