Bug 438207 - Konqueror crashed on restoring session
Summary: Konqueror crashed on restoring session
Status: RESOLVED DUPLICATE of bug 463358
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-07 12:05 UTC by bug2017
Modified: 2023-01-26 16:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.38 KB, text/plain)
2021-06-16 16:21 UTC, bug2017
Details
New crash information added by DrKonqi (10.70 KB, text/plain)
2023-01-26 09:58 UTC, bug2017
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bug2017 2021-06-07 12:05:30 UTC
Application: konqueror (21.04.1)
 (Compiled from sources)
Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.11.11-gentoo-x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: Gentoo/Linux

-- Information about the crash:
- What I was doing when the application crashed:
Rebooting the system. After logging in konqueror crashed on restoring the session.

patch against #437161 was applied

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Konqueror (konqueror), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fa5b270f800 (LWP 2584))]
[KCrash Handler]
#6  0x00007fa5b86f5c99 in KonqView::url (this=0x0) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqview.cpp:880
#7  0x00007fa5b8724d4c in KonqMainWindow::isPreloaded (this=this@entry=0x55c97086a150) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqmainwindow.cpp:3950
#8  0x00007fa5b87584bf in KonqSessionManager::saveCurrentSessionToFile (this=this@entry=0x55c970865e50, config=0x55c970862590, theMainWindows=...) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqsessionmanager.cpp:515
#9  0x00007fa5b87586f8 in KonqSessionManager::autoSaveSession (this=0x55c970865e50) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqsessionmanager.cpp:464
#10 0x00007fa5b691289c in doActivate<false> (sender=0x55c970865e60, signal_index=3, argv=argv@entry=0x7fff41771ee0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3898
#11 0x00007fa5b690d010 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fa5b6ba02e0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff41771ee0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3946
#12 0x00007fa5b691649a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#13 0x00007fa5b690b35f in QObject::event (this=0x55c970865e60, e=0x7fff41772030) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:1336
#14 0x00007fa5b748a15f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c970865e60, e=0x7fff41772030) at /var/tmp/portage/dev-qt/qtwidgets-5.15.2/work/qtbase-everywhere-src-5.15.2/src/widgets/kernel/qapplication.cpp:3632
#15 0x00007fa5b68e42b8 in QCoreApplication::notifyInternal2 (receiver=0x55c970865e60, event=0x7fff41772030) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qcoreapplication.cpp:1063
#16 0x00007fa5b692e4ab in QTimerInfoList::activateTimers (this=0x55c970521750) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qtimerinfo_unix.cpp:643
#17 0x00007fa5b692ed64 in timerSourceDispatch (source=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:183
#18 0x00007fa5b48324bb in g_main_dispatch (context=0x7fa5a0005000) at ../glib-2.68.2/glib/gmain.c:3337
#19 g_main_context_dispatch (context=0x7fa5a0005000) at ../glib-2.68.2/glib/gmain.c:4055
#20 0x00007fa5b4832768 in g_main_context_iterate (context=context@entry=0x7fa5a0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.68.2/glib/gmain.c:4131
#21 0x00007fa5b483281f in g_main_context_iteration (context=0x7fa5a0005000, may_block=may_block@entry=1) at ../glib-2.68.2/glib/gmain.c:4196
#22 0x00007fa5b692f140 in QEventDispatcherGlib::processEvents (this=0x55c97051dbf0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#23 0x00007fa5b68e2d63 in QEventLoop::exec (this=0x7fff41772270, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/include/QtCore/../../src/corelib/global/qflags.h:69
#24 0x00007fa5b7a7b47e in KJob::exec (this=this@entry=0x55c970a61db0) at /usr/include/qt5/QtCore/qflags.h:121
#25 0x00007fa58dc74b6c in DolphinPart::urlToLocalFilePath (this=0x7fff417722c0, this@entry=0x55c970cc5840, url=...) at /var/tmp/portage/kde-apps/dolphin-21.04.1/work/dolphin-21.04.1/src/dolphinpart.cpp:294
#26 0x00007fa58dc74cb8 in DolphinPart::openUrl (this=0x55c970cc5840, url=...) at /var/tmp/portage/kde-apps/dolphin-21.04.1/work/dolphin-21.04.1/src/dolphinpart.cpp:313
#27 0x00007fa5b843d2e6 in KParts::BrowserExtension::restoreState (this=0x55c970b3c710, stream=...) at /var/tmp/portage/kde-frameworks/kparts-5.82.0/work/kparts-5.82.0/src/browserextension.cpp:171
#28 0x00007fa58dc7b331 in DolphinPartBrowserExtension::restoreState (this=0x55c970b3c710, stream=...) at /var/tmp/portage/kde-apps/dolphin-21.04.1/work/dolphin-21.04.1/src/dolphinpart_ext.cpp:21
#29 0x00007fa5b86fb5bc in KonqView::restoreHistory (this=0x55c970c95260) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqview.cpp:838
#30 0x00007fa5b86ff3e1 in KonqViewManager::loadItem (this=this@entry=0x55c9708b7270, cfg=..., parent=0x7fff41772538, name=..., defaultURL=..., openUrl=openUrl@entry=true, forcedUrl=..., forcedService=..., openAfterCurrentPage=false, pos=-1) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqviewmanager.cpp:1183
#31 0x00007fa5b86ff739 in KonqViewManager::loadItem (this=this@entry=0x55c9708b7270, cfg=..., parent=parent@entry=0x55c97086a1a0, name=..., defaultURL=..., openUrl=openUrl@entry=true, forcedUrl=..., forcedService=..., openAfterCurrentPage=false, pos=-1) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqviewmanager.cpp:1272
#32 0x00007fa5b87000af in KonqViewManager::loadRootItem (this=this@entry=0x55c9708b7270, cfg=..., parent=0x55c97086a1a0, defaultURL=..., openUrl=<optimized out>, forcedUrl=..., forcedService=..., openAfterCurrentPage=false, pos=-1) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqviewmanager.cpp:1098
#33 0x00007fa5b8700ce8 in KonqViewManager::loadViewConfigFromGroup (this=this@entry=0x55c9708b7270, profileGroup=..., filename=..., forcedUrl=..., req=..., openUrl=openUrl@entry=true) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqviewmanager.cpp:916
#34 0x00007fa5b8739013 in KonqMainWindow::readProperties (this=0x55c97086a150, configGroup=...) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqmainwindow.cpp:4737
#35 0x00007fa5b7e21dc0 in KMainWindow::readPropertiesInternal (this=this@entry=0x55c97086a150, config=0x55c970872420, number=number@entry=1) at /var/tmp/portage/kde-frameworks/kxmlgui-5.82.0/work/kxmlgui-5.82.0/src/kmainwindow.cpp:680
#36 0x00007fa5b7e21e03 in KMainWindow::restore (this=0x55c97086a150, number=1, show=<optimized out>) at /var/tmp/portage/kde-frameworks/kxmlgui-5.82.0/work/kxmlgui-5.82.0/src/kmainwindow.cpp:486
#37 0x00007fa5b87669c0 in kdemain (argc=<optimized out>, argv=0x7fff41772b80) at /var/tmp/portage/kde-apps/konqueror-21.04.1/work/konqueror-21.04.1/src/konqmain.cpp:276
#38 0x00007fa5b850e7fd in __libc_start_main (main=0x55c9704a8050 <main>, argc=5, argv=0x7fff41772d28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff41772d18) at ../csu/libc-start.c:332
#39 0x000055c9704a808a in _start ()
[Inferior 1 (process 2584) detached]

