Bug 255879 - Ktorrent crash when clicking magnet link
Summary: Ktorrent crash when clicking magnet link
Status: RESOLVED DUPLICATE of bug 219633
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-02 14:30 UTC by Vivek
Modified: 2010-11-02 19:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vivek 2010-11-02 14:30:14 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.2 (KDE 4.5.2) "release 5"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.5-default i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:
I had searched for a file using Ktorren't built-in search box, and had clicked around to a couple of different webpages from the search. When I clicked a "download magnet" link, Ktorrent popped up a message with something like "this untrusted website provides the following link: follow or not?"  I clicked follow, but nothing happenned.  I clicked the magnet link again and ktorrent crashed.  The crash may have been related to a script on the page as much as the link.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb48a9710 (LWP 10172))]

Thread 6 (Thread 0xb1affb70 (LWP 10176)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5c7e0b1 in select () from /lib/libc.so.6
#2  0xb775d8ba in ?? () from /usr/lib/libktorrent.so.2
#3  0xb695b04f in QThreadPrivate::start (arg=0x8142ea0) at thread/qthread_unix.cpp:248
#4  0xb68e0b25 in start_thread () from /lib/libpthread.so.0
#5  0xb5c8546e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa97bcb70 (LWP 10325)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5c3e566 in gettimeofday () from /lib/libc.so.6
#2  0xb76e9b03 in bt::Now() () from /usr/lib/libktorrent.so.2
#3  0xb76ff846 in ?? () from /usr/lib/libktorrent.so.2
#4  0xb76ffab8 in ?? () from /usr/lib/libktorrent.so.2
#5  0xb695b04f in QThreadPrivate::start (arg=0x811c3f0) at thread/qthread_unix.cpp:248
#6  0xb68e0b25 in start_thread () from /lib/libpthread.so.0
#7  0xb5c8546e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa8fbbb70 (LWP 10326)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5c7a75e in poll () from /lib/libc.so.6
#2  0xb7703197 in net::Poll::poll(int) () from /usr/lib/libktorrent.so.2
#3  0xb76feed4 in ?? () from /usr/lib/libktorrent.so.2
#4  0xb76fefce in ?? () from /usr/lib/libktorrent.so.2
#5  0xb76ffab8 in ?? () from /usr/lib/libktorrent.so.2
#6  0xb695b04f in QThreadPrivate::start (arg=0x811c7f8) at thread/qthread_unix.cpp:248
#7  0xb68e0b25 in start_thread () from /lib/libpthread.so.0
#8  0xb5c8546e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa87bab70 (LWP 10327)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb68e5125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb695b710 in wait (this=0xb1bee8d4, mutex=0xb1bee8d0, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xb1bee8d4, mutex=0xb1bee8d0, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb7702de0 in ?? () from /usr/lib/libktorrent.so.2
#5  0xb695b04f in QThreadPrivate::start (arg=0xb1bee8c8) at thread/qthread_unix.cpp:248
#6  0xb68e0b25 in start_thread () from /lib/libpthread.so.0
#7  0xb5c8546e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaa7beb70 (LWP 10505)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb68e5452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb695b69c in wait (this=0x86e61bc, mutex=0x86e61b8, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  QWaitCondition::wait (this=0x86e61bc, mutex=0x86e61b8, time=30000) at thread/qwaitcondition_unix.cpp:159
#4  0xb6950cc4 in QThreadPoolThread::run (this=0x8a21168) at concurrent/qthreadpool.cpp:140
#5  0xb695b04f in QThreadPrivate::start (arg=0x8a21168) at thread/qthread_unix.cpp:248
#6  0xb68e0b25 in start_thread () from /lib/libpthread.so.0
#7  0xb5c8546e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb48a9710 (LWP 10172)):
[KCrash Handler]
#7  0xae64c0a2 in KHTMLPart::checkLinkSecurity (this=0x8113801, linkURL=..., message=..., button=...) at /usr/src/debug/kdelibs-4.5.2/khtml/khtml_part.cpp:6776
#8  0xae66ac01 in KHTMLPart::urlSelected (this=0x859d8e8, url=..., button=1, state=0, _target=..., _args=..., _browserArgs=...) at /usr/src/debug/kdelibs-4.5.2/khtml/khtml_part.cpp:3720
#9  0xaebd737e in ?? () from /usr/lib/kde4/ktsearchplugin.so
#10 0xae73bca1 in DOM::HTMLAnchorElementImpl::defaultEventHandler (this=0xacea278, evt=0x835e590) at /usr/src/debug/kdelibs-4.5.2/khtml/html/html_inlineimpl.cpp:157
#11 0xae6ddaa5 in DOM::NodeImpl::dispatchGenericEvent (this=0xacea278, evt=0x835e590) at /usr/src/debug/kdelibs-4.5.2/khtml/xml/dom_nodeimpl.cpp:494
#12 0xae6dde5c in DOM::NodeImpl::dispatchEvent (this=0xacea278, evt=0x835e590, exceptioncode=@0xbff25e6c, tempEvent=true) at /usr/src/debug/kdelibs-4.5.2/khtml/xml/dom_nodeimpl.cpp:401
#13 0xae62be70 in KHTMLView::dispatchMouseEvent (this=0x85b7f90, eventId=3, targetNode=0xacea278, targetNodeNonShared=0x8ac0db8, cancelable=true, detail=1, _mouse=0xbff25f28, setUnder=true, 
    mouseEventType=1, orient=0) at /usr/src/debug/kdelibs-4.5.2/khtml/khtmlview.cpp:3747
