Bug 250276 - Crash during suspend/resume in blludedevil
Summary: Crash during suspend/resume in blludedevil
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: bluetooth (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 15:12 UTC by Andrey Borzenkov
Modified: 2010-10-11 21:47 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 Andrey Borzenkov 2010-09-05 15:12:34 UTC
Application: kded4 ($Id: kded.cpp 1151015 2010-07-17 13:50:01Z pokrzywka $)
KDE Platform Version: 4.5.67 (4.6 >= 20100901)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.4-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
- What I was doing when the application crashed:

I was resuming from suspend. Currently I am running bluedevil at a6447c573dd1ded733a68ee9b68db67ee67287ca and have impression, it happened more often than before (although probably for different reasons).

The crash can be reproduced some of the time.

-- Backtrace:
Application: Служба KDE (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7f069b39b720 (LWP 9598))]

Thread 3 (Thread 0x7f0681661710 (LWP 9601)):
#0  0x00007f0698a5e533 in poll () from /lib64/libc.so.6
#1  0x00007f0695d47914 in g_main_context_poll (context=0x7f067c0009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3063
#2  g_main_context_iterate (context=0x7f067c0009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2745
#3  0x00007f0695d47e4d in g_main_context_iteration (context=0x7f067c0009b0, may_block=1) at gmain.c:2813
#4  0x00007f069a02c8b6 in QEventDispatcherGlib::processEvents (this=0x7f067c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f069a000ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f069a000d1c in QEventLoop::exec (this=0x7f0681660e60, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f0699f15e74 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f0699f1868e in QThreadPrivate::start (arg=0xbc1fc0) at thread/qthread_unix.cpp:266
#9  0x00007f0699c90a5d in start_thread () from /lib64/libpthread.so.0
#10 0x00007f0698a6815d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0680e60710 (LWP 9606)):
#0  0x00007f0699c943e9 in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x00007f0695d468b2 in g_main_context_prepare (context=0x7f06740009b0, priority=0x7f0680e5fd0c) at gmain.c:2437
#2  0x00007f0695d477a9 in g_main_context_iterate (context=0x7f06740009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2730
#3  0x00007f0695d47e4d in g_main_context_iteration (context=0x7f06740009b0, may_block=1) at gmain.c:2813
#4  0x00007f069a02c8b6 in QEventDispatcherGlib::processEvents (this=0x7f06740008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f069a000ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f069a000d1c in QEventLoop::exec (this=0x7f0680e5fe20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f0699f15e74 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f0699fe21f8 in QInotifyFileSystemWatcherEngine::run (this=0xbcc550) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f0699f1868e in QThreadPrivate::start (arg=0xbcc550) at thread/qthread_unix.cpp:266
#10 0x00007f0699c90a5d in start_thread () from /lib64/libpthread.so.0
#11 0x00007f0698a6815d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f069b39b720 (LWP 9598)):
[KCrash Handler]
#6  0x00007f06989be925 in raise () from /lib64/libc.so.6
#7  0x00007f06989bff40 in abort () from /lib64/libc.so.6
#8  0x00007f0699f105d4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007f0699f1079d in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f069a060d88 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fff8499ca60)
    at global/qglobal.cpp:2305
#10 0x00007f0699f10935 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#11 0x00007f0681d99ae7 in QString::QString (this=<value optimized out>, other=@0xc84da0) at /usr/lib/qt4/include/QtCore/qstring.h:728
#12 0x00007f0681d9dd8d in QHashNode<QString, OrgOpenobexSessionInterface*>::QHashNode (this=0xc84d90, key0=<value optimized out>, value0=@0x7fff8499cbb0) at /usr/lib/qt4/include/QtCore/qhash.h:224
#13 0x00007f0681d9de6a in QHash<QString, OrgOpenobexSessionInterface*>::createNode (this=0xbaf438, ah=129849625, akey=..., avalue=@0x7fff8499cbb0, anextNode=0xda6f60)
    at /usr/lib/qt4/include/QtCore/qhash.h:543
#14 0x00007f0681d9dffc in QHash<QString, OrgOpenobexSessionInterface*>::operator[] (this=0xbaf438, akey=...) at /usr/lib/qt4/include/QtCore/qhash.h:744
#15 0x00007f0681d9b7a8 in ObexFtpDaemon::offlineMode (this=0xba34b0) at /usr/src/debug/bluedevil-0.1/src/daemon/obexftpkded/ObexFtpDaemon.cpp:122
#16 0x00007f0681d99748 in ObexFtpDaemon::qt_metacall (this=0xba34b0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff8499cf20)
    at /usr/src/debug/bluedevil-0.1/build/src/daemon/obexftpkded/moc_ObexFtpDaemon.cpp:112
