Bug 310858

Summary: Crashes on restoring a previous crashed session
Product: [Unmaintained] rekonq Reporter: Bernhard Scheirle <bernhard+kde>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: 1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Scheirle 2012-11-29 07:45:11 UTC
Application: rekonq (1.1)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-18-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
I tried to restore a previous crashed session, then rekonq crashes and on restart I can restore the session and it crashes again and so on …

The crash can be reproduced every time.

-- Backtrace:
Application: rekonq (rekonq), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1f34c4c780 (LWP 3177))]

Thread 5 (Thread 0x7f1f1f15d700 (LWP 3178)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1f34038cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f1f34038d09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f1f2eb99e9a in start_thread (arg=0x7f1f1f15d700) at pthread_create.c:308
#4  0x00007f1f34448cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1f1e85c700 (LWP 3179)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f1f334cfb2d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f1f33e90280 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2499
#2  0x00007f1f334cfc39 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007f1f2eb99e9a in start_thread (arg=0x7f1f1e85c700) at pthread_create.c:308
#4  0x00007f1f34448cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1f1df5b700 (LWP 3180)):
#0  __tls_get_addr (ti=0x7f1f307a5990) at dl-tls.c:752
#1  0x00007f1f303517ff in get_thread_data () at thread/qthread_unix.cpp:182
#2  QThreadData::current () at thread/qthread_unix.cpp:208
#3  0x00007f1f3047d4d9 in postEventSourcePrepare (s=0x7f1f180012d0, timeout=0x7f1f1df5ac44) at kernel/qeventdispatcher_glib.cpp:256
#4  0x00007f1f2d231618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f1f2d231cab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f1f2d231ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f1f3047dc16 in QEventDispatcherGlib::processEvents (this=0x7f1f180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f1f3044e2bf in QEventLoop::processEvents (this=this@entry=0x7f1f1df5ae00, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f1f3044e548 in QEventLoop::exec (this=0x7f1f1df5ae00, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f1f3034fb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f1f30352aec in QThreadPrivate::start (arg=0x2535a50) at thread/qthread_unix.cpp:338
#12 0x00007f1f2eb99e9a in start_thread (arg=0x7f1f1df5b700) at pthread_create.c:308
#13 0x00007f1f34448cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1ed76a1700 (LWP 3181)):
#0  0x00007f1f3443d303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1f2d231d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1f2d231ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1f3047dc16 in QEventDispatcherGlib::processEvents (this=0x7f1ed00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1f3044e2bf in QEventLoop::processEvents (this=this@entry=0x7f1ed76a0dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1f3044e548 in QEventLoop::exec (this=0x7f1ed76a0dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1f3034fb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f1f3042e9af in QInotifyFileSystemWatcherEngine::run (this=0x2694640) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1f30352aec in QThreadPrivate::start (arg=0x2694640) at thread/qthread_unix.cpp:338
#9  0x00007f1f2eb99e9a in start_thread (arg=0x7f1ed76a1700) at pthread_create.c:308
#10 0x00007f1f34448cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1f34c4c780 (LWP 3177)):
[KCrash Handler]
#6  ref (this=0x640065) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QString::operator= (this=0x1fcda00, other=...) at tools/qstring.cpp:1410
#8  0x00007f1f347a45d2 in replace (t=..., i=5, this=0x7fffabfedf80) at /usr/include/qt4/QtCore/qlist.h:613
#9  NewTabPage::saveFavorites (this=this@entry=0x7fffabfee300) at /build/buildd/rekonq-1.1/src/newtabpage.cpp:1085
#10 0x00007f1f347a59a8 in NewTabPage::generate (this=0x7fffabfee300, url=...) at /build/buildd/rekonq-1.1/src/newtabpage.cpp:282
#11 0x00007f1f347a9193 in ProtocolHandler::preHandling (this=<optimized out>, request=..., frame=0x2553e50) at /build/buildd/rekonq-1.1/src/protocolhandler.cpp:168
#12 0x00007f1f347ba810 in WebPage::acceptNavigationRequest (this=0x2537520, frame=0x2553e50, request=..., type=QWebPage::NavigationTypeOther) at /build/buildd/rekonq-1.1/src/webpage.cpp:235
#13 0x00007f1f32c75a96 in WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction (this=0x2554b20, function=(void (WebCore::PolicyChecker::*)(WebCore::PolicyChecker * const, WebCore::PolicyAction)) 0x7f1f32fccd50 <WebCore::PolicyChecker::continueAfterNavigationPolicy(WebCore::PolicyAction)>, action=..., request=...) at WebCoreSupport/FrameLoaderClientQt.cpp:1271
#14 0x00007f1f32fce6aa in WebCore::PolicyChecker::checkNavigationPolicy (this=0x7f1f1df76488, request=..., loader=<optimized out>, formState=..., function=0x7f1f32fb3d60 <WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>, bool)>, argument=0x7f1f1df76478) at loader/PolicyChecker.cpp:88
#15 0x00007f1f32fb40a9 in WebCore::FrameLoader::loadWithDocumentLoader (this=this@entry=0x7f1f1df76478, loader=loader@entry=0x7f1f1c42c800, type=type@entry=WebCore::FrameLoadTypeStandard, prpFormState=...) at loader/FrameLoader.cpp:1586
#16 0x00007f1f32fb42b0 in WebCore::FrameLoader::load (this=this@entry=0x7f1f1df76478, newDocumentLoader=newDocumentLoader@entry=0x7f1f1c42c800) at loader/FrameLoader.cpp:1527
#17 0x00007f1f32fb440b in WebCore::FrameLoader::load (this=this@entry=0x7f1f1df76478, request=..., substituteData=..., lockHistory=lockHistory@entry=false) at loader/FrameLoader.cpp:1463
#18 0x00007f1f32fb4501 in WebCore::FrameLoader::load (this=0x7f1f1df76478, request=..., lockHistory=false) at loader/FrameLoader.cpp:1450
#19 0x00007f1f32c33bb9 in QWebFrame::load (this=0x2553e50, req=..., operation=<optimized out>, body=...) at Api/qwebframe.cpp:937
#20 0x00007f1f347c0dd0 in WebView::load (this=this@entry=0x252c480, req=..., op=op@entry=QNetworkAccessManager::GetOperation, body=...) at /build/buildd/rekonq-1.1/src/webview.cpp:122
#21 0x00007f1f347c0ec7 in WebView::load (this=0x252c480, url=...) at /build/buildd/rekonq-1.1/src/webview.cpp:109
#22 0x00007f1f347ac8a3 in loadViewTabs (mv=mv@entry=0x1deda00, window=..., checkViewExists=checkViewExists@entry=true) at /build/buildd/rekonq-1.1/src/sessionmanager.cpp:95
#23 0x00007f1f347acda2 in SessionManager::restoreCrashedSession (this=0x1db4fb0) at /build/buildd/rekonq-1.1/src/sessionmanager.cpp:212
#24 0x00007f1f30464f5f in QMetaObject::activate (sender=0x1ddca10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#25 0x00007f1f30464f5f in QMetaObject::activate (sender=0x1dfaea0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffabfef240) at kernel/qobject.cpp:3547
#26 0x00007f1f2f574a32 in QAction::triggered (this=this@entry=0x1dfaea0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#27 0x00007f1f2f574c20 in QAction::activate (this=0x1dfaea0, event=<optimized out>) at kernel/qaction.cpp:1257
#28 0x00007f1f2f93951f in QAbstractButtonPrivate::click (this=this@entry=0x1e93f90) at widgets/qabstractbutton.cpp:530
#29 0x00007f1f2f9397cc in QAbstractButton::mouseReleaseEvent (this=0x251d870, e=0x7fffabfefaf0) at widgets/qabstractbutton.cpp:1123
#30 0x00007f1f2f9f399a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:718
#31 0x00007f1f2f5ca850 in QWidget::event (this=0x251d870, event=0x7fffabfefaf0) at kernel/qwidget.cpp:8371
#32 0x00007f1f2f57ae9c in QApplicationPrivate::notify_helper (this=this@entry=0x1c894a0, receiver=receiver@entry=0x251d870, e=e@entry=0x7fffabfefaf0) at kernel/qapplication.cpp:4562
#33 0x00007f1f2f57fb6b in QApplication::notify (this=<optimized out>, receiver=0x251d870, e=0x7fffabfefaf0) at kernel/qapplication.cpp:4105
#34 0x00007f1f31d3c1d6 in KApplication::notify (this=0x7fffabff0780, receiver=0x251d870, event=0x7fffabfefaf0) at ../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f1f3044f56e in QCoreApplication::notifyInternal (this=0x7fffabff0780, receiver=0x251d870, event=0x7fffabfefaf0) at kernel/qcoreapplication.cpp:915
#36 0x00007f1f2f57bcd3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QApplicationPrivate::sendMouseEvent (receiver=0x251d870, event=0x7fffabfefaf0, alienWidget=0x251d870, nativeWidget=0x1e65920, buttonDown=0x7f1f30057308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#38 0x00007f1f2f5f9554 in QETWidget::translateMouseEvent (this=this@entry=0x1e65920, event=event@entry=0x7fffabff0270) at kernel/qapplication_x11.cpp:4622
#39 0x00007f1f2f5f844f in QApplication::x11ProcessEvent (this=0x7fffabff0780, event=0x7fffabff0270) at kernel/qapplication_x11.cpp:3737
#40 0x00007f1f2f61ffa2 in x11EventSourceDispatch (s=0x1c8ab90, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f1f2d231ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f1f2d231de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f1f2d231ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f1f3047dbf6 in QEventDispatcherGlib::processEvents (this=0x1c4dad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0x00007f1f2f61fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f1f3044e2bf in QEventLoop::processEvents (this=this@entry=0x7fffabff0640, flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f1f3044e548 in QEventLoop::exec (this=0x7fffabff0640, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f1f30453708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#49 0x00007f1f34826f01 in kdemain (argc=1, argv=0x7fffabff0958) at /build/buildd/rekonq-1.1/src/main.cpp:223
#50 0x00007f1f3437676d in __libc_start_main (main=0x400690 <main(int, char**)>, argc=1, ubp_av=0x7fffabff0958, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffabff0948) at libc-start.c:226
#51 0x00000000004006c1 in _start ()

Reported using DrKonqi
Comment 1 Andrea Diamantini 2013-03-18 18:00:38 UTC
rekonq 1.x is unmaintained. Please, upgrade to rekonq 2.x as soon as possible.