#14 0xae62cf19 in KHTMLView::mouseReleaseEvent (this=0x85b7f90, _mouse=0xbff266d4) at /usr/src/debug/kdelibs-4.5.2/khtml/khtmlview.cpp:1588
#15 0xb5fe6f00 in QWidget::event (this=0x85b7f90, event=0xbff266d4) at kernel/qwidget.cpp:8044
#16 0xb63e0765 in QFrame::event (this=0x85b7f90, e=0xbff266d4) at widgets/qframe.cpp:557
#17 0xae63437c in KHTMLView::widgetEvent (this=0x85b7f90, e=0xbff266d4) at /usr/src/debug/kdelibs-4.5.2/khtml/khtmlview.cpp:2362
#18 0xae634762 in KHTMLView::eventFilter (this=0x85b7f90, o=0x85be4c8, e=0xbff266d4) at /usr/src/debug/kdelibs-4.5.2/khtml/khtmlview.cpp:2207
#19 0xb6a54fa6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x813ec30, receiver=0x85be4c8, event=0xbff266d4) at kernel/qcoreapplication.cpp:841
#20 0xb5f8dc34 in QApplicationPrivate::notify_helper (this=0x813ec30, receiver=0x85be4c8, e=0xbff266d4) at kernel/qapplication.cpp:4298
#21 0xb5f96750 in QApplication::notify (this=0xbff2640c, receiver=0x85be4c8, e=0xbff266d4) at kernel/qapplication.cpp:3867
#22 0x0807a517 in ?? ()
#23 0xb6a54e0e in QCoreApplication::notifyInternal (this=0xbff26f30, receiver=0x85be4c8, event=0xbff266d4) at kernel/qcoreapplication.cpp:726
#24 0xb5f8ec4c in sendSpontaneousEvent (receiver=0x85be4c8, event=0xbff266d4, alienWidget=0x0, nativeWidget=0x85be4c8, buttonDown=0xb68d8078, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#25 QApplicationPrivate::sendMouseEvent (receiver=0x85be4c8, event=0xbff266d4, alienWidget=0x0, nativeWidget=0x85be4c8, buttonDown=0xb68d8078, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#26 0xb601658c in QETWidget::translateMouseEvent (this=0x85be4c8, event=0xbff26bec) at kernel/qapplication_x11.cpp:4380
#27 0xb601573e in QApplication::x11ProcessEvent (this=0xbff26f30, event=0xbff26bec) at kernel/qapplication_x11.cpp:3391
#28 0xb603e570 in x11EventSourceDispatch (s=0x8146368, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0xb5134b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb5135350 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb513560e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb6a80d4b in QEventDispatcherGlib::processEvents (this=0x811b8e0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#33 0xb603e19a in QGuiEventDispatcherGlib::processEvents (this=0x811b8e0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb6a5411d in QEventLoop::processEvents (this=0xbff26ea4, flags=...) at kernel/qeventloop.cpp:149
#35 0xb6a54319 in QEventLoop::exec (this=0xbff26ea4, flags=...) at kernel/qeventloop.cpp:201
#36 0xb6a58c70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#37 0xb5f8b164 in QApplication::exec () at kernel/qapplication.cpp:3581
#38 0x08069741 in _start ()

Reported using DrKonqi
Comment 1 Joris Guisson 2010-11-02 18:39:49 UTC
Crash in KHTML reassigning
Comment 2 Tommi Tervo 2010-11-02 19:42:49 UTC

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