Bug 231470 - KBluetooth obex file transfer: sending a file initiates too many transfer jobs, the last one hangs, and kbluetooth crashes when cancelling the job
Summary: KBluetooth obex file transfer: sending a file initiates too many transfer job...
Status: RESOLVED DUPLICATE of bug 270702
Alias: None
Product: kbluetooth
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 22:18 UTC by Ryan Saunders
Modified: 2011-04-11 19:43 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 Ryan Saunders 2010-03-20 22:18:47 UTC
Application that crashed: kbluetooth
Version of the application: 0.4
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
There are several problems here. First, when initiating an obex file transfer from my PC to my mobile device, I notice that TWO file transfer jobs are triggered...my file is being transfered twice. The situation becomes even stranger when I select multiple files to transfer...some of the files don't get transfered (in my case, every other file was successfully transfered...e.g., file 2, file 4, file 6...).

When the last file in the set was reached, the transfer job appeared to be hung, at 0% complete. After a while, I decided that it was never going to finish, so I clicked the "stop" button on the job notification. This is when kbluetooth crashed.

Considering the other bugs related to crashes in doKill, the crash may be a duplicate of the other bugs. But the situation that led me to kill the job in the first place also needs to be investigated.

 -- Backtrace:
Application: KBluetooth (kbluetooth), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fb917217673 in QDBusAbstractInterface::callWithArgumentList (this=<value optimized out>, mode=QDBus::AutoDetect, method=<value optimized out>, args=<value optimized out>)
    at qdbusabstractinterface.cpp:379
#6  0x00007fb91721aba3 in QDBusAbstractInterface::call (this=<value optimized out>, mode=<value optimized out>, method=<value optimized out>, arg1=<value optimized out>, arg2=@0x7fff82116d20, 
    arg3=@0x7fff82116d10, arg4=@0x7fff82116d00, arg5=@0x7fff82116cf0, arg6=@0x7fff82116ce0, arg7=@0x7fff82116cd0, arg8=@0x7fff82116cc0) at qdbusabstractinterface.cpp:655
#7  0x00007fb91721ad81 in QDBusAbstractInterface::call (this=0x6, method=<value optimized out>, arg1=<value optimized out>, arg2=<value optimized out>, arg3=<value optimized out>, 
    arg4=@0x7fff82116d00, arg5=@0x7fff82116cf0, arg6=@0x7fff82116ce0, arg7=@0x7fff82116cd0, arg8=@0x7fff82116cc0) at qdbusabstractinterface.cpp:598
#8  0x000000000042116d in ObexSessionFileTransfer::doKill (this=<value optimized out>) at /usr/src/debug/kbluetooth-RC1/src/obexsession/obexsessionfiletransfer.cpp:43
#9  0x00007fb917547079 in KJob::kill () from /usr/lib64/libkdecore.so.5
#10 0x00007fb91844b095 in KUiServerJobTracker::qt_metacall () from /usr/lib64/libkdeui.so.5
#11 0x00007fb916f0b88c in QMetaObject::activate (sender=0xb54b10, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3112
#12 0x00007fb918597230 in ?? () from /usr/lib64/libkdeui.so.5
#13 0x00007fb91720c024 in QDBusConnectionPrivate::deliverCall (this=<value optimized out>, object=<value optimized out>, msg=<value optimized out>, metaTypes=@0xdcc740, slotIdx=<value optimized out>)
    at qdbusintegrator.cpp:891
#14 0x00007fb91721333f in QDBusCallDeliveryEvent::placeMetaCall (this=0xd91c70, object=0x6) at qdbusintegrator_p.h:101
#15 0x00007fb916f05ba9 in QObject::event (this=0xb54b10, e=0xdcc6f0) at kernel/qobject.cpp:1110
#16 0x00007fb9163a512c in QApplicationPrivate::notify_helper (this=0x8da410, receiver=0xb54b10, e=0xdcc6f0) at kernel/qapplication.cpp:4065
#17 0x00007fb9163ac3fe in QApplication::notify (this=0x7fff82117f70, receiver=0xb54b10, e=0xdcc6f0) at kernel/qapplication.cpp:4030
#18 0x00007fb9184502d6 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#19 0x00007fb916ef66ac in QCoreApplication::notifyInternal (this=0x7fff82117f70, receiver=0xb54b10, event=0xdcc6f0) at kernel/qcoreapplication.cpp:610
#20 0x00007fb916ef72ba in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x8b4760) at ../../src/corelib/kernel/qcoreapplication.h:213
#21 0x00007fb916f1f0d3 in postEventSourceDispatch (s=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#22 0x00007fb911a564ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fb911a59e98 in ?? () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fb911a59fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fb916f1ec73 in QEventDispatcherGlib::processEvents (this=0x8b3f30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:406
#26 0x00007fb91643864e in QGuiEventDispatcherGlib::processEvents (this=0xeb8a90, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#27 0x00007fb916ef4fe2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007fb916ef53b4 in QEventLoop::exec (this=0x7fff82117d40, flags=) at kernel/qeventloop.cpp:201
#29 0x00007fb916ef7569 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#30 0x000000000040e0a1 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kbluetooth-RC1/src/main.cpp:71

This bug may be a duplicate of or related to bug 196594

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-04-11 19:43:00 UTC

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