Bug 261827

Summary: Rekonq crashes everytime I launch rekonq [JSC::ExecutableAllocator::isValid, JSGlobalData, JSC::JSGlobalData::createLeaked, ..., NewTabPage::generate]
Product: [Unmaintained] rekonq Reporter: Jonathan Jesse <jjesse>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED UPSTREAM    
Severity: crash CC: andresbajotierra, biasquez, kemza, support.intranet
Priority: NOR    
Version: 0.6.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Jonathan Jesse 2011-01-02 00:01:42 UTC
Application: rekonq (0.6.1)
KDE Platform Version: 4.5.90 (4.6 RC1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-11-generic x86_64
Distribution: Ubuntu natty (development branch)

-- Information about the crash:
Running Kubuntu 11.04 Alpha completly updated (KDE 4.5.90 (4.6 RC1) and everytime I open up the web browser I generate a crash and am asked to either Restart or Report a bug

The crash can be reproduced every time.

-- Backtrace:
Application: rekonq (rekonq), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f189b3f37a0 (LWP 1719))]

Thread 3 (Thread 0x7f1884d53700 (LWP 1724)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1899deb542 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#2  0x00007f18956fcd8c in start_thread (arg=0x7f1884d53700) at pthread_create.c:304
#3  0x00007f189ac8161d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1882bbc700 (LWP 1725)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1895c8d08b in wait (this=<value optimized out>, mutex=0x2094d20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2094d20, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1897c4f0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2094700, th=0x239ec80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f1897c51723 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2087440, th=0x239ec80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f1897c5053f in ThreadWeaver::ThreadRunHelper::run (this=0x7f1882bbbe00, parent=0x2094700, th=0x239ec80) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f1897c505cb in ThreadWeaver::Thread::run (this=0x239ec80) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f1895c8c9ce in QThreadPrivate::start (arg=0x239ec80) at thread/qthread_unix.cpp:285
#8  0x00007f18956fcd8c in start_thread (arg=0x7f1882bbc700) at pthread_create.c:304
#9  0x00007f189ac8161d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f189b3f37a0 (LWP 1719)):
[KCrash Handler]
#6  0x00007f1899d384b2 in JSC::ExecutableAllocator::isValid() const () from /usr/lib/libQtWebKit.so.4
#7  0x00007f1899d791f5 in JSC::JSGlobalData::JSGlobalData(JSC::JSGlobalData::GlobalDataType, JSC::ThreadStackType) () from /usr/lib/libQtWebKit.so.4
#8  0x00007f1899d7a3f8 in JSC::JSGlobalData::createLeaked(JSC::ThreadStackType) () from /usr/lib/libQtWebKit.so.4
#9  0x00007f18995bb872 in WebCore::JSDOMWindowBase::commonJSGlobalData() () from /usr/lib/libQtWebKit.so.4
#10 0x00007f1899b257e6 in WebCore::FrameLoaderClientQt::createDocumentLoader(WebCore::ResourceRequest const&, WebCore::SubstituteData const&) () from /usr/lib/libQtWebKit.so.4
#11 0x00007f18998e5f55 in WebCore::FrameLoader::load(WebCore::ResourceRequest const&, WebCore::SubstituteData const&, bool) () from /usr/lib/libQtWebKit.so.4
#12 0x00007f1899b38db5 in QWebFrame::setHtml(QString const&, QUrl const&) () from /usr/lib/libQtWebKit.so.4
#13 0x00007f189af91de2 in NewTabPage::generate (this=0x7fffb452eef0, url=...) at /build/buildd/rekonq-0.6.1/src/newtabpage.cpp:130
#14 0x00007f189af96f07 in ProtocolHandler::preHandling (this=0x22ac308, request=<value optimized out>, frame=0x235bb30) at /build/buildd/rekonq-0.6.1/src/protocolhandler.cpp:171
#15 0x00007f189afa0f38 in WebPage::acceptNavigationRequest (this=0x22ac2e0, frame=0x235bb30, request=..., type=QWebPage::NavigationTypeOther) at /build/buildd/rekonq-0.6.1/src/webpage.cpp:245
#16 0x00007f1899b285c9 in WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction(void (WebCore::PolicyChecker::*)(WebCore::PolicyAction), WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>) () from /usr/lib/libQtWebKit.so.4
#17 0x00007f189990b137 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/lib/libQtWebKit.so.4
#18 0x00007f18998e5c5b in WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) () from /usr/lib/libQtWebKit.so.4
#19 0x00007f18998e5e88 in WebCore::FrameLoader::load(WebCore::DocumentLoader*) () from /usr/lib/libQtWebKit.so.4
#20 0x00007f18998e5fcb in WebCore::FrameLoader::load(WebCore::ResourceRequest const&, WebCore::SubstituteData const&, bool) () from /usr/lib/libQtWebKit.so.4
#21 0x00007f18998e60d5 in WebCore::FrameLoader::load(WebCore::ResourceRequest const&, bool) () from /usr/lib/libQtWebKit.so.4
#22 0x00007f1899b36d25 in QWebFrame::load(QNetworkRequest const&, QNetworkAccessManager::Operation, QByteArray const&) () from /usr/lib/libQtWebKit.so.4
#23 0x00007f1899b376f9 in QWebFrame::load(QUrl const&) () from /usr/lib/libQtWebKit.so.4
#24 0x00007f189af76928 in Application::loadResolvedUrl (this=<value optimized out>, job=0x2391730) at /build/buildd/rekonq-0.6.1/src/application.cpp:426
#25 0x00007f189af78404 in Application::qt_metacall (this=0x7fffb4530970, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb452fe40) at /build/buildd/rekonq-0.6.1/obj-x86_64-linux-gnu/src/application.moc:90
#26 0x00007f1895d88bb8 in QMetaObject::activate (sender=0x20857b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb452fe40) at kernel/qobject.cpp:3280
#27 0x00007f1897c4de92 in ThreadWeaver::WeaverInterface::jobDone (this=<value optimized out>, _t1=0x2391730) at ./WeaverInterface.moc:105
#28 0x00007f1897c4df64 in ThreadWeaver::WeaverInterface::qt_metacall (this=0x20857b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb452ff50) at ./WeaverInterface.moc:80
#29 0x00007f1895d88bb8 in QMetaObject::activate (sender=0x2094700, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffb452ff50) at kernel/qobject.cpp:3280
#30 0x00007f1897c4de92 in ThreadWeaver::WeaverInterface::jobDone (this=<value optimized out>, _t1=0x2391730) at ./WeaverInterface.moc:105
#31 0x00007f1897c4df64 in ThreadWeaver::WeaverInterface::qt_metacall (this=0x2094700, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x22f3d80) at ./WeaverInterface.moc:80
#32 0x00007f1897c4ef80 in ThreadWeaver::WeaverImpl::qt_metacall (this=0x2094700, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x22f3d80) at ./WeaverImpl.moc:76
#33 0x00007f1895d87a4a in QObject::event (this=0x2094700, e=<value optimized out>) at kernel/qobject.cpp:1219
#34 0x00007f1896262b24 in QApplicationPrivate::notify_helper (this=0x1fc7e00, receiver=0x2094700, e=0x23654c0) at kernel/qapplication.cpp:4445
#35 0x00007f189626745a in QApplication::notify (this=<value optimized out>, receiver=0x2094700, e=0x23654c0) at kernel/qapplication.cpp:4324
#36 0x00007f189878dd56 in KApplication::notify (this=0x7fffb4530970, receiver=0x2094700, event=0x23654c0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f1895d73aec in QCoreApplication::notifyInternal (this=0x7fffb4530970, receiver=0x2094700, event=0x23654c0) at kernel/qcoreapplication.cpp:732
#38 0x00007f1895d77275 in sendEvent (receiver=0x0, event_type=0, data=0x1f9a380) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1f9a380) at kernel/qcoreapplication.cpp:1373
#40 0x00007f1895d9e833 in sendPostedEvents (s=0x1fc5080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x1fc5080) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007f1891b82c4d in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x00007f1891b83438 in ?? () from /lib/libglib-2.0.so.0
#44 0x00007f1891b836c9 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x00007f1895d9e9cf in QEventDispatcherGlib::processEvents (this=0x1f99f50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#46 0x00007f1896308a9e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f1895d72ed2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f1895d7310c in QEventLoop::exec (this=0x7fffb4530900, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007f1895d7751b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#50 0x00007f189afe8ee5 in kdemain (argc=1, argv=<value optimized out>) at /build/buildd/rekonq-0.6.1/src/main.cpp:198
#51 0x00007f189abbfd1e in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, ubp_av=0x7fffb45311d8, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffb45311c8) at libc-start.c:226
#52 0x0000000000400659 in _start ()

Reported using DrKonqi
Comment 1 support.intranet 2011-01-20 15:26:58 UTC
Identical behavior for me on Natty. Maybe it is related to these:
https://bugs.kde.org/show_bug.cgi?id=259785
https://bugs.kde.org/show_bug.cgi?id=262094
Comment 2 support.intranet 2011-01-20 15:37:25 UTC
Workaround: echo 1 > /proc/sys/vm/overcommit_memory
(Taken from upstream bug https://bugs.webkit.org/show_bug.cgi?id=42756)
Comment 3 Dario Andres 2011-01-31 01:14:31 UTC
[Comment from a bug triager]
Now that the upstream report is marked as FIXED I guess we can mark this as UPSTREAM.
Regards
Comment 4 Dario Andres 2011-01-31 01:14:36 UTC
*** Bug 262770 has been marked as a duplicate of this bug. ***
Comment 5 omega 2011-02-10 17:34:29 UTC
Created attachment 57117 [details]
New crash information added by DrKonqi

rekonq (0.6.80) on KDE Platform 4.6.00 (4.6.0) using Qt 4.7.1

- What I was doing when the application crashed:

rekonq crashed when i try to launch it (note: flash missing)

-- Backtrace (Reduced):
#6  0x00007f047f1ba642 in JSC::ExecutableAllocator::isValid() const () from /usr/lib/libQtWebKit.so.4
#7  0x00007f047f1fb615 in JSC::JSGlobalData::JSGlobalData(JSC::JSGlobalData::GlobalDataType, JSC::ThreadStackType) () from /usr/lib/libQtWebKit.so.4
#8  0x00007f047f1fc838 in JSC::JSGlobalData::createLeaked(JSC::ThreadStackType) () from /usr/lib/libQtWebKit.so.4
#9  0x00007f047ea3bb12 in WebCore::JSDOMWindowBase::commonJSGlobalData() () from /usr/lib/libQtWebKit.so.4
#10 0x00007f047efa79f6 in WebCore::FrameLoaderClientQt::createDocumentLoader(WebCore::ResourceRequest const&, WebCore::SubstituteData const&) () from /usr/lib/libQtWebKit.so.4