Bug 190833

Summary: konqueror crashes when bolcking images from certain websites.
Product: [Applications] konqueror Reporter: Laurent Claessens <moky.math>
Component: khtml adblockAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR Keywords: triaged
Version: 4.2.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Laurent Claessens 2009-04-27 16:17:44 UTC
Version:           4.2.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I went to the webstite
http://www.streetreporters.net/quicks/3147
and I tried to block images from www.streetreportes.net using right-click on one of the ads.

-> crash.

Here is the backtrace generated by the crash handler.

Applicazione: Konqueror (konqueror), segnale SIGSEGV
[Current thread is 0 (LWP 12603)]

Thread 2 (Thread 0xb0bffb90 (LWP 12621)):
#0  0xb7f9b430 in __kernel_vsyscall ()
#1  0xb649a7b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb729c380 in QProcessManager::run (this=0x9a08228) at io/qprocess_unix.cpp:305
#3  0xb71ca96e in QThreadPrivate::start (arg=0x9a08228) at thread/qthread_unix.cpp:189
#4  0xb62664ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb64a249e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5e2cb50 (LWP 12603)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb3c05aff in KHTMLPart::runAdFilter (this=0xba63278) at /build/buildd/kde4libs-4.2.2/khtml/khtml_part.cpp:6516
#8  0xb3c0c3d6 in KHTMLPart::reparseConfiguration (this=0xba63278) at /build/buildd/kde4libs-4.2.2/khtml/khtml_part.cpp:5819
#9  0xb3c54d15 in KHTMLPopupGUIClient::slotBlockHost (this=0xa36f938) at /build/buildd/kde4libs-4.2.2/khtml/khtml_ext.cpp:772
#10 0xb3c593a8 in KHTMLPopupGUIClient::qt_metacall (this=0xa36f938, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbffb5fbc) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/khtml/khtml_ext.moc:203
#11 0xb72d4ca8 in QMetaObject::activate (sender=0xa83f898, from_signal_index=5, to_signal_index=6, argv=0xbffb5fbc) at kernel/qobject.cpp:3069
#12 0xb72d50e0 in QMetaObject::activate (sender=0xa83f898, m=0xb7153008, from_local_signal_index=1, to_local_signal_index=2, argv=0xbffb5fbc) at kernel/qobject.cpp:3163
#13 0xb68bf921 in QAction::triggered (this=0xa83f898, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#14 0xb68c0e9f in QAction::activate (this=0xa83f898, event=QAction::Trigger) at kernel/qaction.cpp:1160
#15 0xb6d3b40c in QMenuPrivate::activateCausedStack (this=0xafa16c8, causedStack=@0xbffb6098, action=0xa83f898, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:962
#16 0xb6d41b5b in QMenuPrivate::activateAction (this=0xafa16c8, action=0xa83f898, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1058
#17 0xb6d42632 in QMenu::mouseReleaseEvent (this=0xb0591c0, e=0xbffb6648) at widgets/qmenu.cpp:2252
#18 0xb691cbd3 in QWidget::event (this=0xb0591c0, event=0xbffb6648) at kernel/qwidget.cpp:7516
#19 0xb6d44a19 in QMenu::event (this=0xb0591c0, e=0xbffb6648) at widgets/qmenu.cpp:2351
#20 0xb68c5f2c in QApplicationPrivate::notify_helper (this=0x9a04fe8, receiver=0xb0591c0, e=0xbffb6648) at kernel/qapplication.cpp:4084
#21 0xb68ceba1 in QApplication::notify (this=0xbffb8d68, receiver=0xb0591c0, e=0xbffb6648) at kernel/qapplication.cpp:3786
#22 0xb786294d in KApplication::notify (this=0xbffb8d68, receiver=0xb0591c0, event=0xbffb6648) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#23 0xb72bea3b in QCoreApplication::notifyInternal (this=0xbffb8d68, receiver=0xb0591c0, event=0xbffb6648) at kernel/qcoreapplication.cpp:602
#24 0xb68cdc0e in QApplicationPrivate::sendMouseEvent (receiver=0xb0591c0, event=0xbffb6648, alienWidget=0x0, nativeWidget=0xb0591c0, buttonDown=0xb7171200, lastMouseReceiver=@0xb7171204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#25 0xb693dc96 in QETWidget::translateMouseEvent (this=0xb0591c0, event=0xbffb6c8c) at kernel/qapplication_x11.cpp:4359
#26 0xb693cd37 in QApplication::x11ProcessEvent (this=0xbffb8d68, event=0xbffb6c8c) at kernel/qapplication_x11.cpp:3421
#27 0xb6967cfa in x11EventSourceDispatch (s=0x9a08100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0xb6195b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb61990eb in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb6199268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb72ea438 in QEventDispatcherGlib::processEvents (this=0x99f27c0, flags={i = -1074041272}) at kernel/qeventdispatcher_glib.cpp:323
#32 0xb69673f5 in QGuiEventDispatcherGlib::processEvents (this=0x99f27c0, flags={i = -1074041224}) at kernel/qguieventdispatcher_glib.cpp:202
#33 0xb72bd06a in QEventLoop::processEvents (this=0xbffb6eec, flags={i = -1074041160}) at kernel/qeventloop.cpp:149
#34 0xb72bd4aa in QEventLoop::exec (this=0xbffb6eec, flags={i = -1074041100}) at kernel/qeventloop.cpp:200
#35 0xb6d44751 in QMenu::exec (this=0xb0591c0, p=@0xbffb7428, action=0x0) at widgets/qmenu.cpp:1991
#36 0xb7f30f9b in ?? () from /usr/lib/libkdeinit4_konqueror.so
#37 0xb7f3221d in ?? () from /usr/lib/libkdeinit4_konqueror.so
#38 0xb7f3ffeb in ?? () from /usr/lib/libkdeinit4_konqueror.so
#39 0xb72d4ca8 in QMetaObject::activate (sender=0xad41f18, from_signal_index=26, to_signal_index=31, argv=0xbffb72e4) at kernel/qobject.cpp:3069
#40 0xb72d50e0 in QMetaObject::activate (sender=0xad41f18, m=0xb7e1e9ec, from_local_signal_index=22, to_local_signal_index=27, argv=0xbffb72e4) at kernel/qobject.cpp:3163
#41 0xb7e077f9 in KParts::BrowserExtension::popupMenu (this=0xad41f18, _t1=@0xbffb7428, _t2=@0xbffb7448, _t3=32768, _t4=@0xbffb74c8, _t5=@0xbffb7404, _t6={i = -1074039716}, _t7=@0xbffb7460)
    at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kparts/browserextension.moc:349
