Bug 183025 - aborting the dragging of a link crashes kopete [KHTMLPart::handleMouseMoveEventDrag, KHTMLPart::khtmlMouseMoveEvent, ..., KHTMLView::mouseMoveEvent]
Summary: aborting the dragging of a link crashes kopete [KHTMLPart::handleMouseMoveEve...
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 198299 199501 220908 227396 241321 245593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-03 17:32 UTC by Florian Loitsch
Modified: 2011-06-11 23:55 UTC (History)
11 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 Florian Loitsch 2009-02-03 17:32:24 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unlisted Binary Package

aborting (with Esc) the dragging of a link crashes Kopete.

Reproduce: open a chat-window. drag a link outside the chat-window. While still dragging press 'Esc' to abort the dragging. -> Crash.
Comment 1 Dario Andres 2009-02-03 18:07:36 UTC
As you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Florian Loitsch 2009-02-03 18:29:44 UTC
My distribution (Archlinux) does not have debug symbols (and no packages to get them). So for now just the stripped trace (which seem to give plenty of information anyways; thread 1). Furthermore you should not need the trace if you can reproduce the bug. (Correct me if I am wrong).

No KDE Crash handler, so using gdb.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5b52700 (LWP 24170)]        
0xb3c0aab2 in KHTMLPart::handleMouseMoveEventDrag () from /usr/lib/libkhtml.so.5
(gdb) thread apply all backtrace                                                

Thread 4 (Thread 0xb30b0b90 (LWP 24174)):
#0  0xb7fc5424 in __kernel_vsyscall ()   
#1  0xb6eabc55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6f2c6a2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4       
#3  0xb770ea0a in ?? () from /usr/lib/libQtNetwork.so.4                      
#4  0x0a14cd28 in ?? ()                                                      
#5  0x0a14cd24 in ?? ()                                                      
#6  0xffffffff in ?? ()                                                      
#7  0xb767a820 in ?? ()                                                      
#8  0xb30b0320 in ?? ()                                                      
#9  0xb7fd441b in _dl_fixup () from /lib/ld-linux.so.2                       
#10 0xb6f2b910 in ?? () from /usr/lib/libQtCore.so.4                         
#11 0x0a14cd18 in ?? ()                                                      
#12 0x00000000 in ?? ()                                                      

Thread 3 (Thread 0xb2401b90 (LWP 24176)):
#0  0xb7fc5424 in __kernel_vsyscall ()   
#1  0xb6571e17 in poll () from /lib/libc.so.6
#2  0xb5ebf832 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb5ebfb61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb702c5a8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb700469a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4          
#6  0xb700485a in QEventLoop::exec () from /usr/lib/libQtCore.so.4                   
#7  0xb36c83b9 in QCA::SyncThread::run () from /usr/lib/libqca.so.2                  
#8  0xb6f2b910 in ?? () from /usr/lib/libQtCore.so.4                                 
#9  0x09d55348 in ?? ()                                                              
#10 0x00000000 in ?? ()                                                              

