Bug 281177

Summary: kopete crash on mouse drag over with url clicked before
Product: [Unmaintained] kopete Reporter: Belomir <leggis>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: alvaro.mtr, froller, pmytilin1984
Priority: NOR    
Version: 1.0.80   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Belomir 2011-09-01 15:46:25 UTC
Application: kopete (1.0.80)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic i686
Distribution: Ubuntu 10.10

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

Tryed to drag'n'drop url from message in kopete chat window, but because of firefox not always react on it I dragged mouse with holded url over panel of kopete chat window. It's immediatly crashed.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7771ac0 (LWP 27129))]

Thread 4 (Thread 0xb310eb70 (LWP 27146)):
#0  0x00a093d7 in pthread_getspecific () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x02f226e0 in QThreadData::current () at thread/qthread_unix.cpp:149
#2  0x03053ab5 in postEventSourcePrepare (s=0x9368400, timeout=0xb310e0cc) at kernel/qeventdispatcher_glib.cpp:254
#3  0x05235e6a in g_main_context_prepare (context=0x93e00c0, priority=0xb310e14c) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2469
#4  0x05236279 in g_main_context_iterate (context=0x93e00c0, block=<value optimized out>, dispatch=1, self=0x956e030) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2760
#5  0x05236848 in g_main_context_iteration (context=0x93e00c0, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#6  0x0305359f in QEventDispatcherGlib::processEvents (this=0x93ba6f0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x03023609 in QEventLoop::processEvents (this=0x9194468, flags=) at kernel/qeventloop.cpp:149
#8  0x03023a8a in QEventLoop::exec (this=0x9194468, flags=...) at kernel/qeventloop.cpp:201
#9  0x0237edda in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#10 0x02f22df9 in QThreadPrivate::start (arg=0x93807d8) at thread/qthread_unix.cpp:266
#11 0x00a03e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0389773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb290db70 (LWP 27147)):
#0  0x00a02610 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00a07779 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x038a5656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#3  0x05235e58 in g_main_context_prepare (context=0x959b608, priority=0xb290d19c) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2467
#4  0x05236279 in g_main_context_iterate (context=0x959b608, block=<value optimized out>, dispatch=1, self=0x96a2e80) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2760
#5  0x05236848 in g_main_context_iteration (context=0x959b608, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#6  0x0305359f in QEventDispatcherGlib::processEvents (this=0x95a1038, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x03023609 in QEventLoop::processEvents (this=0x9741198, flags=) at kernel/qeventloop.cpp:149
#8  0x03023a8a in QEventLoop::exec (this=0x9741198, flags=...) at kernel/qeventloop.cpp:201
#9  0x06842b7b in XMPP::SyncThread::run (this=0x970ea90) at ../../../../../kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#10 0x02f22df9 in QThreadPrivate::start (arg=0x970ea90) at thread/qthread_unix.cpp:266
#11 0x00a03e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0389773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb210cb70 (LWP 28734)):
#0  0x00f66d41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x02f7e50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x030556e5 in QTimerInfoList::updateCurrentTime (this=0xb4705d94) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0305572a in QTimerInfoList::timerWait (this=0xb4705d94, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x030537a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb210c0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0305383d in timerSourcePrepare (source=0x0, timeout=0xf6aff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x05235e6a in g_main_context_prepare (context=0xb4705428, priority=0xb210c13c) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2469
#8  0x05236279 in g_main_context_iterate (context=0xb4705428, block=<value optimized out>, dispatch=1, self=0xb4704e88) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2760
#9  0x05236848 in g_main_context_iteration (context=0xb4705428, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#10 0x0305359f in QEventDispatcherGlib::processEvents (this=0xb4705ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x03023609 in QEventLoop::processEvents (this=0xb210c290, flags=) at kernel/qeventloop.cpp:149
#12 0x03023a8a in QEventLoop::exec (this=0xb210c290, flags=...) at kernel/qeventloop.cpp:201
#13 0x02f1fb7e in QThread::exec (this=0xb643ce0) at thread/qthread.cpp:490
#14 0x0300235b in QInotifyFileSystemWatcherEngine::run (this=0xb643ce0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x02f22df9 in QThreadPrivate::start (arg=0xb643ce0) at thread/qthread_unix.cpp:266
#16 0x00a03e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0389773e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7771ac0 (LWP 27129)):
[KCrash Handler]
#7  size (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:94
#8  count (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:267
#9  QTabBar::count (this=0x0) at widgets/qtabbar.cpp:1266
#10 0x0215ef18 in KopeteChatWindow::testCanDecode (this=0xa8afbc0, event=0xbf95f9cc, accept=@0xbf95f3ef) at ../../../../kopete/kopete/chatwindow/kopetechatwindow.cpp:635
#11 0x02165242 in KopeteChatWindow::qt_metacall (this=0xa8afbc0, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbf95f3b4) at ./kopetechatwindow.moc:157
#12 0x0302a8ca in QMetaObject::metacall (object=0xa8afbc0, cl=4294967279, idx=51, argv=0xbf95f3b4) at kernel/qmetaobject.cpp:237
#13 0x0303d6ad in QMetaObject::activate (sender=0xb43ae70, m=0xe0a89c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3280
#14 0x00d3e369 in KTabWidget::testCanDecode (this=0xb43ae70, _t1=0xbf95f9cc, _t2=@0xbf95f3ef) at ./ktabwidget.moc:209
#15 0x00d3eea7 in KTabWidget::dragEnterEvent (this=0xb43ae70, event=0xbf95f9cc) at ../../kdeui/widgets/ktabwidget.cpp:421
#16 0x076fcd73 in QWidget::event (this=0xb43ae70, event=0xbf95f9cc) at kernel/qwidget.cpp:8381
#17 0x07b9b933 in QTabWidget::event (this=0xb43ae70, ev=0xbf95f9cc) at widgets/qtabwidget.cpp:1014
#18 0x0769efdc in QApplicationPrivate::notify_helper (this=0x8f41f40, receiver=0xb43ae70, e=0xbf95f9cc) at kernel/qapplication.cpp:4396
#19 0x076a6d54 in QApplication::notify (this=0xbf9622c4, receiver=0xb43ae70, e=0xbf95f9cc) at kernel/qapplication.cpp:4151
#20 0x00c2682a in KApplication::notify (this=0xbf9622c4, receiver=0xb43ae70, event=0xbf95f9cc) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x03024b3b in QCoreApplication::notifyInternal (this=0xbf9622c4, receiver=0xb43ae70, event=0xbf95f9cc) at kernel/qcoreapplication.cpp:732
#22 0x076ad6ce in QCoreApplication::sendEvent (receiver=0xb43ae70, event=0xbf95f9dc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 0x07741581 in handle_xdnd_position (w=<value optimized out>, xe=<value optimized out>, passive=false) at kernel/qdnd_x11.cpp:912
#24 0x07742cee in QDragManager::move (this=0xb6ea458, globalPos=...) at kernel/qdnd_x11.cpp:1668
#25 0x07745eff in QDragManager::eventFilter (this=0xb6ea458, o=0xb717498, e=0xbf960180) at kernel/qdnd_x11.cpp:1306
#26 0x0302435c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x8f41f40, receiver=0xb717498, event=0xbf960180) at kernel/qcoreapplication.cpp:828
#27 0x0769ef63 in QApplicationPrivate::notify_helper (this=0x8f41f40, receiver=0xb717498, e=0xbf960180) at kernel/qapplication.cpp:4371
#28 0x076a5c2e in QApplication::notify (this=0xbf9622c4, receiver=0xb717498, e=0xbf960180) at kernel/qapplication.cpp:3959
#29 0x00c2682a in KApplication::notify (this=0xbf9622c4, receiver=0xb717498, event=0xbf960180) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x03024b3b in QCoreApplication::notifyInternal (this=0xbf9622c4, receiver=0xb717498, event=0xbf960180) at kernel/qcoreapplication.cpp:732
#31 0x076a4094 in sendEvent (receiver=0xb717498, event=0xbf960180, alienWidget=0x0, nativeWidget=0xb717498, buttonDown=0x80393c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0xb717498, event=0xbf960180, alienWidget=0x0, nativeWidget=0xb717498, buttonDown=0x80393c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#33 0x07732d10 in QETWidget::translateMouseEvent (this=0xb717498, event=0xbf96069c) at kernel/qapplication_x11.cpp:4403
#34 0x07732151 in QApplication::x11ProcessEvent (this=0xbf9622c4, event=0xbf96069c) at kernel/qapplication_x11.cpp:3414
#35 0x0776136a in x11EventSourceDispatch (s=0x8f5d8e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0x05232855 in g_main_dispatch (context=0x8f5c2e8) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#37 g_main_context_dispatch (context=0x8f5c2e8) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#38 0x05236668 in g_main_context_iterate (context=0x8f5c2e8, block=<value optimized out>, dispatch=1, self=0x8f41ea0) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#39 0x05236848 in g_main_context_iteration (context=0x8f5c2e8, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#40 0x03053565 in QEventDispatcherGlib::processEvents (this=0x8ef9a00, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#41 0x07760be5 in QGuiEventDispatcherGlib::processEvents (this=0x8ef9a00, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x03023609 in QEventLoop::processEvents (this=0xa8d5528, flags=) at kernel/qeventloop.cpp:149
#43 0x03023a8a in QEventLoop::exec (this=0xa8d5528, flags=...) at kernel/qeventloop.cpp:201
#44 0x077465f7 in QDragManager::drag (this=0xb6ea458, o=0xb74f970) at kernel/qdnd_x11.cpp:1981
#45 0x076b6cbe in QDrag::start (this=0xb74f970, request=...) at kernel/qdrag.cpp:316
#46 0xb321def6 in KHTMLPart::handleMouseMoveEventDrag (this=0x99341d0, event=0xbf961110) at ../../khtml/khtml_part.cpp:6427
#47 0xb323035c in KHTMLPart::khtmlMouseMoveEvent (this=0x99341d0, event=0xbf961110) at ../../khtml/khtml_part.cpp:6526
#48 0xb3208ddf in KHTMLPart::customEvent (this=0x99341d0, event=0xbf961110) at ../../khtml/khtml_part.cpp:6076
#49 0x030376fc in QObject::event (this=0x99341d0, e=0xbf95f9dc) at kernel/qobject.cpp:1250
#50 0x0769efdc in QApplicationPrivate::notify_helper (this=0x8f41f40, receiver=0x99341d0, e=0xbf961110) at kernel/qapplication.cpp:4396
#51 0x076a504e in QApplication::notify (this=0xbf9622c4, receiver=0x99341d0, e=0xbf961110) at kernel/qapplication.cpp:3798
#52 0x00c2682a in KApplication::notify (this=0xbf9622c4, receiver=0x99341d0, event=0xbf961110) at ../../kdeui/kernel/kapplication.cpp:311
#53 0x03024b3b in QCoreApplication::notifyInternal (this=0xbf9622c4, receiver=0x99341d0, event=0xbf961110) at kernel/qcoreapplication.cpp:732
#54 0xb3200059 in sendEvent (this=0x94057c8, _mouse=0xbf961a10) at /usr/include/qt4/QtCore/qcoreapplication.h:215
#55 KHTMLView::mouseMoveEvent (this=0x94057c8, _mouse=0xbf961a10) at ../../khtml/khtmlview.cpp:1539
#56 0x076fccaa in QWidget::event (this=0x94057c8, event=0xbf961a10) at kernel/qwidget.cpp:8172
#57 0x07b1e763 in QFrame::event (this=0x94057c8, e=0xbf961a10) at widgets/qframe.cpp:557
#58 0xb31fcd1c in KHTMLView::widgetEvent (this=0x94057c8, e=0x0) at ../../khtml/khtmlview.cpp:2208
#59 0xb31fd015 in KHTMLView::eventFilter (this=0x94057c8, o=0x9074f20, e=0xbf961a10) at ../../khtml/khtmlview.cpp:2053
#60 0x0302429a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f41f40, receiver=0x9074f20, event=0xbf961a10) at kernel/qcoreapplication.cpp:847
#61 0x0769efb9 in QApplicationPrivate::notify_helper (this=0x8f41f40, receiver=0x9074f20, e=0xbf961a10) at kernel/qapplication.cpp:4392
#62 0x076a5c2e in QApplication::notify (this=0xbf9622c4, receiver=0x9074f20, e=0xbf961a10) at kernel/qapplication.cpp:3959
#63 0x00c2682a in KApplication::notify (this=0xbf9622c4, receiver=0x9074f20, event=0xbf961a10) at ../../kdeui/kernel/kapplication.cpp:311
#64 0x03024b3b in QCoreApplication::notifyInternal (this=0xbf9622c4, receiver=0x9074f20, event=0xbf961a10) at kernel/qcoreapplication.cpp:732
#65 0x076a4094 in sendEvent (receiver=0x9074f20, event=0xbf961a10, alienWidget=0x9074f20, nativeWidget=0x999f360, buttonDown=0x80393c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#66 QApplicationPrivate::sendMouseEvent (receiver=0x9074f20, event=0xbf961a10, alienWidget=0x9074f20, nativeWidget=0x999f360, buttonDown=0x80393c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#67 0x07732d10 in QETWidget::translateMouseEvent (this=0x999f360, event=0xbf961f2c) at kernel/qapplication_x11.cpp:4403
#68 0x07732151 in QApplication::x11ProcessEvent (this=0xbf9622c4, event=0xbf961f2c) at kernel/qapplication_x11.cpp:3414
#69 0x0776136a in x11EventSourceDispatch (s=0x8f5d8e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#70 0x05232855 in g_main_dispatch (context=0x8f5c2e8) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2149
#71 g_main_context_dispatch (context=0x8f5c2e8) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2702
#72 0x05236668 in g_main_context_iterate (context=0x8f5c2e8, block=<value optimized out>, dispatch=1, self=0x8f41ea0) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2780
#73 0x05236848 in g_main_context_iteration (context=0x8f5c2e8, may_block=1) at /build/buildd/glib2.0-2.26.1/glib/gmain.c:2843
#74 0x03053565 in QEventDispatcherGlib::processEvents (this=0x8ef9a00, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#75 0x07760be5 in QGuiEventDispatcherGlib::processEvents (this=0x8ef9a00, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x03023609 in QEventLoop::processEvents (this=0xbf962224, flags=) at kernel/qeventloop.cpp:149
#77 0x03023a8a in QEventLoop::exec (this=0xbf962224, flags=...) at kernel/qeventloop.cpp:201
#78 0x0302800f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#79 0x0769de07 in QApplication::exec () at kernel/qapplication.cpp:3672
#80 0x080588fe in main (argc=3, argv=0xbf962704) at ../../../kopete/kopete/main.cpp:105

