Bug 275783 - Crash when notebook wake up from sleep mode
Summary: Crash when notebook wake up from sleep mode
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: bluetooth-daemon (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 05:57 UTC by Dmitry
Modified: 2011-10-07 17:00 UTC (History)
0 users

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 Dmitry 2011-06-16 05:57:03 UTC
Application: kded4 ($Id: kded.cpp 1031637 2009-10-05 16:58:19Z lunakl $)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-5-686 i686
Distribution: Debian GNU/Linux 6.0.1 (squeeze)

-- Information about the crash:
Some times i saw this error when wake up my notebook from sleep mode.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Служба KDE (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  QThread::d_func (this=0x0, returnCode=0) at thread/qthread.h:130
#7  QThread::exit (this=0x0, returnCode=0) at thread/qthread.cpp:512
#8  0xb6b54535 in QThread::quit (this=0x0) at thread/qthread.cpp:531
#9  0xb205ab62 in BlueDevilDaemon::offlineMode() () from /usr/lib/kde4/kded_bluedevil.so
#10 0xb205adb2 in BlueDevilDaemon::defaultAdapterChanged(BlueDevil::Adapter*) () from /usr/lib/kde4/kded_bluedevil.so
#11 0xb2059579 in BlueDevilDaemon::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/kded_bluedevil.so
#12 0xb6c587aa in QMetaObject::metacall (object=0x92c3080, cl=155780560, idx=153890944, argv=0x0) at kernel/qmetaobject.cpp:237
#13 0xb6c671bb in QMetaObject::activate (sender=0x92a1310, m=0xb0875420, local_signal_index=2, argv=0xbffb7458) at kernel/qobject.cpp:3295
#14 0xb084ded3 in BlueDevil::Manager::defaultAdapterChanged(BlueDevil::Adapter*) () from /usr/lib/libbluedevil.so.1
#15 0xb084e488 in BlueDevil::Manager::Private::_k_adapterRemoved(QDBusObjectPath const&) () from /usr/lib/libbluedevil.so.1
#16 0xb084f200 in BlueDevil::Manager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libbluedevil.so.1
#17 0xb6c587aa in QMetaObject::metacall (object=0x92a1310, cl=155780560, idx=9, argv=0xbffb75c8) at kernel/qmetaobject.cpp:237
#18 0xb6c671bb in QMetaObject::activate (sender=0x92c31f8, m=0xb0875544, local_signal_index=1, argv=0xbffb75c8) at kernel/qobject.cpp:3295
#19 0xb0862043 in ?? () from /usr/lib/libbluedevil.so.1
#20 0xb08626da in ?? () from /usr/lib/libbluedevil.so.1
#21 0xb5c86ac1 in QDBusConnectionPrivate::deliverCall (this=0x9259868, object=0x92c31f8, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:904
#22 0xb5c91877 in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#23 0xb6c63dfe in QObject::event (this=0x92c31f8, e=0x94a06e8) at kernel/qobject.cpp:1248
#24 0xb619c5cc in QApplicationPrivate::notify_helper (this=0x91ac4e8, receiver=0x92c31f8, e=0x94a06e8) at kernel/qapplication.cpp:4302
#25 0xb61a315e in QApplication::notify (this=0xbffb8040, receiver=0x92c31f8, e=0x94a06e8) at kernel/qapplication.cpp:3706
#26 0xb6f49c0a in KApplication::notify (this=0xbffb8040, receiver=0x92c31f8, event=0x94a06e8) at ../../kdeui/kernel/kapplication.cpp:302
#27 0xb6c534cb in QCoreApplication::notifyInternal (this=0xbffb8040, receiver=0x92c31f8, event=0x94a06e8) at kernel/qcoreapplication.cpp:726
#28 0xb6c56f2c in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x914e858) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x914e858) at kernel/qcoreapplication.cpp:1367
#30 0xb6c570ad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#31 0xb6c7f57f in QCoreApplication::sendPostedEvents (s=0x91ae910) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x91ae910) at kernel/qeventdispatcher_glib.cpp:276
#33 0xb5929305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0xb592cfe8 in ?? () from /lib/libglib-2.0.so.0
#35 0xb592d1c8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0xb6c7f075 in QEventDispatcherGlib::processEvents (this=0x91ab968, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#37 0xb625aed5 in QGuiEventDispatcherGlib::processEvents (this=0x91ab968, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0xb6c51ae9 in QEventLoop::processEvents (this=0xbffb7f94, flags=) at kernel/qeventloop.cpp:149
#39 0xb6c51f3a in QEventLoop::exec (this=0xbffb7f94, flags=...) at kernel/qeventloop.cpp:201
#40 0xb6c5716f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#41 0xb619c667 in QApplication::exec () at kernel/qapplication.cpp:3581
#42 0xb515fd4e in kdemain (argc=1, argv=0x9181f50) at ../../kded/kded.cpp:932
#43 0x0804e38b in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=0, envs=0x0, reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80515bb "0") at ../../kinit/kinit.cpp:729
#44 0x080500a0 in main (argc=4, argv=0xbffb8874, envp=0xbffb8888) at ../../kinit/kinit.cpp:1800

This bug may be a duplicate of or related to bug 262041.

Possible duplicates by query: bug 262041.

Reported using DrKonqi
Comment 1 Alex Fiestas 2011-10-07 17:00:17 UTC
Git commit fd6fa391f6ed7dbed7072e8c90247dda09d281d1 by Alex Fiestas.
Committed on 07/10/2011 at 18:50.
Pushed by afiestas into branch 'master'.

Replaced AgentListener (QThread) by delayed DBus messages

This thread has been causing many crashes for some people, and
as far as I remember all the backtraces show weird things not really
within BlueDevilcode, and of course none of the BlueDevil developers has
been able to reproduce the bug. So the best/easy/simpler way of fixing
this is by removing the Thread which shouldn't be there in the first
place.

BUG: 262587
BUG: 275783
BUG: 262041
BUG: 283365

M  +9    -19   src/daemon/kded/BlueDevilDaemon.cpp
M  +0    -5    src/daemon/kded/BlueDevilDaemon.h
M  +1    -2    src/daemon/kded/CMakeLists.txt
D  +0    -40   src/daemon/kded/agentlistener.cpp
D  +0    -55   src/daemon/kded/agentlistener.h
R  +95   -44   src/daemon/kded/bluezagent.cpp [from: src/daemon/kded/agentlistenerworker.cpp - 051% similarity]
R  +29   -5    src/daemon/kded/bluezagent.h [from: src/daemon/kded/agentlistenerworker.h - 081% similarity]

http://commits.kde.org/bluedevil/fd6fa391f6ed7dbed7072e8c90247dda09d281d1