Bug 305438 - Segfault during automatic restore
Summary: Segfault during automatic restore
Status: RESOLVED WORKSFORME
Alias: None
Product: rekonq
Classification: Unmaintained
Component: general (show other bugs)
Version: 0.9.90
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-08-19 15:12 UTC by Jan Kundrát
Modified: 2018-10-27 03:30 UTC (History)
0 users

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 Jan Kundrát 2012-08-19 15:12:50 UTC
Application: rekonq (0.9.90)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.1
Operating System: Linux 3.3.4-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
After an X session crash, rekonq (git commit e1dc349d6bc117b5db8b8229804c3600ae57da0a) started automatically. It is set to always prompt before restoring the previously opened tabs (but it occasionally restores them while the prompt "do you want to restore?" is still shown -- this might or might not be the case here, I haven't checked the window contents).

In a few seconds after the desktop environment started and the applications finished loading, rekonq crashed (see the backtrace). This is the second time this has happened over the last week, but I don't know how to reproduce it -- the session was restarted and restored at least five times without any issues.

I follow the git releases, so I'll be happy to try any debug patches you might have.

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

Thread 8 (Thread 0x7f0399969700 (LWP 137784)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f03a2078f64 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f03a2394640) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f03a2078f99 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f03a23a2714) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f03af4c5d0c in start_thread (arg=0x7f0399969700) at pthread_create.c:301
#4  0x00007f03ae10b87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f0399068700 (LWP 137785)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f03a3703f34 in scavengerThread (this=0x7f03a4116ec0) at wtf/FastMalloc.cpp:2495
#2  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f03a4116ec0) at wtf/FastMalloc.cpp:1618
#3  0x00007f03af4c5d0c in start_thread (arg=0x7f0399068700) at pthread_create.c:301
#4  0x00007f03ae10b87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f039875f700 (LWP 137786)):
#0  0x00007f03af4c989e in __pthread_mutex_unlock_usercnt (mutex=0x7f03b3f45618, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f03ab07765d in g_main_context_iterate (context=0x7f03b3f45610, block=1, dispatch=1, self=<optimized out>) at gmain.c:3030
#2  0x00007f03ab077da1 in g_main_context_iteration (context=0x7f03b3f45610, may_block=1) at gmain.c:3152
#3  0x00007f03af8bd9ce in QEventDispatcherGlib::processEvents (this=0x7f03b3f4bb90, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f03af885602 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f03af8859ed in QEventLoop::exec (this=0x7f039875edf0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f03af75f6a8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f03af7625d3 in QThreadPrivate::start (arg=0x7f03b3f4ba50) at thread/qthread_unix.cpp:298
#8  0x00007f03af4c5d0c in start_thread (arg=0x7f039875f700) at pthread_create.c:301
#9  0x00007f03ae10b87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f03963ad700 (LWP 137788)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f03af763696 in wait (time=30000, this=0x7f03b4312640) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f03b43125e8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f03af7545c0 in QThreadPoolThread::run (this=0x7f03b4312940) at concurrent/qthreadpool.cpp:141
#4  0x00007f03af7625d3 in QThreadPrivate::start (arg=0x7f03b4312940) at thread/qthread_unix.cpp:298
#5  0x00007f03af4c5d0c in start_thread (arg=0x7f03963ad700) at pthread_create.c:301
#6  0x00007f03ae10b87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f034c2f6700 (LWP 137861)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f034e2c1dd3 in queue_processor(void*) () from /opt/icedtea-web-bin-6/lib64/IcedTeaPlugin.so
#2  0x00007f03af4c5d0c in start_thread (arg=0x7f034c2f6700) at pthread_create.c:301
#3  0x00007f03ae10b87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f034baf5700 (LWP 137862)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f034e2c1dd3 in queue_processor(void*) () from /opt/icedtea-web-bin-6/lib64/IcedTeaPlugin.so
#2  0x00007f03af4c5d0c in start_thread (arg=0x7f034baf5700) at pthread_create.c:301
#3  0x00007f03ae10b87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f034b2f4700 (LWP 137863)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f034e2c1dd3 in queue_processor(void*) () from /opt/icedtea-web-bin-6/lib64/IcedTeaPlugin.so
#2  0x00007f03af4c5d0c in start_thread (arg=0x7f034b2f4700) at pthread_create.c:301
#3  0x00007f03ae10b87d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f03b0d59780 (LWP 137782)):
[KCrash Handler]
#6  WebTab::view (this=0x0) at /var/tmp/portage/www-client/rekonq-9999/work/rekonq-9999/src/webtab.cpp:119
#7  0x00007f039d6af94d in WebTab::page (this=0x0) at /var/tmp/portage/www-client/rekonq-9999/work/rekonq-9999/src/webtab.cpp:129
#8  0x00007f039d66f958 in MainWindow::updateHistoryActions (this=0x7f03b3eae6b0) at /var/tmp/portage/www-client/rekonq-9999/work/rekonq-9999/src/mainwindow.cpp:762
#9  0x00007f039d69fbd2 in WebPage::manageNetworkErrors (this=0x7f03b4215e80, reply=0x7f03b4232bd0) at /var/tmp/portage/www-client/rekonq-9999/work/rekonq-9999/src/webpage.cpp:570
#10 0x00007f03af8a0592 in QMetaObject::activate (sender=0x7f03b42323a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9e40260) at kernel/qobject.cpp:3547
#11 0x00007f03ad41f442 in QNetworkAccessManager::finished (this=<optimized out>, _t1=0x7f03b4232bd0) at .moc/release-shared/moc_qnetworkaccessmanager.cpp:177
#12 0x00007f03ad41f82e in QNetworkAccessManagerPrivate::_q_replyFinished (this=<optimized out>) at access/qnetworkaccessmanager.cpp:1014
#13 0x00007f03af8a0592 in QMetaObject::activate (sender=0x7f03b4232bd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#14 0x00007f03a666036c in KDEPrivate::AccessManagerReply::slotResult (this=0x7f03b4232bd0, kJob=0x7f03b4232e70) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/accessmanagerreply_p.cpp:386
#15 0x00007f03af8a0592 in QMetaObject::activate (sender=0x7f03b4232e70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9e40660) at kernel/qobject.cpp:3547
#16 0x00007f03afd56772 in KJob::result (this=<optimized out>, _t1=0x7f03b4232e70) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1_build/kdecore/kjob.moc:208
#17 0x00007f03afd567d4 in KJob::emitResult (this=0x7f03b4232e70) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kdecore/jobs/kjob.cpp:318
#18 0x00007f03a66a0e75 in KIO::SimpleJob::slotFinished (this=0x7f03b4232e70) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/job.cpp:494
#19 0x00007f03a66a65a5 in KIO::TransferJob::slotFinished (this=0x7f03b4232e70) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/job.cpp:1081
#20 0x00007f03a66a0fc6 in KIO::SimpleJob::slotError (this=0x7f03b4232e70, err=<optimized out>, errorText=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/job.cpp:506
#21 0x00007f03af8a0592 in QMetaObject::activate (sender=0x7f03b43baab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc9e40bf0) at kernel/qobject.cpp:3547
#22 0x00007f03a6764ed6 in KIO::SlaveInterface::error (this=<optimized out>, _t1=149, _t2=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1_build/kio/slaveinterface.moc:173
#23 0x00007f03a6767f7e in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=<optimized out>, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/slaveinterface.cpp:205
#24 0x00007f03a67646c3 in KIO::SlaveInterface::dispatch (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/slaveinterface.cpp:88
#25 0x00007f03a6755d26 in KIO::Slave::gotInput (this=0x7f03b43baab0) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/slave.cpp:344
#26 0x00007f03af8a0592 in QMetaObject::activate (sender=0x7f03b3d25570, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#27 0x00007f03a666ae26 in KIO::ConnectionPrivate::dequeue (this=0x7f03b4015790) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kio/kio/connection.cpp:82
#28 0x00007f03af89f906 in QObject::event (this=0x7f03b3d25570, e=<optimized out>) at kernel/qobject.cpp:1195
#29 0x00007f03ae8c3b84 in QApplicationPrivate::notify_helper (this=0x7f03b2fa9ed0, receiver=0x7f03b3d25570, e=0x7f03b53ac260) at kernel/qapplication.cpp:4554
#30 0x00007f03ae8c8dad in QApplication::notify (this=0x7fffc9e41cc0, receiver=0x7f03b3d25570, e=0x7f03b53ac260) at kernel/qapplication.cpp:3936
#31 0x00007f03b0703506 in KApplication::notify (this=0x7fffc9e41cc0, receiver=0x7f03b3d25570, event=0x7f03b53ac260) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kdeui/kernel/kapplication.cpp:311
#32 0x00007f03af886b2c in QCoreApplication::notifyInternal (this=0x7fffc9e41cc0, receiver=0x7f03b3d25570, event=0x7f03b53ac260) at kernel/qcoreapplication.cpp:876
#33 0x00007f03af88aa00 in sendEvent (event=0x7f03b53ac260, receiver=0x7f03b3d25570) at kernel/qcoreapplication.h:231
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x7f03b2ef03a0) at kernel/qcoreapplication.cpp:1500
#35 0x00007f03af8bd767 in sendPostedEvents () at kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#37 0x00007f03ab07732f in g_main_dispatch (context=0x7f03b2fac440) at gmain.c:2441
#38 g_main_context_dispatch (context=0x7f03b2fac440) at gmain.c:3011
#39 0x00007f03ab077b78 in g_main_context_iterate (context=0x7f03b2fac440, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#40 0x00007f03ab077da1 in g_main_context_iteration (context=0x7f03b2fac440, may_block=1) at gmain.c:3152
#41 0x00007f03af8bd95f in QEventDispatcherGlib::processEvents (this=0x7f03b2fa98c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f03ae983456 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f03af885602 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f03af8859ed in QEventLoop::exec (this=0x7fffc9e41c10, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f03af88aedb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#46 0x00007f039d728d68 in kdemain (argc=3, argv=0x7f03b2f704c0) at /var/tmp/portage/www-client/rekonq-9999/work/rekonq-9999/src/main.cpp:219
#47 0x00007f03b0db69d8 in launch (argc=3, _name=0x7f03b2f70328 "rekonq", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x7f03b0dbb0d6 "0") at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kinit/kinit.cpp:734
#48 0x00007f03b0db76f0 in handle_launcher_request (sock=<optimized out>, who=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kinit/kinit.cpp:1226
#49 0x00007f03b0db7e35 in handle_requests (waitForPid=0) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kinit/kinit.cpp:1419
#50 0x00007f03b0db8ad4 in main (argc=2, argv=0x7fffc9e43270, envp=0x7fffc9e431b0) at /var/tmp/portage/kde-base/kdelibs-4.8.1-r2/work/kdelibs-4.8.1/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Andrea Diamantini 2012-08-20 15:27:08 UTC
Can you please try again with latest rekonq master code + latest qt libs? Thanks.
Comment 2 Andrew Crouthamel 2018-09-23 02:41:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 03:30:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!