Bug 266091 - crash when opening page in new window
Summary: crash when opening page in new window
Status: RESOLVED FIXED
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 1.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 17:25 UTC by Maarten ter Huurne
Modified: 2011-12-04 06:32 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 2011-02-11 17:25:19 UTC
Version:           4.6.0 (using KDE 4.6.0) 
OS:                Linux

I clicked on a link that should open a page in a new window. Instead of the new window appearing, Konqueror crashed.

I'm using the WebKit component for displaying pages. Looking at the backtrace, I see both QtWebKit and KHTML mentioned there, maybe the combination of both has something to do with the origin of the crash. Or maybe not.

The bug reporter wizard refused to handle this report, because the backtraces are incomplete. I tried to install debug packages, but not all debug packages could be found. However, the most relevant part of the backtrace (the top of the active thread) does have debug symbols for it, so I think the trace can be useful. See below.

Reproducible: Didn't try




Application: konqueror (4.6.00 (4.6.0))
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.1-3.2-desktop x86_64

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

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

Thread 3 (Thread 0x7fc873acc710 (LWP 7581)):
#0  0x00007fc89734739c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fc88da15a94 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fc88aa7ba33 in ?? () from /usr/lib64/libGL.so.1
#3  0x00007fc897342a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc8960fa82d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc879683710 (LWP 7600)):
#0  0x00007fc8960f16b3 in poll () from /lib64/libc.so.6
#1  0x00007fc892f64fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc892f65510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc8976e7ae6 in QEventDispatcherGlib::processEvents (this=0x1349c20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fc8976bc262 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc8976bc475 in QEventLoop::exec (this=0x7fc879682d20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fc8975cf1a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007fc89769d918 in QInotifyFileSystemWatcherEngine::run (this=0x129b560) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fc8975d1a1e in QThreadPrivate::start (arg=0x129b560) at thread/qthread_unix.cpp:285
#9  0x00007fc88aa7ba33 in ?? () from /usr/lib64/libGL.so.1
#10 0x00007fc897342a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007fc8960fa82d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc8989ec760 (LWP 7569)):
[KCrash Handler]
#6  0x00007fc87e929018 in KHTMLPartPrivate::findFrameParent (this=0xf96220, callingPart=0x1082750, f=..., childFrame=0x0, checkForNavigation=true)
    at /usr/src/debug/kdelibs-4.6.0/khtml/khtml_part.cpp:5185
#7  0x00007fc87e953fc9 in KHTMLPartBrowserHostExtension::findFrameParent (this=<value optimized out>, callingPart=<value optimized out>, frame=<value optimized out>)
    at /usr/src/debug/kdelibs-4.6.0/khtml/khtml_ext.cpp:995
#8  0x00007fc8868d4819 in KonqMainWindow::childView (this=<value optimized out>, callingPart=0x1082750, name=..., hostExtension=@0x7fff2949f298, part=0x7fff2949f618)
    at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqmainwindow.cpp:2132
#9  0x00007fc8868e4fd6 in findChildView (callingPart=0x1082750, name=..., mainWindow=@0x7fff2949f2a8, hostExtension=@0x7fff2949f298, part=0x7fff2949f618)
    at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqmainwindow.cpp:952
#10 0x00007fc8868e622d in KonqMainWindow::slotCreateNewWindow (this=0x7c9220, url=..., args=..., browserArgs=..., windowArgs=..., part=0x7fff2949f618)
    at /usr/src/debug/kdebase-4.6.0/apps/konqueror/src/konqmainwindow.cpp:1152
#11 0x00007fc8868ec029 in KonqMainWindow::qt_metacall (this=0x7c9220, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff2949f570)
    at /usr/src/debug/kdebase-4.6.0/build/apps/konqueror/src/konqmainwindow.moc:350
#12 0x00007fc8976d1fef in QMetaObject::activate (sender=0xeea730, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2949f570) at kernel/qobject.cpp:3272
#13 0x00007fc88e7dec55 in KParts::BrowserExtension::createNewWindow (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>, _t3=<value optimized out>, 
    _t4=<value optimized out>, _t5=0x7fff2949f618) at /usr/src/debug/kdelibs-4.6.0/build/kparts/browserextension.moc:320