#42 0xb3c17430 in KHTMLPart::popupMenu (this=0xba63278, linkUrl=@0xb108318) at /build/buildd/kde4libs-4.2.2/khtml/khtml_part.cpp:4842
#43 0xb3c1928c in KHTMLPart::khtmlMousePressEvent (this=0xba63278, event=0xbffb79cc) at /build/buildd/kde4libs-4.2.2/khtml/khtml_part.cpp:6127
#44 0xb3c0248f in KHTMLPart::customEvent (this=0xba63278, event=0xbffb79cc) at /build/buildd/kde4libs-4.2.2/khtml/khtml_part.cpp:5880
#45 0xb72cf3ff in QObject::event (this=0xba63278, e=0xbffb79cc) at kernel/qobject.cpp:1149
#46 0xb68c5f2c in QApplicationPrivate::notify_helper (this=0x9a04fe8, receiver=0xba63278, e=0xbffb79cc) at kernel/qapplication.cpp:4084
#47 0xb68ce22e in QApplication::notify (this=0xbffb8d68, receiver=0xba63278, e=0xbffb79cc) at kernel/qapplication.cpp:3631
#48 0xb786294d in KApplication::notify (this=0xbffb8d68, receiver=0xba63278, event=0xbffb79cc) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#49 0xb72bea3b in QCoreApplication::notifyInternal (this=0xbffb8d68, receiver=0xba63278, event=0xbffb79cc) at kernel/qcoreapplication.cpp:602
#50 0xb3bf5c97 in KHTMLView::mousePressEvent (this=0xb2b1c00, _mouse=0xbffb8298) at /usr/include/qt4/QtCore/qcoreapplication.h:213
#51 0xb691ccd6 in QWidget::event (this=0xb2b1c00, event=0xbffb8298) at kernel/qwidget.cpp:7512
#52 0xb6cf6d83 in QFrame::event (this=0xb2b1c00, e=0xbffb8298) at widgets/qframe.cpp:559
#53 0xb3bf084f in KHTMLView::widgetEvent (this=0xb2b1c00, e=0xbffb8298) at /build/buildd/kde4libs-4.2.2/khtml/khtmlview.cpp:2382
#54 0xb3bf0a8d in KHTMLView::eventFilter (this=0xb2b1c00, o=0xadf8630, e=0xbffb8298) at /build/buildd/kde4libs-4.2.2/khtml/khtmlview.cpp:2246
#55 0xb72bdc5a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9a04fe8, receiver=0xadf8630, event=0xbffb8298) at kernel/qcoreapplication.cpp:718
#56 0xb68c5f0a in QApplicationPrivate::notify_helper (this=0x9a04fe8, receiver=0xadf8630, e=0xbffb8298) at kernel/qapplication.cpp:4080
#57 0xb68ceba1 in QApplication::notify (this=0xbffb8d68, receiver=0xadf8630, e=0xbffb8298) at kernel/qapplication.cpp:3786
#58 0xb786294d in KApplication::notify (this=0xbffb8d68, receiver=0xadf8630, event=0xbffb8298) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#59 0xb72bea3b in QCoreApplication::notifyInternal (this=0xbffb8d68, receiver=0xadf8630, event=0xbffb8298) at kernel/qcoreapplication.cpp:602
#60 0xb68cdc0e in QApplicationPrivate::sendMouseEvent (receiver=0xadf8630, event=0xbffb8298, alienWidget=0xadf8630, nativeWidget=0xaaa2b70, buttonDown=0xb7171200, lastMouseReceiver=@0xb7171204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#61 0xb693da0e in QETWidget::translateMouseEvent (this=0xaaa2b70, event=0xbffb88dc) at kernel/qapplication_x11.cpp:4425
#62 0xb693cd37 in QApplication::x11ProcessEvent (this=0xbffb8d68, event=0xbffb88dc) at kernel/qapplication_x11.cpp:3421
#63 0xb6967cfa in x11EventSourceDispatch (s=0x9a08100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#64 0xb6195b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#65 0xb61990eb in ?? () from /usr/lib/libglib-2.0.so.0
#66 0xb6199268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#67 0xb72ea438 in QEventDispatcherGlib::processEvents (this=0x99f27c0, flags={i = -1074034024}) at kernel/qeventdispatcher_glib.cpp:323
#68 0xb69673f5 in QGuiEventDispatcherGlib::processEvents (this=0x99f27c0, flags={i = -1074033976}) at kernel/qguieventdispatcher_glib.cpp:202
#69 0xb72bd06a in QEventLoop::processEvents (this=0xbffb8b40, flags={i = -1074033912}) at kernel/qeventloop.cpp:149
#70 0xb72bd4aa in QEventLoop::exec (this=0xbffb8b40, flags={i = -1074033848}) at kernel/qeventloop.cpp:200
#71 0xb72bf959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#72 0xb68c5da7 in QApplication::exec () at kernel/qapplication.cpp:3553
#73 0xb7f6a00f in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#74 0x080486f2 in _start ()
Comment 1 Dario Andres 2009-06-21 01:42:48 UTC
Here using:

Qt: 4.5.1 (qt-copy  971295)
KDE: 4.2.92 (KDE 4.2.92 (KDE 4.3 >= 20090617))
kdelibs svn rev. 984425 / kdebase svn rev. 984427
on ArchLinux i686 - Kernel 2.6.29.4

I could not reproduce the crash using the mentioned testcase URL and the steps provided.
Can you reproduce this at will in that site? Have you found some pattern to it?
Thanks
Comment 2 Maksim Orlovich 2009-09-19 18:45:52 UTC

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