Bug 502282 - segfault in Session restore
Summary: segfault in Session restore
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: session restore (other bugs)
Version First Reported In: 24.02.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Raphael Rosch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-01 14:11 UTC by Raphael Rosch
Modified: 2025-04-01 14:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Rosch 2025-04-01 14:11:17 UTC
It seems some conditions (that I have not been able to track down) cause the session restore file to store corrupted data that when restoring the session causes a crash (with segfault) when opening a given view. This has happened to me a few times in the past, and if I remember correctly, just removing the `HistoryItemViewTX_XBuffer=` content allowed restoring the session, and refreshing the view (or going back in the history) repaired the next save of the file.

Last version where I had this problem is: konqueror-23.08.5-1, x86_64 on fc39.
  kf5-kio-core-libs version is 5.116.

I'm working on the session restore code, so I'm filing this bug to track this issue in case it continues after my changes are done.