Bug 211357 - kbluetooth crashed sending clipboard text to bluetooth device
Summary: kbluetooth crashed sending clipboard text to bluetooth device
Status: RESOLVED FIXED
Alias: None
Product: kde-bluetooth
Classification: Miscellaneous
Component: kbluetoothd (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
: 223934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-21 19:07 UTC by Jonathan Thomas
Modified: 2010-01-31 01:38 UTC (History)
3 users (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 Jonathan Thomas 2009-10-21 19:07:48 UTC
Version:           0.4 RC1 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

Originally reported at https://launchpad.net/bugs/457255

Original report text:
"I am using fully updated Kubuntu 9.10 with KDE 4.3.2. I copied to clipboard a URL and tried to use the "Send --> Clipboard Text" feature of kbluetooth. The device selection window appeared, I selected a device and when I clicked send kbluetooth crashed. I tried this with other recipient devices and it happens too.
I am using a Dell XPS M1330 with the Dell 355 Bluetooth module."

Backtrace:

.
Thread 1 (process 5979):
#0  0x00007fb36fcbf767 in QString::operator= () from /usr/lib/libQtCore.so.4
No symbol table info available.
#1  0x00000000004139a9 in KBlueTray::slotSendFile (this=0x7fff97521900, 
    mac=@0x7fff9751f170)
    at /build/buildd/kdebluetooth-0.4~rc1/src/trayicon.cpp:432
	__PRETTY_FUNCTION__ = "void KBlueTray::slotSendFile(const QString&)"
#2  0x0000000000413d9a in KBlueTray::slotSendClipboardText (
    this=0x7fff97521900, address=@0x7fff9751f170)
    at /build/buildd/kdebluetooth-0.4~rc1/src/trayicon.cpp:464
	tempFile = {<> = {<No data fields>}, d = 0xa2e160}
	stream = <incomplete type>
	__PRETTY_FUNCTION__ = "void KBlueTray::slotSendClipboardText(const QString&)"
#3  0x000000000040d2f3 in KBlueTray::qt_metacall (this=0x7fff97521900, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff9751f110)
    at /build/buildd/kdebluetooth-0.4~rc1/obj-x86_64-linux-gnu/src/moc_trayicon.cpp:150
No locals.
#4  0x00007fb36fd77ddc in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
No symbol table info available.
#5  0x000000000040cb10 in DeviceSel::deviceSelected (this=0x7fff97521a08, 
    _t1=<value optimized out>)
    at /build/buildd/kdebluetooth-0.4~rc1/obj-x86_64-linux-gnu/src/moc_devicesel.cpp:106
	_a = {0x0, 0x7fff9751f170}
#6  0x00000000004225b0 in DeviceSel::slotSend (this=0xce5cf0)
    at /build/buildd/kdebluetooth-0.4~rc1/src/deviceselector/devicesel.cpp:117
	mac = {static null = {<No data fields>}, static shared_null = {ref = {
      _q_value = 8364}, alloc = 0, size = 0, data = 0x64305a, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 57}, 
    alloc = 0, size = 0, data = 0x7fb37005385a, clean = 0, simpletext = 0, 
    righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, d = 0x986b50, static codecForCStrings = 0x0}
#7  0x000000000040d76c in DeviceSel::qt_metacall (this=0xce5cf0, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff9751f2e0)
    at /build/buildd/kdebluetooth-0.4~rc1/obj-x86_64-linux-gnu/src/moc_devicesel.cpp:89
No locals.
#8  0x00007fb36fd77ddc in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
No symbol table info available.
#9  0x00007fb36f80c8e7 in QAbstractButton::clicked ()
   from /usr/lib/libQtGui.so.4
No symbol table info available.
#10 0x00007fb36f56e41b in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#11 0x00007fb36f57002b in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#12 0x00007fb36f570275 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
No symbol table info available.
#13 0x00007fb36f2599c0 in QWidget::event () from /usr/lib/libQtGui.so.4
No symbol table info available.
#14 0x00007fb36f20aefc in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
No symbol table info available.
#15 0x00007fb36f212011 in QApplication::notify () from /usr/lib/libQtGui.so.4
No symbol table info available.
#16 0x00007fb371d28ab6 in KApplication::notify (this=0x7fff97521a90, 
    receiver=0xc6a0b0, event=0x7fff9751fa00)
    at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#17 0x00007fb36fd62c2c in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
