Application that crashed: kbluetooth Version of the application: 0.4 KDE Version: 4.3.5 (KDE 4.3.5) Qt Version: 4.6.0 Operating System: Linux 2.6.31.9-174.fc12.x86_64 x86_64 What I was doing when the application crashed: KBluetooth crashes after receiving file. Steps to reproduce: 1. make your computer discoverbale 2. send some file to your computer from remote device 3. accept it Actual result: When receiving finishes, crash occures. File is transfered completely. Expected result: No crash ;-) -- Backtrace: Application: KBluetooth (kbluetooth), signal: Segmentation fault 82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [KCrash Handler] #5 QMetaObject::activate (sender=0xeefa50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff493a3630) at kernel/qobject.cpp:3231 #6 0x00007fc1f62de602 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5 #7 0x00007fc1f62de99f in KJob::emitResult() () from /usr/lib64/libkdecore.so.5 #8 0x0000000000428a40 in ObexServerSession::disconnect (this=0xead1b0) at /home/jreznik/test/kbluetooth-0.4/src/obexserver/obexserversession.cpp:68 #9 0x000000000040e7e5 in KBlueTray::slotServerSessionRemoved (this=0x7fff493a4660) at /home/jreznik/test/kbluetooth-0.4/src/trayicon.cpp:729 #10 0x000000000040db90 in KBlueTray::qt_metacall (this=0x7fff493a4660, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff493a38d0) at /home/jreznik/test/kbluetooth-0.4/build/src/moc_trayicon.cpp:173 #11 0x0000003b70d783b3 in QMetaObject::activate (sender=0xeb2620, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff493a38d0) at kernel/qobject.cpp:3282 #12 0x000000000040c753 in ObexServer::sessionRemoved (this=<value optimized out>, _t1=<value optimized out>) at /home/jreznik/test/kbluetooth-0.4/build/src/moc_obexserver.cpp:163 #13 0x000000000042510b in ObexServer::slotSessionRemoved (this=0xeb2620, path=...) at /home/jreznik/test/kbluetooth-0.4/src/obexserver/obexserver.cpp:176 #14 0x000000000040d467 in ObexServer::qt_metacall (this=0xeb2620, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff493a3c10) at /home/jreznik/test/kbluetooth-0.4/build/src/moc_obexserver.cpp:113 #15 0x0000003b75c24dce in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=..., slotIdx=<value optimized out>) at qdbusintegrator.cpp:904 #16 0x0000003b75c2ce7f in QDBusCallDeliveryEvent::placeMetaCall (this=0x6fe269c70000000b, object=<value optimized out>) at qdbusintegrator_p.h:101 #17 0x0000003b70d75311 in QObject::event (this=0xeb2620, e=0xfc1e70) at kernel/qobject.cpp:1248 #18 0x0000003b727ab92c in QApplicationPrivate::notify_helper (this=0xca2180, receiver=0xeb2620, e=0xfc1e70) at kernel/qapplication.cpp:4242 #19 0x0000003b727b1ed5 in QApplication::notify (this=<value optimized out>, receiver=0xeb2620, e=0xfc1e70) at kernel/qapplication.cpp:4125 #20 0x00007fc1f72128e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #21 0x0000003b70d6558c in QCoreApplication::notifyInternal (this=0x7fff493a47f0, receiver=0xeb2620, event=0xfc1e70) at kernel/qcoreapplication.cpp:704 #22 0x0000003b70d66407 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215 #23 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345 #24 0x0000003b70d8ee03 in sendPostedEvents () at kernel/qcoreapplication.h:220 #25 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276 #26 0x0000003b6b03922e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #27 0x0000003b6b03cc18 in ?? () from /lib64/libglib-2.0.so.0 #28 0x0000003b6b03cd3a in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #29 0x0000003b70d8e943 in QEventDispatcherGlib::processEvents (this=0xc7dbb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407 #30 0x0000003b72857d5e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202 #31 0x0000003b70d63ec2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #32 0x0000003b70d6429c in QEventLoop::exec (this=0x7fff493a45c0, flags=...) at kernel/qeventloop.cpp:201 #33 0x0000003b70d666b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #34 0x000000000040e621 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/jreznik/test/kbluetooth-0.4/src/main.cpp:71 Reported using DrKonqi
SVN commit 1087893 by afiestas: KBluetooth is a mess, so we can not use KJob autodelete magic. BUG: 225924 BUG: 223589 BUG: 220145 M +1 -0 obexserversession.cpp M +1 -0 obexserversessionfiletransfer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1087893
Hi Alex, thanks for quick fix! It's working properly now.
*** Bug 238990 has been marked as a duplicate of this bug. ***