Bug 297025 - Crash when clicking a link replaces a page in a separate window
Summary: Crash when clicking a link replaces a page in a separate window
Status: RESOLVED DUPLICATE of bug 271528
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-29 10:27 UTC by Maarten ter Huurne
Modified: 2012-03-29 11:10 UTC (History)
1 user (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 Maarten ter Huurne 2012-03-29 10:27:45 UTC
Application: konqueror (4.8.1 (4.8.1) "release 481")
KDE Platform Version: 4.8.1 (4.8.1) "release 481"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-default x86_64
Distribution (Platform): openSUSE RPMs

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

I was administrating a Samba server via the SWAT web interface. This interface has help link for each config item. When clicked, the help page is opened in a separate Konqueror window. This works fine the first time, but if I leave the help window open and click on another help link, Konqueror crashes. It doesn't crash if I close the help window before clicking another help link.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f26c445e760 (LWP 7318))]

Thread 4 (Thread 0x7f26a5995700 (LWP 7321)):
#0  0x00007f26c1a5a523 in poll () from /lib64/libc.so.6
#1  0x00007f26be838a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26be838f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f26c30c7956 in QEventDispatcherGlib::processEvents (this=0x7f26a00008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f26c3097682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f26c30978d7 in QEventLoop::exec (this=0x7f26a5994d30, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f26c2f98537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f26bc29bd9e in KIO::NameLookUpThread::run (this=0x133d2e0) at /usr/src/debug/kdelibs-4.8.1/kio/kio/hostinfo.cpp:226
#8  0x00007f26c2f9b55b in QThreadPrivate::start (arg=0x133d2e0) at thread/qthread_unix.cpp:298
#9  0x00007f26b3de02da in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007f26c2d03f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f26c1a6363d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f269f39f700 (LWP 7326)):
#0  0x00007f26c2d07e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f26b8fa5c12 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f26b99441a0) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007f26b8fa5c49 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../../../Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007f26b3de02da in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007f26c2d03f05 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f26c1a6363d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f269ea9e700 (LWP 7327)):
#0  0x00007f26c1a5a523 in poll () from /lib64/libc.so.6
#1  0x00007f26be838a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f26be838f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f26c30c7956 in QEventDispatcherGlib::processEvents (this=0x7f26900008e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f26c3097682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f26c30978d7 in QEventLoop::exec (this=0x7f269ea9dd60, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f26c2f98537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f26c2f9b55b in QThreadPrivate::start (arg=0xdd5a00) at thread/qthread_unix.cpp:298
#8  0x00007f26b3de02da in ?? () from /usr/X11R6/lib64/libGL.so.1
#9  0x00007f26c2d03f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f26c1a6363d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f26c445e760 (LWP 7318)):
[KCrash Handler]
#6  0x00007f26a8ec4b43 in KHTMLPartPrivate::findFrameParent (this=0x1511090, callingPart=0xdd3dd0, f=..., childFrame=0x0, checkForNavigation=true) at /usr/src/debug/kdelibs-4.8.1/khtml/khtml_part.cpp:5190
#7  0x00007f26a8ef1d19 in KHTMLPartBrowserHostExtension::findFrameParent (this=<optimized out>, callingPart=<optimized out>, frame=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/khtml/khtml_ext.cpp:995
#8  0x00007f26af8fd815 in KonqMainWindow::childView (this=<optimized out>, callingPart=0xdd3dd0, name=..., hostExtension=@0x7fff99b8a208, part=0x7fff99b8a728) at /usr/src/debug/kde-baseapps-4.8.1/konqueror/src/konqmainwindow.cpp:2184
#9  0x00007f26af8fde3e in findChildView (callingPart=0xdd3dd0, name=..., mainWindow=@0x7fff99b8a200, hostExtension=@0x7fff99b8a208, part=0x7fff99b8a728) at /usr/src/debug/kde-baseapps-4.8.1/konqueror/src/konqmainwindow.cpp:990
#10 0x00007f26af910611 in KonqMainWindow::slotCreateNewWindow (this=0x896d20, url=..., args=..., browserArgs=..., windowArgs=..., part=0x7fff99b8a728) at /usr/src/debug/kde-baseapps-4.8.1/konqueror/src/konqmainwindow.cpp:1190
#11 0x00007f26af914726 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=0x896d20, _c=<optimized out>) at /usr/src/debug/kde-baseapps-4.8.1/build/konqueror/src/konqmainwindow.moc:323
#12 KonqMainWindow::qt_static_metacall (_o=0x896d20, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-baseapps-4.8.1/build/konqueror/src/konqmainwindow.moc:303
#13 0x00007f26c30ac761 in QMetaObject::activate (sender=0x13624a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff99b8a4c0) at kernel/qobject.cpp:3556
#14 0x00007f26ba34cf25 in KParts::BrowserExtension::createNewWindow (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>, _t4=<optimized out>, _t5=0x7fff99b8a728) at /usr/src/debug/kdelibs-4.8.1/build/kparts/browserextension.moc:334
#15 0x00007f269f3d7a57 in NewWindowPage::acceptNavigationRequest (this=0x16b26f0, frame=0x16d15d0, request=..., type=QWebPage::NavigationTypeOther) at /usr/src/debug/kwebkitpart-1.2.0git20111019/src/webpage.cpp:845
#16 0x00007f26b8712ba9 in WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction (this=0x109b300, function=(void (WebCore::PolicyChecker::*)(WebCore::PolicyChecker * const, WebCore::PolicyAction)) 0x7f26b8a843c0 <WebCore::PolicyChecker::continueAfterNavigationPolicy(WebCore::PolicyAction)>, action=..., request=...) at ../../../../Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:1271
#17 0x00007f26b8a86798 in WebCore::PolicyChecker::checkNavigationPolicy (this=0x7f269eab8288, request=..., loader=<optimized out>, formState=..., function=<optimized out>, argument=<optimized out>) at ../../../Source/WebCore/loader/PolicyChecker.cpp:88
#18 0x00007f26b8a6b668 in WebCore::FrameLoader::loadWithDocumentLoader (this=0x7f269eab8278, loader=0x7f26a8086000, type=<optimized out>, prpFormState=<optimized out>) at ../../../Source/WebCore/loader/FrameLoader.cpp:1586
#19 0x00007f26b8a6c616 in WebCore::FrameLoader::loadWithNavigationAction (this=0x7f269eab8278, request=<optimized out>, action=..., lockHistory=<optimized out>, type=WebCore::FrameLoadTypeStandard, formState=...) at ../../../Source/WebCore/loader/FrameLoader.cpp:1492
#20 0x00007f26b8a70638 in WebCore::FrameLoader::continueLoadAfterNewWindowPolicy (this=0x7f269eab9478, request=..., formState=..., frameName=..., action=<optimized out>, shouldContinue=<optimized out>) at ../../../Source/WebCore/loader/FrameLoader.cpp:3133
#21 0x00007f26b8a70831 in WebCore::FrameLoader::callContinueLoadAfterNewWindowPolicy (argument=<optimized out>, request=<optimized out>, formState=<optimized out>, frameName=<optimized out>, action=<optimized out>, shouldContinue=<optimized out>) at ../../../Source/WebCore/loader/FrameLoader.cpp:3112
#22 0x00007f26b8a818c2 in WebCore::PolicyCallback::call (this=0x7fff99b8aef0, shouldContinue=true) at ../../../Source/WebCore/loader/PolicyCallback.cpp:105
#23 0x00007f26b8a85665 in WebCore::PolicyChecker::continueAfterNewWindowPolicy (this=0x7f269eab9488, policy=WebCore::PolicyUse) at ../../../Source/WebCore/loader/PolicyChecker.cpp:180
#24 0x00007f26b87130b8 in callPolicyFunction (action=WebCore::PolicyUse, function=(void (WebCore::PolicyChecker::*)(WebCore::PolicyChecker * const, WebCore::PolicyAction)) 0x7f26b8a85300 <WebCore::PolicyChecker::continueAfterNewWindowPolicy(WebCore::PolicyAction)>, this=0xdea3a0) at ../../../../Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:245
#25 WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction (this=0xdea3a0, function=(void (WebCore::PolicyChecker::*)(WebCore::PolicyChecker * const, WebCore::PolicyAction)) 0x7f26b8a85300 <WebCore::PolicyChecker::continueAfterNewWindowPolicy(WebCore::PolicyAction)>, action=..., request=<optimized out>) at ../../../../Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp:1236
#26 0x00007f26b8a8406a in WebCore::PolicyChecker::checkNewWindowPolicy (this=0x7f269eab9488, action=..., function=<optimized out>, request=..., formState=..., frameName=..., argument=0x7f269eab9478) at ../../../Source/WebCore/loader/PolicyChecker.cpp:97
#27 0x00007f26b8a6d5e2 in WebCore::FrameLoader::loadURL (this=0x7f269eab9478, newURL=..., referrer=<optimized out>, frameName=..., lockHistory=false, newLoadType=WebCore::FrameLoadTypeStandard, event=..., prpFormState=...) at ../../../Source/WebCore/loader/FrameLoader.cpp:1414
#28 0x00007f26b8a6dc9b in WebCore::FrameLoader::loadFrameRequest (this=0x7f269eab9478, request=..., lockHistory=false, lockBackForwardList=false, event=..., formState=..., referrerPolicy=WebCore::SendReferrer) at ../../../Source/WebCore/loader/FrameLoader.cpp:1367
#29 0x00007f26b8a6e45c in WebCore::FrameLoader::urlSelected (this=0x7f269eab9478, passedRequest=<optimized out>, triggeringEvent=..., lockHistory=false, lockBackForwardList=false, referrerPolicy=WebCore::SendReferrer, shouldReplaceDocumentIfJavaScriptURL=WebCore::DoNotReplaceDocumentIfJavaScriptURL) at ../../../Source/WebCore/loader/FrameLoader.cpp:299
#30 0x00007f26b8a6e842 in WebCore::FrameLoader::urlSelected (this=0x7f269eab9478, url=<optimized out>, passedTarget=..., triggeringEvent=<optimized out>, lockHistory=false, lockBackForwardList=false, referrerPolicy=WebCore::SendReferrer) at ../../../Source/WebCore/loader/FrameLoader.cpp:276
#31 0x00007f26b89421e4 in WebCore::handleLinkClick (event=<optimized out>, document=<optimized out>, url=<optimized out>, target=..., hideReferrer=false) at ../../../Source/WebCore/html/HTMLAnchorElement.cpp:555
#32 0x00007f26b8942551 in WebCore::HTMLAnchorElement::defaultEventHandler (this=0xebac00, event=0x7f269eaabdc0) at ../../../Source/WebCore/html/HTMLAnchorElement.cpp:153
#33 0x00007f26b8871dfd in WebCore::EventDispatcher::dispatchEvent (this=0x7fff99b8bd60, event=...) at ../../../Source/WebCore/dom/EventDispatcher.cpp:336
#34 0x00007f26b887b609 in WebCore::MouseEventDispatchMediator::dispatchEvent (this=0x7fff99b8bdb0, dispatcher=0x7fff99b8bd60) at ../../../Source/WebCore/dom/MouseEvent.cpp:176
#35 0x00007f26b8870c4f in WebCore::EventDispatcher::dispatchEvent (node=<optimized out>, mediator=...) at ../../../Source/WebCore/dom/EventDispatcher.cpp:53
#36 0x00007f26b88844a0 in WebCore::Node::dispatchMouseEvent (this=0xebac00, event=..., eventType=..., detail=1, relatedTarget=<optimized out>) at ../../../Source/WebCore/dom/Node.cpp:2856
#37 0x00007f26b8ac87ba in WebCore::EventHandler::dispatchMouseEvent (this=0x7f269eab9a18, eventType=..., targetNode=0xf20fa0, clickCount=1, mouseEvent=..., setUnder=true) at ../../../Source/WebCore/page/EventHandler.cpp:2004
#38 0x00007f26b8ac8f14 in WebCore::EventHandler::handleMouseReleaseEvent (this=0x7f269eab9a18, mouseEvent=...) at ../../../Source/WebCore/page/EventHandler.cpp:1708
#39 0x00007f26b86da6ce in QWebPagePrivate::mouseReleaseEvent<QMouseEvent> (this=<optimized out>, ev=0x7fff99b8cb50) at ../../../../Source/WebKit/qt/Api/qwebpage.cpp:795
#40 0x00007f26b86e3206 in QWebPage::event (this=<optimized out>, ev=0x7fff99b8cb50) at ../../../../Source/WebKit/qt/Api/qwebpage.cpp:3061
#41 0x00007f26b86e5ff8 in QWebView::mouseReleaseEvent (this=<optimized out>, ev=0x7fff99b8cb50) at ../../../../Source/WebKit/qt/Api/qwebview.cpp:1028
#42 0x00007f26b6b42433 in KWebView::mouseReleaseEvent (this=0x1330f70, event=0x7fff99b8cb50) at /usr/src/debug/kdelibs-4.8.1/kdewebkit/kwebview.cpp:80
#43 0x00007f26c2251594 in QWidget::event (this=0x1330f70, event=0x7fff99b8cb50) at kernel/qwidget.cpp:8361
#44 0x00007f26b86e64e7 in QWebView::event (this=0x1330f70, e=0x7fff99b8cb50) at ../../../../Source/WebKit/qt/Api/qwebview.cpp:865
#45 0x00007f26c2200e84 in notify_helper (e=0x7fff99b8cb50, receiver=0x1330f70, this=0x712940) at kernel/qapplication.cpp:4550
#46 QApplicationPrivate::notify_helper (this=0x712940, receiver=0x1330f70, e=0x7fff99b8cb50) at kernel/qapplication.cpp:4522
#47 0x00007f26c22065d3 in QApplication::notify (this=<optimized out>, receiver=0x1330f70, e=0x7fff99b8cb50) at kernel/qapplication.cpp:4093
#48 0x00007f26c3e58656 in KApplication::notify (this=0x7fff99b8d9b0, receiver=0x1330f70, event=0x7fff99b8cb50) at /usr/src/debug/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#49 0x00007f26c309889c in QCoreApplication::notifyInternal (this=0x7fff99b8d9b0, receiver=0x1330f70, event=0x7fff99b8cb50) at kernel/qcoreapplication.cpp:876
#50 0x00007f26c2201e52 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#51 QApplicationPrivate::sendMouseEvent (receiver=0x1330f70, event=0x7fff99b8cb50, alienWidget=0x1330f70, nativeWidget=0xdeba30, buttonDown=0x1330f70, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3161
#52 0x00007f26c227dc05 in QETWidget::translateMouseEvent (this=0xdeba30, event=<optimized out>) at kernel/qapplication_x11.cpp:4505
#53 0x00007f26c227caca in QApplication::x11ProcessEvent (this=0x7fff99b8d9b0, event=0x7fff99b8d410) at kernel/qapplication_x11.cpp:3631
#54 0x00007f26c22a4652 in x11EventSourceDispatch (s=0x716630, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007f26be83858d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f26be838d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f26be838f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f26c30c78ef in QEventDispatcherGlib::processEvents (this=0x616770, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f26c22a42de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f26c3097682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f26c30978d7 in QEventLoop::exec (this=0x7fff99b8d7e0, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f26c309c435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#63 0x00007f26af934102 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kde-baseapps-4.8.1/konqueror/src/konqmain.cpp:227
#64 0x00000000004088e4 in launch (argc=2, _name=0x6f09b8 "/usr/bin/konqueror", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x6f09e4 "hyperion;1333016273;299351;10614_TIME1610838460") at /usr/src/debug/kdelibs-4.8.1/kinit/kinit.cpp:734
#65 0x00000000004099e6 in handle_launcher_request (sock=8, who=<optimized out>) at /usr/src/debug/kdelibs-4.8.1/kinit/kinit.cpp:1226
#66 0x0000000000409f27 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.8.1/kinit/kinit.cpp:1419
#67 0x00000000004057a7 in main (argc=4, argv=0x7fff00000001, envp=0x7fff99b8f3c0) at /usr/src/debug/kdelibs-4.8.1/kinit/kinit.cpp:1907

Possible duplicates by query: bug 287448, bug 280912, bug 278517, bug 274400, bug 274158.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-03-29 11:10:21 UTC

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