This bug may be a duplicate of or related to bug 275218.

Possible duplicates by query: bug 275218, bug 272548, bug 268489, bug 265306, bug 256163.

Reported using DrKonqi
Comment 1 Panagiotis Mytilinaios 2011-09-02 13:31:14 UTC
Created attachment 63315 [details]
New crash information added by DrKonqi

kopete (1.1.0) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:
Trying to share a jpg file by drag'n'dropping to the chat window

-- Backtrace (Reduced):
#6  size (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:94
#7  count (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:267
#8  QTabBar::count (this=0x0) at widgets/qtabbar.cpp:1272
#9  0x00007f4d7e4bd7ea in KTabBar::selectTab (this=0x0, pos=...) at ../../kdeui/widgets/ktabbar.cpp:427
#10 0x00007f4d5f8685b1 in KopeteChatWindow::testCanDecode (this=0x45d6c90, event=0x7fff222c5b60, accept=@0x7fff222c539f) at ../../../../kopete/kopete/chatwindow/kopetechatwindow.cpp:635
Comment 2 alvaro 2011-10-04 18:49:33 UTC
Created attachment 64208 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:

Sometimes it doesnt crash, but i suspect it has to do with some flash running in the page i drag from.

-- Backtrace (Reduced):
#7  0x00000008045de2b0 in QTabBar::count () from /usr/local/lib/qt4/libQtGui.so.4
#8  0x000000080312b789 in KTabBar::selectTab (this=0x0, pos=@0x7fffffffcc80) at /usr/ports/x11/kdelibs4/work/kdelibs-4.6.5/kdeui/widgets/ktabbar.cpp:435
#9  0x000000080fb2e7e5 in KopeteChatWindow::testCanDecode (this=0x813ced500, event=0x7fffffffcc60, accept=@0x7fffffffc50f)
    at /usr/ports/net/kdenetwork4/work/kdenetwork-4.6.5/kopete/kopete/chatwindow/kopetechatwindow.cpp:635