Thread 2 (Thread 0xb03fdb90 (LWP 24181)):
#0  0xb7fc5424 in __kernel_vsyscall ()
#1  0xb6574ab1 in select () from /lib/libc.so.6
#2  0xb34f768d in posix_timer_do () from /usr/lib/libortp.so.8
#3  0xb34f8230 in rtp_scheduler_schedule () from /usr/lib/libortp.so.8
#4  0xb6ea8155 in start_thread () from /lib/libpthread.so.0
#5  0xb657ba5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5b52700 (LWP 24170)):
#0  0xb3c0aab2 in KHTMLPart::handleMouseMoveEventDrag () from /usr/lib/libkhtml.so.5
#1  0xb3c2cafc in KHTMLPart::khtmlMouseMoveEvent () from /usr/lib/libkhtml.so.5
#2  0xb3bfbab7 in KHTMLPart::customEvent () from /usr/lib/libkhtml.so.5
#3  0xb70142a7 in QObject::event () from /usr/lib/libQtCore.so.4
#4  0xb6830aec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#5  0xb6836eee in QApplication::notify () from /usr/lib/libQtGui.so.4
#6  0xb74d5f2d in KApplication::notify () from /usr/lib/libkdeui.so.5
#7  0xb7005f31 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#8  0xb3bf256a in KHTMLView::mouseMoveEvent () from /usr/lib/libkhtml.so.5
#9  0xb6882bb0 in QWidget::event () from /usr/lib/libQtGui.so.4
#10 0xb6b6b743 in QFrame::event () from /usr/lib/libQtGui.so.4
#11 0xb3beee8f in KHTMLView::widgetEvent () from /usr/lib/libkhtml.so.5
#12 0xb3bef0fd in KHTMLView::eventFilter () from /usr/lib/libkhtml.so.5
#13 0xb700513a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#14 0xb6830aca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#15 0xb6837863 in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0xb74d5f2d in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0xb7005f31 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0xb6838be3 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#19 0xb6895715 in ?? () from /usr/lib/libQtGui.so.4
#20 0x0a6ae638 in ?? ()
#21 0xbfbe27fc in ?? ()
#22 0x0a6ae638 in ?? ()
#23 0x09e5ba00 in ?? ()
#24 0xb6e63bd0 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb6e63bd4 in ?? () from /usr/lib/libQtGui.so.4
#26 0xbfbe287c in ?? ()
#27 0xb695db1e in QRegion::cleanUp () from /usr/lib/libQtGui.so.4
#28 0xb6894bcd in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#29 0xb68ba172 in ?? () from /usr/lib/libQtGui.so.4
#30 0xbfbe2f9c in ?? ()
#31 0xbfbe2cdc in ?? ()
#32 0x00000000 in ?? ()
Comment 3 Dario Andres 2009-02-03 18:45:22 UTC
I'm using ArchLinux too.
It seems to be a bug in KHTML, however I can't reproduce it in Konqueror (4.3trunk)
I'm not using currently Kopete so I can't check
Comment 4 Florian Loitsch 2009-02-03 18:55:00 UTC
I can confirm: the bug can't be reproduced inside Konqueror (nor for instance Akregator).
And I was wrong. There actually is a KDE crash handler.
Comment 5 Dario Andres 2009-09-28 01:50:45 UTC
- Is this still happening on KDE4.3 ? Thanks
Comment 6 Florian Loitsch 2009-09-28 10:46:17 UTC
still happening with KDE4.3. Just to clarify: in order to produce the crash drag a link from the *history area* of a Kopete chat window, and at some point simply press ESC.

The crash handler gives two stars to the produced backtrace so I'm posting it here again. Maybe it's the same as before.

Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 0 (LWP 3949)]

