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.