#10 0x000000080fb350c7 in KopeteChatWindow::qt_metacall (this=0x813ced500, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffc4c0) at kopetechatwindow.moc:157
[...]
#12 0x000000080312d1b5 in KTabWidget::testCanDecode (this=0x813db2af0, _t1=0x7fffffffcc60, _t2=@0x7fffffffc50f) at ktabwidget.moc:209
Comment 3 Alex Frolov 2011-12-15 12:28:57 UTC
Created attachment 66777 [details]
New crash information added by DrKonqi

kopete (1.1.3) on KDE Platform 4.7.3 (4.7.3) using Qt 4.8.0

- What I was doing when the application crashed:

I was dragging URL from Kopete to Konqueror window.

-- Backtrace (Reduced):
#6  QDragManager::move (this=0x1ee9620, globalPos=...) at kernel/qdnd_x11.cpp:1601
#7  0x0000003a65054529 in QDragManager::eventFilter (this=0x1ee9620, o=<optimized out>, e=<optimized out>) at kernel/qdnd_x11.cpp:1299
#8  0x0000003a5ff77c1c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0xe35160, receiver=0x17fdf90, event=0x7fffb78b0fa0) at kernel/qcoreapplication.cpp:967
#9  0x0000003a64fc9666 in QApplicationPrivate::notify_helper (this=0xe35160, receiver=0x17fdf90, e=0x7fffb78b0fa0) at kernel/qapplication.cpp:4493
#10 0x0000003a64fcee43 in QApplication::notify (this=<optimized out>, receiver=0x17fdf90, e=0x7fffb78b0fa0) at kernel/qapplication.cpp:4061
Comment 4 Jekyll Wu 2012-10-04 21:53:50 UTC

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