Thread 4 (Thread 0x7f4962632910 (LWP 3951)):
#0  0x00007f4975418dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4976ad1c1b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f4973cfca3c in ?? () from /usr/lib/libQtNetwork.so.4
#3  0x00007f4976ad0b55 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f497541457a in start_thread () from /lib/libpthread.so.0
#5  0x00007f497594214d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f495bfff910 (LWP 3955)):
#0  0x00007f4975939993 in poll () from /lib/libc.so.6
#1  0x00007f49713da34c in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f49713da690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f4976bdeade in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0x00007f4976bb4ec2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007f4976bb5294 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0x00007f4964759473 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#7  0x00007f4976ad0b55 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f497541457a in start_thread () from /lib/libpthread.so.0
#9  0x00007f497594214d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f495b7fe910 (LWP 3956)):
#0  0x00007f49713d9dc5 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0x00007f49713da161 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f49713da690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f4976bdeade in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0x00007f4976bb4ec2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007f4976bb5294 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0x00007f4964bab3e2 in XMPP::SyncThread::run () from /usr/lib/kde4/kopete_jabber.so
#7  0x00007f4976ad0b55 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f497541457a in start_thread () from /lib/libpthread.so.0
#9  0x00007f497594214d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f49792da750 (LWP 3949)):
[KCrash Handler]
#5  0x00007f4966cee64b in KHTMLPart::handleMouseMoveEventDrag () from /usr/lib/libkhtml.so.5
#6  0x00007f4966cf7d19 in KHTMLPart::khtmlMouseMoveEvent () from /usr/lib/libkhtml.so.5
#7  0x00007f4976bc5a35 in QObject::event () from /usr/lib/libQtCore.so.4
#8  0x00007f49760670cc in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#9  0x00007f497606e39e in QApplication::notify () from /usr/lib/libQtGui.so.4
#10 0x00007f49777c48d6 in KApplication::notify () from /usr/lib/libkdeui.so.5
#11 0x00007f4976bb65bc in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#12 0x00007f4966cd3392 in KHTMLView::mouseMoveEvent () from /usr/lib/libkhtml.so.5
#13 0x00007f49760b5912 in QWidget::event () from /usr/lib/libQtGui.so.4
#14 0x00007f497640ecd6 in QFrame::event () from /usr/lib/libQtGui.so.4
#15 0x00007f4966cd0435 in KHTMLView::widgetEvent () from /usr/lib/libkhtml.so.5
#16 0x00007f4966cd06ff in KHTMLView::eventFilter () from /usr/lib/libkhtml.so.5
#17 0x00007f4976bb58d7 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#18 0x00007f497606709c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#19 0x00007f497606e1e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0x00007f49777c48d6 in KApplication::notify () from /usr/lib/libkdeui.so.5
#21 0x00007f4976bb65bc in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#22 0x00007f497606dab0 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#23 0x00007f49760d39e4 in ?? () from /usr/lib/libQtGui.so.4
#24 0x00007f49760d26ba in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#25 0x00007f49760fa89c in ?? () from /usr/lib/libQtGui.so.4
#26 0x00007f49713d6dbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x00007f49713da568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x00007f49713da690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x00007f4976bdea86 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#30 0x00007f49760fa07e in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007f4976bb4ec2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#32 0x00007f4976bb5294 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#33 0x00007f4976bb7449 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#34 0x00000000004154f6 in _start ()
Comment 7 Maksim Orlovich 2009-10-01 01:16:25 UTC
Hmm, can't reproduce it, but my kopete may be kind of old..
Comment 8 Dario Andres 2009-10-03 18:45:21 UTC
I wonder if backtrace on bug 199501 could be related to this...
Comment 9 Roman Jarosz 2009-12-25 13:36:07 UTC

*** This bug has been marked as a duplicate of bug 199501 ***
Comment 10 Dario Andres 2010-02-17 18:32:43 UTC
*** Bug 199501 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2010-02-17 18:33:39 UTC
From bug 227396:
What I was doing when the application crashed:
I plugged in my nokia phone set to storage mode, the plasmoid notified me that
a new usb device is plugged in, but the notification panel did not disappear, I
clicked on it and hit escape, and the konqueror crashed.
Comment 12 Dario Andres 2010-02-17 18:33:43 UTC
*** Bug 227396 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-03-16 13:29:55 UTC
According to bug 230321 (which seems related), this happens when dragging links between different screens (may be the drag is aborted as a result of a different multiscreen bug?)
Comment 14 Christophe Marin 2010-03-28 04:58:08 UTC
*** Bug 220908 has been marked as a duplicate of this bug. ***
Comment 15 Christophe Marin 2010-09-20 13:25:00 UTC
*** Bug 241321 has been marked as a duplicate of this bug. ***
Comment 16 Christophe Marin 2010-09-20 13:25:41 UTC
*** Bug 245593 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2010-11-18 18:15:45 UTC
[Comment from a bug triager]
Bug 245593 mentions another situation related to Kontact exiting.
Comment 18 Martin Koller 2011-06-11 17:00:12 UTC
I can not reproduce this with KDE 4.6.3 and kopete 1.0.80.
If you can reproduce with current KDE (>= 4.6.3), please reopen.
Comment 19 Jan Lepper 2011-06-11 23:55:39 UTC
*** Bug 198299 has been marked as a duplicate of this bug. ***