#17 0x00007f069a015fbf in QMetaObject::activate (sender=0xba0590, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8499cf20) at kernel/qobject.cpp:3272
#18 0x00007f0681b3e282 in BlueDevil::Manager::defaultAdapterChanged (this=0x257e, _t1=0x0) at /usr/src/debug/libbluedevil-1.7/build/bluedevil/bluedevilmanager.moc:121
#19 0x00007f0681b3e6b9 in BlueDevil::Manager::Private::_k_adapterRemoved (this=0xbae690, objectPath=<value optimized out>) at /usr/src/debug/libbluedevil-1.7/bluedevil/bluedevilmanager.cpp:84
#20 0x00007f0681b3f1ba in BlueDevil::Manager::qt_metacall (this=0xba0590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8499d060)
    at /usr/src/debug/libbluedevil-1.7/build/bluedevil/bluedevilmanager.moc:93
#21 0x00007f069a015fbf in QMetaObject::activate (sender=0xbb4c80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff8499d060) at kernel/qobject.cpp:3272
#22 0x00007f0681b517f5 in OrgBluezManagerInterface::AdapterRemoved (this=0x257e, _t1=<value optimized out>) at /usr/src/debug/libbluedevil-1.7/build/bluedevil/bluezmanager.moc:121
#23 0x00007f0681b51d14 in OrgBluezManagerInterface::qt_metacall (this=0xbb4c80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8499d3b0)
    at /usr/src/debug/libbluedevil-1.7/build/bluedevil/bluezmanager.moc:92
#24 0x00007f06976382b8 in QDBusConnectionPrivate::deliverCall (this=0xbaefe0, object=0xbb4c80, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:916
#25 0x00007f069764355f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#26 0x00007f069a015aba in QObject::event (this=0xbb4c80, e=<value optimized out>) at kernel/qobject.cpp:1211
#27 0x00007f06991b46e4 in QApplicationPrivate::notify_helper (this=0xa4f6c0, receiver=0xbb4c80, e=0xf1bd50) at kernel/qapplication.cpp:4396
#28 0x00007f06991b915a in QApplication::notify (this=<value optimized out>, receiver=0xbb4c80, e=0xf1bd50) at kernel/qapplication.cpp:4277
#29 0x00007f069ad4dc86 in KApplication::notify (this=0x7fff8499deb0, receiver=0xbb4c80, event=0xf1bd50) at /usr/src/debug/kdelibs-4.5.67svn1170578/kdeui/kernel/kapplication.cpp:310
#30 0x00007f069a00173c in QCoreApplication::notifyInternal (this=0x7fff8499deb0, receiver=0xbb4c80, event=0xf1bd50) at kernel/qcoreapplication.cpp:732
#31 0x00007f069a004ee5 in sendEvent (receiver=0x0, event_type=0, data=0x9a8b00) at kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9a8b00) at kernel/qcoreapplication.cpp:1373
#33 0x00007f069a02c6c3 in sendPostedEvents (s=0xa52160) at kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0xa52160) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007f0695d473d3 in g_main_dispatch (context=0xa52080) at gmain.c:2119
#36 g_main_context_dispatch (context=0xa52080) at gmain.c:2672
#37 0x00007f0695d47bb0 in g_main_context_iterate (context=0xa52080, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2750
#38 0x00007f0695d47e4d in g_main_context_iteration (context=0xa52080, may_block=1) at gmain.c:2813
#39 0x00007f069a02c85f in QEventDispatcherGlib::processEvents (this=0x9aad30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#40 0x00007f069925874e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f069a000ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f069a000d1c in QEventLoop::exec (this=0x7fff8499ddf0, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007f069a00519b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x00007f0689eff332 in kdemain (argc=1, argv=0xa09d10) at /usr/src/debug/kdelibs-4.5.67svn1170578/kded/kded.cpp:900
#45 0x0000000000407927 in launch (argc=<value optimized out>, _name=0x40b680 "kded4", args=<value optimized out>, cwd=0x0, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=
    false, startup_id_str=0x40b3e1 "0") at /usr/src/debug/kdelibs-4.5.67svn1170578/kinit/kinit.cpp:727
#46 0x0000000000408f77 in main (argc=4, argv=0x7fff8499e6e8, envp=0x7fff8499e710) at /usr/src/debug/kdelibs-4.5.67svn1170578/kinit/kinit.cpp:1841

Reported using DrKonqi
Comment 1 Alex Fiestas 2010-09-12 23:14:07 UTC
Hi, this should be fixed when using libbluedevil 1.8, can you update and try to reproduce?

Thanks.
Comment 2 Alex Fiestas 2010-10-11 21:47:39 UTC
Well, since everybody is saying that this bug is closed, I'm going to set it as fixed.

If you are able to reproduce it, just re-open it please.

Thanks!