Bug 232034

Summary: Crash when switching to WebKit
Product: [Unmaintained] kdelibs Reporter: Geoffray Levasseur <jeff.levasseur>
Component: kdewebkitAssignee: webkit-devel
Status: RESOLVED UPSTREAM    
Severity: crash CC: jeff.levasseur
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Geoffray Levasseur 2010-03-24 20:37:36 UTC
Application: konqueror (4.4.1 (KDE 4.4.1))
KDE Platform Version: 4.4.1 (KDE 4.4.1) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-4-amd64 x86_64
Distribution: Debian GNU/Linux 5.0.4 (lenny)

-- Information about the crash:
This was happening when switching to webkit in the upload image flash interface interface version of the Nextgen Gallery Wordpress plugin. Note that I wanted to do this because it's not working with KHTML so it's an other bug (but there's many known bug with Flash nspluginviewer used with KHTML).

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

Thread 2 (Thread 0x7f5be8dbb910 (LWP 16863)):
#0  0x00007f5c0a2dbf89 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f5bfc19c4e6 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5bfd160220) at ../JavaScriptCore/wtf/FastMalloc.cpp:2299
#2  0x00007f5bfc19c529 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f5bfd16e2ec) at ../JavaScriptCore/wtf/FastMalloc.cpp:1433
#3  0x00007f5c0a2d773a in start_thread () from /lib/libpthread.so.0
#4  0x00007f5c0896669d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5c0ca0c750 (LWP 7824)):
[KCrash Handler]
#5  WTF::RefCountedBase::ref (c=0x7f5bfcb1d8c5 "") at ../JavaScriptCore/wtf/RefCounted.h:37
#6  refIfNotNull<WebCore::StringImpl> (c=0x7f5bfcb1d8c5 "") at ../JavaScriptCore/wtf/PassRefPtr.h:52
#7  PassRefPtr (c=0x7f5bfcb1d8c5 "") at ../JavaScriptCore/wtf/PassRefPtr.h:58
#8  WebCore::AtomicString::add (c=0x7f5bfcb1d8c5 "") at platform/text/AtomicString.cpp:92
#9  0x00007f5bfc4da444 in AtomicString () at platform/text/AtomicString.h:36
#10 WebCore::AtomicString::init () at platform/text/AtomicString.cpp:315
#11 0x00007f5bfc4d08be in Settings (this=0x688f400, page=<value optimized out>) at page/Settings.cpp:124
#12 0x00007f5bfc4c79c4 in Page (this=0x7f5be31d3ea0, chromeClient=0x4281e60, contextMenuClient=0x608d4b0, editorClient=0x608cab0, dragClient=0x608d030, inspectorClient=<value optimized out>, 
    pluginHalterClient=0x0) at page/Page.cpp:139
#13 0x00007f5bfc650e35 in QWebPagePrivate (this=0x688eed0, qq=<value optimized out>) at ../WebKit/qt/Api/qwebpage.cpp:383
#14 0x00007f5bfc657864 in QWebPage (this=0x51ff1e0, parent=0x5204c70) at ../WebKit/qt/Api/qwebpage.cpp:1692
#15 0x00007f5bee259a82 in KWebPage (this=0x51ff1e0, parent=0x5204c70, flags=...) at /share/src/kde/KDE/kdelibs/kdewebkit/kwebpage.cpp:65
#16 0x00007f5bee498cb4 in WebPage (this=0x51ff1e0, part=0x6d413c0, parent=0x5204c70) at /share/src/kde/extragear/base/kwebkitpart/src/webpage.cpp:189
#17 0x00007f5bee492d49 in WebView (this=0x5204c70, wpart=0x6d413c0, parent=0x4281e30) at /share/src/kde/extragear/base/kwebkitpart/src/webview.cpp:80
#18 0x00007f5bee48676e in KWebKitPartPrivate::init (this=0x2ff5180, mainWidget=0x4281e30) at /share/src/kde/extragear/base/kwebkitpart/src/kwebkitpart_p.cpp:162
#19 0x00007f5bee48345c in KWebKitPart (this=0x6d413c0, parentWidget=0x4295cd0, parent=0x0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /share/src/kde/extragear/base/kwebkitpart/src/kwebkitpart.cpp:93
#20 0x00007f5be1ffc90c in KWebKitFactory::createPartObject (this=0x6d6ee80, parentWidget=0x4295cd0, parent=0x0, className=0x7f5c0c5c5c29 "Browser/View", args=...)
    at /share/src/kde/extragear/base/kwebkitpart/src/kwebkitpartfactory.cpp:43
#21 0x00007f5c0c575674 in KPluginFactory::create (this=0x6d6ee80, iface=0x7f5c0c13a840 "KParts::ReadOnlyPart", parentWidget=0x4295cd0, parent=0x0, args=..., keyword=...)
    at /share/src/kde/KDE/kdelibs/kdecore/util/kpluginfactory.cpp:171
