Summary: | kdebluetooth crash incoming file | ||
---|---|---|---|
Product: | [Unmaintained] kbluetooth | Reporter: | Raffaella <axomina> |
Component: | general | Assignee: | Alex Fiestas <afiestas> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | axomina, wstephenson |
Priority: | NOR | ||
Version: | 0.4 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Possible fix for the bug
Patch that really fix stuff :p. |
Description
Raffaella
2009-12-26 15:24:01 UTC
Hi Can you test this bug with rc2 or svn version? I'm quite sure that I fixed it some time ago. Thanks! Hi, can you explain me in a plain way what can I do to help you? I'm not so good ;) I mean wit rc2 or svn... Thanks Sorry for the delay in the answer This bug has been fixed, the next version will include the fix. Thanks! I still experience this bug with 0.4 final. Backtrace is identical, using openSUSE. I can test fixes if needed. Yep, I've fixed this bug I think, but I can't send a patch right now because I'm in a conference, I'll do it asap. sorry for the regression, and thanks for reporting! Created attachment 40477 [details]
Possible fix for the bug
Test 2 things: -Send a long file -Send a small file -Send and cancel the process in PC -Send an cancel the process in Cell phone Thanks! Tomorrow I'll receive 2 more devices so I can do better tests. Ok, do not test the patch, fix this bug but adds a new one. I'll attach a new patch asap. Created attachment 40480 [details]
Patch that really fix stuff :p.
This patch should fix both bugs, I re-test it using 2 different environments and everything seems to be OK.
Sorry for the inconveniences again :/
Forgot to say please, do the test I said in comment #7 No crashes but I found some more problems. The patched version is packaged for openSUSE in KDE:KDE4:Factory:Desktop. Large file send: OK, but see below Small file send: OK, see below Large file, cancel on computer: OK, but see below Large file, cancel on device, OK, but see below Large, small file send: After successfully sending on file, subsequent sends fail after selecting a device and clicking send. It works after restarting KBluetooth: Remote Device found "9C:18:74:50:57:EB" Name: QVariant(QString, "Will Stephenson") kbluetooth(3735) KBlueTray::slotSendFile: ("/home/wstephenson/Documents/music/Lo-bat -Chip_munk- (Qwertypak remix)mp.mp3") kbluetooth(3735) ObexSession::ObexSession: Konstruktor: "/org/openobex" kbluetooth(3735) KBlueTray::slotSendFile: () kbluetooth(3735) ObexSession::sessionCreated: session interface created for: "/org/openobex/session3" kbluetooth(3735) ObexSession::slotConnectError: Session Connect Error "org.openobex.Error.ConnectionAttemptFailed" "Connecting to remote device failed" Agent deleted kbluetooth(3735) ObexServer::stop: obex server stopped kbluetooth(3735) ObexServer::close: obex server closed kbluetooth(3735) ObexServer::~ObexServer: Destructing obexServer :/ bye bye Large file, cancel on computer: Ok but after cancelling via the KJob progress dialog 1) the KNotify popup contains 'Open Destination' button which is wrong for send. 2) the Send action is not reenabled - restart required arge file, cancel on device: On my phone I cannot cancel individual transfers so I disabled Bluetooth globally. KBluetooth did not notice that the remote device had disappeared and cancel the job, it although it did notice that a device was removed: findRegisteredBluetoothInterface "/org/bluez/3570/hci0" ObjectReply calling: "FindDevice" "9C:18:74:50:57:EB" ObjectReply Valid? "/org/bluez/3570/hci0/dev_9C_18_74_50_57_EB" Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &) in /space/kde/sources/trunk/KDE/kdebase/workspace/libs/solid/control/bluetoothremotedevice.cpp:375 Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &) in /space/kde/sources/trunk/KDE/kdebase/workspace/libs/solid/control/bluetoothremotedevice.cpp:377 Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeCreated(const QString &) in /space/kde/sources/trunk/KDE/kdebase/workspace/libs/solid/control/bluetoothremotedevice.cpp:375 Object::connect: No such signal Solid::Control::BluetoothRemoteDevice::nodeRemoved(const QString &) in /space/kde/sources/trunk/KDE/kdebase/workspace/libs/solid/control/bluetoothremotedevice.cpp:377 kbluetooth(4001) ObexSessionFileTransfer::slotTransferStarted: Transfer started ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) ObexSessionFileTransfer::slotTransferProgress: Transfer progress ... kbluetooth(4001) BluezBluetoothInterface::slotDeviceRemoved: device removed Thanks for the feedback, I'll try to address everything once I got my test devices (in a few hours). Thanks for the feedback. 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 |