Bug 239935 - Crash when switching between khtml and webkit
Summary: Crash when switching between khtml and webkit
Status: RESOLVED DUPLICATE of bug 234544
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kdewebkit (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 01:14 UTC by Kerry N
Modified: 2010-05-29 19:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kerry N 2010-05-29 01:14:39 UTC
Application: konqueror (4.4.3 (KDE 4.4.3))
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.33.4-95.fc13.i686.PAE i686
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
Always reproducable when starting from command line of 'konqueror' and then pasting http://www.java.com/en/download/help/testvm.xml into the address bar and then switching view mode from KHTML to WebKit. 

Not reproducable starting from command line of :
'konqueror http://www.java.com/en/download/help/testvm.xml'

'valgrind --num-callers=50 konqueror http://www.java.com/en/download/help/testvm.xml &> log'

or 

valgrind --num-callers=50 konqueror &> log' 
and pasting http://www.java.com/en/download/help/testvm.xml into the address bar.


The crash can be reproduced every time.

 -- Backtrace:
Application: Konqueror (konqueror), signal: Aborted
[Current thread is 1 (Thread 0xb7836780 (LWP 31307))]

Thread 2 (Thread 0xb2a35b70 (LWP 31310)):
#0  0x00234424 in __kernel_vsyscall ()
#1  0x00b3023c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x418c09f7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib/libQtWebKit.so.4
#3  0x418c0a42 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#4  0x00b2c919 in start_thread (arg=0xb2a35b70) at pthread_create.c:301
#5  0x00a42e5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7836780 (LWP 31307)):
[KCrash Handler]
#6  0x00234424 in __kernel_vsyscall ()
#7  0x0098fd71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x0099164a in abort () at abort.c:92
#9  0x009cdd9d in __libc_message (do_abort=2, fmt=0xab38ec "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:186
#10 0x009d41e1 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0x9ca3a00) at malloc.c:6280
#11 0x00d03ff7 in IA__g_free (mem=0x9ca3a00) at gmem.c:191
#12 0x0134b2e9 in plugin_test_appletviewer (browserTable=0xb1fa7414, pluginTable=0xb1fa73d8) at /usr/src/debug/icedtea6-1.8/plugin/icedteanp/IcedTeaNPPlugin.cc:1517
#13 NP_Initialize (browserTable=0xb1fa7414, pluginTable=0xb1fa73d8) at /usr/src/debug/icedtea6-1.8/plugin/icedteanp/IcedTeaNPPlugin.cc:2156
#14 0x41da81a1 in WebCore::PluginPackage::load() () from /usr/lib/libQtWebKit.so.4
#15 0x41da9013 in WebCore::PluginPackage::fetchInfo() () from /usr/lib/libQtWebKit.so.4
#16 0x41c5f5da in WebCore::PluginPackage::createPackage(WebCore::String const&, long const&) () from /usr/lib/libQtWebKit.so.4
#17 0x41c5d774 in WebCore::PluginDatabase::refresh() () from /usr/lib/libQtWebKit.so.4
#18 0x41c5e1c2 in WebCore::PluginDatabase::installedPlugins(bool) () from /usr/lib/libQtWebKit.so.4
#19 0x41d6c521 in WebCore::PluginData::initPlugins() () from /usr/lib/libQtWebKit.so.4
#20 0x41c091d6 in WebCore::PluginData::PluginData(WebCore::Page const*) () from /usr/lib/libQtWebKit.so.4
#21 0x41bf862a in WebCore::Page::pluginData() const () from /usr/lib/libQtWebKit.so.4
#22 0x41c0947c in WebCore::PluginArray::getPluginData() const () from /usr/lib/libQtWebKit.so.4
#23 0x41c09500 in WebCore::PluginArray::canGetItemsForName(WebCore::AtomicString const&) () from /usr/lib/libQtWebKit.so.4
#24 0x4191fe98 in WebCore::JSPluginArray::canGetItemsForName(JSC::ExecState*, WebCore::PluginArray*, JSC::Identifier const&) () from /usr/lib/libQtWebKit.so.4
#25 0x4211d7d5 in WebCore::JSPluginArray::getOwnPropertySlot(JSC::ExecState*, JSC::Identifier const&, JSC::PropertySlot&) () from /usr/lib/libQtWebKit.so.4
#26 0x41817b66 in JSC::Interpreter::privateExecute(JSC::Interpreter::ExecutionFlag, JSC::RegisterFile*, JSC::ExecState*, JSC::JSValue*) () from /usr/lib/libQtWebKit.so.4
#27 0x41823b64 in JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::ScopeChainNode*, JSC::JSObject*, JSC::JSValue*) () from /usr/lib/libQtWebKit.so.4
#28 0x41857759 in JSC::evaluate(JSC::ExecState*, JSC::ScopeChain&, JSC::SourceCode const&, JSC::JSValue) () from /usr/lib/libQtWebKit.so.4
#29 0x4192562f in WebCore::evaluateInWorld(JSC::ExecState*, JSC::ScopeChain&, JSC::SourceCode const&, JSC::JSValue, WebCore::DOMWrapperWorld*) () from /usr/lib/libQtWebKit.so.4
#30 0x419323d3 in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld*) () from /usr/lib/libQtWebKit.so.4
#31 0x4193262a in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&) () from /usr/lib/libQtWebKit.so.4
#32 0x41942975 in WebCore::ScriptController::executeScript(WebCore::ScriptSourceCode const&) () from /usr/lib/libQtWebKit.so.4
#33 0x41b21eb0 in WebCore::HTMLTokenizer::scriptExecution(WebCore::ScriptSourceCode const&, WebCore::HTMLTokenizer::State) () from /usr/lib/libQtWebKit.so.4
#34 0x41b227b2 in WebCore::HTMLTokenizer::notifyFinished(WebCore::CachedResource*) () from /usr/lib/libQtWebKit.so.4
#35 0x41b62d34 in WebCore::CachedScript::checkNotify() () from /usr/lib/libQtWebKit.so.4
#36 0x41b9da7b in WebCore::Loader::Host::didFinishLoading(WebCore::SubresourceLoader*) () from /usr/lib/libQtWebKit.so.4
#37 0x41bb2b91 in WebCore::SubresourceLoader::didFinishLoading() () from /usr/lib/libQtWebKit.so.4
#38 0x41bad6c2 in WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*) () from /usr/lib/libQtWebKit.so.4
#39 0x41d527dc in WebCore::QNetworkReplyHandler::finish() () from /usr/lib/libQtWebKit.so.4
#40 0x41d52e43 in WebCore::QNetworkReplyHandler::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtWebKit.so.4
#41 0x041f2f1b in QMetaObject::metacall (object=0xa0038c0, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xa92da28) at kernel/qmetaobject.cpp:237
#42 0x041fd487 in QMetaCallEvent::placeMetaCall (this=0x9afa368, object=0xa0038c0) at kernel/qobject.cpp:561
#43 0x041fe39e in QObject::event (this=0xa0038c0, e=0x9afa368) at kernel/qobject.cpp:1248
#44 0x0213bddc in QApplicationPrivate::notify_helper (this=0x951ebe8, receiver=0xa0038c0, e=0x9afa368) at kernel/qapplication.cpp:4300
#45 0x02142836 in QApplication::notify (this=0xbfe2a9a0, receiver=0xa0038c0, e=0x9afa368) at kernel/qapplication.cpp:3704
#46 0x07abed9b in KApplication::notify (this=0xbfe2a9a0, receiver=0xa0038c0, event=0x9afa368) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#47 0x041ee543 in QCoreApplication::notifyInternal (this=0xbfe2a9a0, receiver=0xa0038c0, event=0x9afa368) at kernel/qcoreapplication.cpp:704
#48 0x041ef403 in sendEvent (receiver=0x0, event_type=0, data=0x95080f0) at kernel/qcoreapplication.h:215
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x95080f0) at kernel/qcoreapplication.cpp:1345
#50 0x041ef55e in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#51 0x04216bc0 in sendPostedEvents (s=0x9520f10) at kernel/qcoreapplication.h:220
#52 postEventSourceDispatch (s=0x9520f10) at kernel/qeventdispatcher_glib.cpp:276
#53 0x00cfb525 in g_main_dispatch (context=0x9520e90) at gmain.c:1960
#54 IA__g_main_context_dispatch (context=0x9520e90) at gmain.c:2513
#55 0x00cff268 in g_main_context_iterate (context=0xb2f490, block=1, dispatch=1, self=0x9507bd0) at gmain.c:2591
#56 0x00cff449 in IA__g_main_context_iteration (context=0x9520e90, may_block=1) at gmain.c:2654
#57 0x042166b6 in QEventDispatcherGlib::processEvents (this=0x951eba8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#58 0x021ea556 in QGuiEventDispatcherGlib::processEvents (this=0x951eba8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x041ecc1a in QEventLoop::processEvents (this=0xbfe2a7f4, flags=...) at kernel/qeventloop.cpp:149
#60 0x041ecf5a in QEventLoop::exec (this=0xbfe2a7f4, flags=...) at kernel/qeventloop.cpp:201
#61 0x041ef627 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#62 0x0213be88 in QApplication::exec () at kernel/qapplication.cpp:3579
#63 0x02d8b7c7 in kdemain (argc=1, argv=0xbfe2acb4) at /usr/src/debug/kdebase-4.4.3/apps/konqueror/src/konqmain.cpp:257
#64 0x0804871c in main (argc=1, argv=0xbfe2acb4) at /usr/src/debug/kdebase-4.4.3/i686-redhat-linux-gnu/apps/konqueror/src/konqueror_dummy.cpp:3

This bug may be a duplicate of or related to bug 234544.

Possible duplicates by query: bug 238652, bug 236787, bug 227104.

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2010-05-29 18:30:16 UTC

*** This bug has been marked as a duplicate of bug 234544 ***
Comment 2 Dawit Alemayehu 2010-05-29 18:35:45 UTC
Did not mean to mark this as duplicate of 234544...
Comment 3 Dawit Alemayehu 2010-05-29 19:08:24 UTC
This issue in Fedora and all other distributions that install the "icedtea" plugin is caused by the same issue discussed in bug #234544. However, for me switching between khtml and kwebkitpart produces a crash in khtml regardless of whether khtml or kwebkitpart is configured to handle html content. 

Marking this as duplicate of 234544 since the fix is completely dependent on whether the Java applet fixes make it into the upstream QtWebKit code...

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