#14 0x00007fc873afc090 in NewWindowAdapterPage::acceptNavigationRequest (this=0x1b2b3b0, frame=<value optimized out>, request=<value optimized out>, type=<value optimized out>)
    at /usr/src/debug/kwebkitpart-1.1.0/src/webpage.cpp:112
#15 0x00007fc88d768671 in WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction(void (WebCore::PolicyChecker::*)(WebCore::PolicyAction), WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>) () from /usr/lib64/libQtWebKit.so.4
#16 0x00007fc88d56d15e in WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest const&, WebCore::DocumentLoader*, WTF::PassRefPtr<WebCore::FormState>, void (*)(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool), void*) () from /usr/lib64/libQtWebKit.so.4
#17 0x00007fc88d54ae7a in WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) () from /usr/lib64/libQtWebKit.so.4
#18 0x00007fc88d54ca30 in WebCore::FrameLoader::loadWithNavigationAction(WebCore::ResourceRequest const&, WebCore::NavigationAction const&, bool, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) () from /usr/lib64/libQtWebKit.so.4
#19 0x00007fc88d54db35 in WebCore::FrameLoader::loadURL(WebCore::KURL const&, WebCore::String const&, WebCore::String const&, bool, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::Event>, WTF::PassRefPtr<WebCore::FormState>) () from /usr/lib64/libQtWebKit.so.4
#20 0x00007fc88d54e598 in WebCore::FrameLoader::loadFrameRequest(WebCore::FrameLoadRequest const&, bool, bool, WTF::PassRefPtr<WebCore::Event>, WTF::PassRefPtr<WebCore::FormState>, WebCore::ReferrerPolicy) () from /usr/lib64/libQtWebKit.so.4
#21 0x00007fc88d54f308 in WebCore::FrameLoader::urlSelected(WebCore::ResourceRequest const&, WebCore::String const&, WTF::PassRefPtr<WebCore::Event>, bool, bool, bool, WebCore::ReferrerPolicy) ()
   from /usr/lib64/libQtWebKit.so.4
#22 0x00007fc88d54f8a3 in WebCore::FrameLoader::changeLocation(WebCore::KURL const&, WebCore::String const&, bool, bool, bool, bool) () from /usr/lib64/libQtWebKit.so.4
#23 0x00007fc88d278c9d in WebCore::createWindow(JSC::ExecState*, WebCore::Frame*, WebCore::Frame*, WebCore::Frame*, WebCore::String const&, WebCore::String const&, WebCore::WindowFeatures const&, JSC::JSValue) () from /usr/lib64/libQtWebKit.so.4
#24 0x00007fc88d27a5d6 in WebCore::JSDOMWindow::open(JSC::ExecState*, JSC::ArgList const&) () from /usr/lib64/libQtWebKit.so.4
#25 0x00007fc88d051d9c in WebCore::jsDOMWindowPrototypeFunctionOpen(JSC::ExecState*, JSC::JSObject*, JSC::JSValue, JSC::ArgList const&) () from /usr/lib64/libQtWebKit.so.4
#26 0x00007fc890a261b4 in ?? ()
#27 0x00007fc87dbeb2e0 in ?? ()
#28 0x0000000000000003 in ?? ()
#29 0x00007fc878154380 in ?? ()
#30 0x00007fc8780ac2c0 in ?? ()
#31 0x00007fc87820800f in ?? ()
#32 0x00007fc800000004 in ?? ()
#33 0x00007fc87dbc88fe in ?? ()
#34 0x00007fff00000004 in ?? ()
#35 0x00000006294a0930 in ?? ()
#36 0x0000000000000000 in ?? ()
Comment 1 Dawit Alemayehu 2011-12-04 06:32:57 UTC
This crash should no longer occur with a more recent version of KDE 4.7 or higher and kwebkitpart 1.1 or higher. Feel free to reopen this ticket if that is not the case for you.