#22 0x00007f5bf67045f0 in KPluginFactory::create<KParts::ReadOnlyPart> (this=0x6d6ee80, parentWidget=0x4295cd0, parent=0x0, keyword=..., args=...) at /usr/include/kpluginfactory.h:515
#23 0x00007f5bf67014ee in KonqViewFactory::create (this=0x7fff56798c70, parentWidget=0x4295cd0, parent=0x0) at /share/src/kde/KDE/kdebase/apps/konqueror/src/konqfactory.cpp:71
#24 0x00007f5bf66e9656 in KonqFrame::attach (this=0x4295cd0, viewFactory=...) at /share/src/kde/KDE/kdebase/apps/konqueror/src/konqframe.cpp:143
#25 0x00007f5bf66ce487 in KonqView::switchView (this=0x5205b60, viewFactory=...) at /share/src/kde/KDE/kdebase/apps/konqueror/src/konqview.cpp:251
#26 0x00007f5bf66ceff8 in KonqView::changePart (this=0x5205b60, mimeType=..., serviceName=..., forceAutoEmbed=true) at /share/src/kde/KDE/kdebase/apps/konqueror/src/konqview.cpp:379
#27 0x00007f5bf672c057 in KonqMainWindow::slotOpenEmbedded (this=0x2437d20, service=...) at /share/src/kde/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:4761
#28 0x00007f5bf6733d2c in KonqMainWindow::qt_metacall (this=0x2437d20, _c=QMetaObject::InvokeMetaMethod, _id=88, _a=0x60718c0)
    at /share/src/build/kde/KDE/kdebase/apps/konqueror/src/konqmainwindow.moc:427
#29 0x00007f5c0a67aa29 in QObject::event (this=0x2437d20, e=0x667d9d0) at kernel/qobject.cpp:1248
#30 0x00007f5c095e823f in QWidget::event (this=0x2437d20, event=0x667d9d0) at kernel/qwidget.cpp:8455
#31 0x00007f5c099aa05b in QMainWindow::event (this=0x2437d20, event=0x667d9d0) at widgets/qmainwindow.cpp:1433
#32 0x00007f5c0af57cb0 in KMainWindow::event (this=0x2437d20, ev=0x667d9d0) at /share/src/kde/KDE/kdelibs/kdeui/widgets/kmainwindow.cpp:1103
#33 0x00007f5c0af9e91c in KXmlGuiWindow::event (this=0x2437d20, ev=0x667d9d0) at /share/src/kde/KDE/kdelibs/kdeui/xmlgui/kxmlguiwindow.cpp:131
#34 0x00007f5bf6731f12 in KonqMainWindow::event (this=0x2437d20, e=0x667d9d0) at /share/src/kde/KDE/kdebase/apps/konqueror/src/konqmainwindow.cpp:5644
#35 0x00007f5c095928fc in QApplicationPrivate::notify_helper (this=0x2278f70, receiver=0x2437d20, e=0x667d9d0) at kernel/qapplication.cpp:4300
#36 0x00007f5c09598ddb in QApplication::notify (this=0x7fff5679a240, receiver=0x2437d20, e=0x667d9d0) at kernel/qapplication.cpp:4183
#37 0x00007f5c0ae531fb in KApplication::notify (this=0x7fff5679a240, receiver=0x2437d20, event=0x667d9d0) at /share/src/kde/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#38 0x00007f5c0a66addc in QCoreApplication::notifyInternal (this=0x7fff5679a240, receiver=0x2437d20, event=0x667d9d0) at kernel/qcoreapplication.cpp:704
#39 0x00007f5c0a66d557 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x21d8520) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x21d8520) at kernel/qcoreapplication.cpp:1345
#41 0x00007f5c0a6946f3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#43 0x00007f5c0508890e in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00007f5c0508c2c8 in ?? () from /lib/libglib-2.0.so.0
#45 0x00007f5c0508c3f0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x00007f5c0a694233 in QEventDispatcherGlib::processEvents (this=0x21d9980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#47 0x00007f5c0964232e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f5c0a669702 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#49 0x00007f5c0a669adc in QEventLoop::exec (this=0x7fff56799fb0, flags=) at kernel/qeventloop.cpp:201
#50 0x00007f5c0a66d81b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#51 0x00007f5bf6767142 in kdemain (argc=2, argv=0x2243f70) at /share/src/kde/KDE/kdebase/apps/konqueror/src/konqmain.cpp:257
#52 0x0000000000406be9 in launch (argc=2, _name=0x222b558 "/usr/bin/konqueror", args=0x222b574 "", cwd=0x0, envc=0, envs=0x222b57c "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x222b584 "debian-ltop;1269450882;718575;7537_TIME1336668") at /share/src/kde/KDE/kdelibs/kinit/kinit.cpp:717
#53 0x0000000000407d4d in handle_launcher_request (sock=9, who=0x40c37c "launcher") at /share/src/kde/KDE/kdelibs/kinit/kinit.cpp:1209
#54 0x000000000040851f in handle_requests (waitForPid=0) at /share/src/kde/KDE/kdelibs/kinit/kinit.cpp:1402
#55 0x0000000000409ab5 in main (argc=4, argv=0x7fff5679b6c8, envp=0x7fff5679b6f0) at /share/src/kde/KDE/kdelibs/kinit/kinit.cpp:1845

Reported using DrKonqi
Comment 1 Geoffray Levasseur 2010-03-25 03:55:11 UTC
I have made some tries to reproduce the bug, so here is my results. The bug seems to appear randomly, but I was able to see what condition we must have to see it. Konqueror must be working for some times, Flash content that is not working properly with KHTML must be here and we need to switch to webkit after some tries on this Flash component (in KHTML and that's not working).

I hoppe you follow me ;)
Comment 2 Urs Wolfer 2010-03-28 19:15:15 UTC
Looks like a crash in WebKit, please report it to bugs.webkit.org. Please post the issue # here afterwards. Thank you.