Reported using DrKonqi
Comment 1 bug2017 2021-06-16 16:21:38 UTC
Created attachment 139393 [details]
New crash information added by DrKonqi

konqueror (21.04.1) using Qt 5.15.2

- What I was doing when the application crashed:
Restoring the session after a reboot.
Same as last time, identical backtrace

-- Backtrace (Reduced):
#6  0x00007f6585d64c99 in KonqView::url (this=0x0) at /var/tmp/portage/kde-apps/konqueror-21.04.1-r1/work/konqueror-21.04.1/src/konqview.cpp:880
#7  0x00007f6585d93d4c in KonqMainWindow::isPreloaded (this=this@entry=0x555a951e2330) at /var/tmp/portage/kde-apps/konqueror-21.04.1-r1/work/konqueror-21.04.1/src/konqmainwindow.cpp:3950
#8  0x00007f6585dc74bf in KonqSessionManager::saveCurrentSessionToFile (this=this@entry=0x555a94da5100, config=0x555a9504ccd0, theMainWindows=...) at /var/tmp/portage/kde-apps/konqueror-21.04.1-r1/work/konqueror-21.04.1/src/konqsessionmanager.cpp:515
#9  0x00007f6585dc76f8 in KonqSessionManager::autoSaveSession (this=0x555a94da5100) at /var/tmp/portage/kde-apps/konqueror-21.04.1-r1/work/konqueror-21.04.1/src/konqsessionmanager.cpp:464
#10 0x00007f6583f8189c in doActivate<false> (sender=0x555a94da5110, signal_index=3, argv=argv@entry=0x7fff6663fdb0) at /var/tmp/portage/dev-qt/qtcore-5.15.2-r2/work/qtbase-everywhere-src-5.15.2/src/corelib/kernel/qobject.cpp:3898
Comment 2 bug2017 2023-01-26 09:58:02 UTC
Created attachment 155660 [details]
New crash information added by DrKonqi

konqueror (22.12.1) using Qt 5.15.8

Same as on initial report: Rebooting the system. After logging in konqueror crashed on restoring the session.

-- Backtrace (Reduced):
#6  0x00007f30df995cd8 in KonqView::url (this=0x0) at /var/tmp/portage/kde-apps/konqueror-22.12.1/work/konqueror-22.12.1/src/konqview.cpp:873
#7  0x00007f30df9d084c in KonqMainWindow::isPreloaded (this=<optimized out>) at /var/tmp/portage/kde-apps/konqueror-22.12.1/work/konqueror-22.12.1/src/konqmainwindow.cpp:3810
#8  0x00007f30df9edd83 in KonqMainWindow::saveGlobalProperties (this=<optimized out>, sessionConfig=0x55a9bb4cc5e0) at /var/tmp/portage/kde-apps/konqueror-22.12.1/work/konqueror-22.12.1/src/konqmainwindow.cpp:5580
#9  0x00007f30df04d2fd in KMWSessionManager::saveState (this=<optimized out>, sm=...) at /var/tmp/portage/kde-frameworks/kxmlgui-5.102.0/work/kxmlgui-5.102.0/src/kmainwindow.cpp:136
#10 0x00007f30dd971c2c in QtPrivate::QSlotObjectBase::call (a=0x7ffea4fa6e70, r=0x7f30df0c5360 <(anonymous namespace)::Q_QGS_ksm::innerFunction()::holder>, this=0x55a9bb549f90) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
Comment 3 Stefano Crocco 2023-01-26 16:01:23 UTC
This looks like bug #463358. I think I found its cause and it should be fixed in the next release (22.12.2); however, I can't be completely sure as I couldn't reproduce it.

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