No symbol table info available.
#18 0x00007fb36f2118e0 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
No symbol table info available.
#19 0x00007fb36f277a0e in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#20 0x00007fb36f276aa9 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
No symbol table info available.
#21 0x00007fb36f29fd0c in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#22 0x00007fb36b509bbe in g_main_context_dispatch ()
   from /lib/libglib-2.0.so.0
No symbol table info available.
#23 0x00007fb36b50d588 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007fb36b50d6b0 in g_main_context_iteration ()
   from /lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007fb36fd8b1a6 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
No symbol table info available.
#26 0x00007fb36f29f4be in ?? () from /usr/lib/libQtGui.so.4
No symbol table info available.
#27 0x00007fb36fd61532 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
No symbol table info available.
#28 0x00007fb36fd61904 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
No symbol table info available.
#29 0x00007fb36fd63ab9 in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
No symbol table info available.
#30 0x000000000040eaa1 in main (argc=<value optimized out>, 
    argv=<value optimized out>)
    at /build/buildd/kdebluetooth-0.4~rc1/src/main.cpp:71
	aboutData = {d = 0x8ad290}
	a = {<KApplication> = {<> = {<No data fields>}, 
    static staticMetaObject = {d = {superdata = 0x7fb36fbe9960, 
        stringdata = 0x7fb371e89a20 "KApplication", data = 0x7fb371e89bc0, 
        extradata = 0x0}}, static loadedByKdeinit = false, 
    static KApp = 0x7fff97521a90, d = 0x989c50}, static staticMetaObject = {
    d = {superdata = 0x7fb372105ce0, 
      stringdata = 0x7fb371e8a300 "KUniqueApplication", 
      data = 0x7fb371e8a400, extradata = 0x0}}, d = 0x937de0}
	path = {static null = {<No data fields>}, static shared_null = {
    ref = {_q_value = 8364}, alloc = 0, size = 0, data = 0x64305a, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
    reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 57}, 
    alloc = 0, size = 0, data = 0x7fb37005385a, clean = 0, simpletext = 0, 
    righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {
      0}}, d = 0x9937b0, static codecForCStrings = 0x0}
	main = {<Experimental::KNotificationItem> = {<> = {<No data fields>}, 
    static staticMetaObject = {d = {superdata = 0x642f20, 
        stringdata = 0x7fb371195cc0 "Experimental::KNotificationItem", 
        data = 0x7fb3711960a0, extradata = 0x0}}, d = 0x9932f0}, 
  static staticMetaObject = {d = {superdata = 0x642f60, 
      stringdata = 0x4371a0 "KBlueTray", data = 0x437f60, extradata = 0x0}}, 
  modes = {<QList<QString>> = {{p = {static shared_null = {ref = {
              _q_value = 4399}, alloc = 0, begin = 0, end = 0, sharable = 1, 
            array = {0x0}}, d = 0x95cc10}, d = 0x95cc10}}, <No data fields>}, 
  toolTipInfo = {static null = {<No data fields>}, static shared_null = {
      ref = {_q_value = 8364}, alloc = 0, size = 0, data = 0x64305a, 
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
      capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {
        _q_value = 57}, alloc = 0, size = 0, data = 0x7fb37005385a, 
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
      capacity = 0, reserved = 0, array = {0}}, d = 0xa87df0, 
    static codecForCStrings = 0x0}, tray = 0x7fff97521990, m_IconDisabled = {
    d = 0x9b5f20}, m_IconEnabled = {d = 0x9d4760}, mainmenu = 0x7fff97521af0, 
  quitAction = 0x39, aboutAction = 0x960ac0, adapterAction = 0xa5fea0, 
  receivedAction = 0x8ca610, serverAction = 0xa61950, 
  wizardAction = 0x9d5160, sendToAction = 0x9b4e00, 
  lockConfigureAction = 0xa07780, lockEnableAction = 0x9fb7b0, 
  kbluelockMenu = 0x922620, settingsMenu = 0xa6a050, m_sendMenu = 0x9cfab0, 
  config = 0x960c50, confGroup = 0x9b5fd0, adapterConfig = 0x0, 
  secure = 0x100000000, adapter = 0xa1acf0, session = 0x0, server = 0xaa29b0, 
  serversession = 0x0, defaultAdapterUBI = {static null = {<No data fields>}, 
    static shared_null = {ref = {_q_value = 8364}, alloc = 0, size = 0, 
      data = 0x64305a, clean = 0, simpletext = 0, righttoleft = 0, 
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
    static shared_empty = {ref = {_q_value = 57}, alloc = 0, size = 0, 
      data = 0x7fb37005385a, clean = 0, simpletext = 0, righttoleft = 0, 
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xa64d90, 
    static codecForCStrings = 0x0}, online = true, devSelector = 0xce5cf0, 
  lockSelector = 0x0, fileToSend = {static null = {<No data fields>}, 
    static shared_null = {ref = {_q_value = 8364}, alloc = 0, size = 0, 
      data = 0x64305a, clean = 0, simpletext = 0, righttoleft = 0, 
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
    static shared_empty = {ref = {_q_value = 57}, alloc = 0, size = 0, 
      data = 0x7fb37005385a, clean = 0, simpletext = 0, righttoleft = 0, 
      asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0xcfd990, 
    static codecForCStrings = 0x0}, filesToSend = {<QList<QString>> = {{p = {
          static shared_null = {ref = {_q_value = 4399}, alloc = 0, 
            begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xe90510}, 
        d = 0xe90510}}, <No data fields>}, progress = 0x0, 
  totalFileSize = 140406775873537, lockDevice = {
    static null = {<No data fields>}, static shared_null = {ref = {
        _q_value = 8364}, alloc = 0, size = 0, data = 0x64305a, clean = 0, 
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
      reserved = 0, array = {0}}, static shared_empty = {ref = {
        _q_value = 57}, alloc = 0, size = 0, data = 0x7fb37005385a, 
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
      capacity = 0, reserved = 0, array = {0}}, d = 0x643040, 
    static codecForCStrings = 0x0}, lockDeviceName = {
    static null = {<No data fields>}, static shared_null = {ref = {
        _q_value = 8364}, alloc = 0, size = 0, data = 0x64305a, clean = 0, 
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
      reserved = 0, array = {0}}, static shared_empty = {ref = {
        _q_value = 57}, alloc = 0, size = 0, data = 0x7fb37005385a, 
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
      capacity = 0, reserved = 0, array = {0}}, d = 0x643040, 
    static codecForCStrings = 0x0}, kblueLockEnabled = false, 
  kblueUnlockEnabled = 153, awaytime = {d = 0x95c3e0}, dbus = 0xa18100, 
  agentPath = {static null = {<No data fields>}, static shared_null = {ref = {
        _q_value = 8364}, alloc = 0, size = 0, data = 0x64305a, clean = 0, 
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
      reserved = 0, array = {0}}, static shared_empty = {ref = {
        _q_value = 57}, alloc = 0, size = 0, data = 0x7fb37005385a, 
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
      capacity = 0, reserved = 0, array = {0}}, d = 0x9937b0, 
    static codecForCStrings = 0x0}, agent = 0xa34b20, m_kBlueLock = 0x0, 
  m_sendClipboardText = 0x9c5260, m_aboutDialog = 0x0, sendingToMac = {
    static null = {<No data fields>}, static shared_null = {ref = {
        _q_value = 8364}, alloc = 0, size = 0, data = 0x64305a, clean = 0, 
      simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
      reserved = 0, array = {0}}, static shared_empty = {ref = {
        _q_value = 57}, alloc = 0, size = 0, data = 0x7fb37005385a, 
      clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
      capacity = 0, reserved = 0, array = {0}}, d = 0xef9a70, 
    static codecForCStrings = 0x0}, m_wallet = 0x0}
Comment 1 Alex Fiestas 2009-10-21 20:39:56 UTC
Hugo sent a patch to me that seems to be working (is quite simple), I'll commit it later so you can test it.

Thanks for the report!
Comment 2 Jonathan Thomas 2009-10-22 20:18:23 UTC
I can assume that http://websvn.kde.org/?view=revision&revision=1038837 was the fix, correct?
Comment 3 Alex Fiestas 2009-10-22 21:12:05 UTC
Yes it's, thanks for the report once again!
Comment 4 Dario Andres 2010-01-31 01:38:35 UTC
*** Bug 223934 has been marked as a duplicate of this bug. ***