Crashes when restoring sessions is enabled

Author: oleuaCreated Sep 26, 2026Updated Sep 26, 2026

Operating System and Version

Pop_OS 22.04

Distribution

installer

Description

After the update to 0.15.1 I have started to experience constant crashes after enabling restoring sessions option in the menu.

Steps to Reproduce

  1. Enable session restoring
  2. Add some data
  3. Do not save it
  4. Close the app
  5. Open the app and see the crash

Debug Information

The backtrace is the following:

[New Thread 0x7fffe8c75640 (LWP 38416)]
[     0.536] I: void TranslationManager::loadTranslation(QLocale)
[     0.536] I: Loaded translation ":/i18n/NotepadNext_uk.qm"
[     0.536] I: LuaState::LuaState()
[     0.544] I: MacroManager::MacroManager(QObject*)
[     0.544] I: void MacroManager::loadSettings()
[     0.544] I: MainWindow::MainWindow(NotepadNextApplication*)
[     0.592] I: setupUi Completed
[New Thread 0x7fffc7fff640 (LWP 38417)]
[     0.689] I: FileListDock::FileListDock(MainWindow*)
[     0.690] I: void MainWindow::setupLanguageMenu()
[     0.692] I: void MainWindow::applyStyleSheet()
[     0.692] I: Loading stylesheet: ":/stylesheets/npp.css"
[     0.707] I: void MainWindow::restoreSettings()
[     0.707] I: Restoring previous session
[     0.707] I: void SessionManager::loadSession(MainWindow*)
[     0.708] I: ScintillaNext* SessionManager::loadTempFile(QSettings&)
[     0.708] D: Session temp file: "/home/myusername/.local/share/NotepadNext/NotepadNext/session/6573007f-c0bb-460e-ae70-fe7e000a5605"
[     0.708] D: Read 9 bytes

Thread 1 "NotepadNext" received signal SIGSEGV, Segmentation fault.
0x0000555555631821 in ?? ()
(gdb) backtrace
#0  0x0000555555631821 in  ()
#1  0x0000555555637a60 in  ()
#2  0x00005555555fd4c8 in  ()
#3  0x00007ffff5e29d90 in __libc_start_call_main (main=main@entry=0x5555555fafc0, argc=argc@entry=1, argv=argv@entry=0x7fffffffdfc8)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#4  0x00007ffff5e29e40 in __libc_start_main_impl
     (main=0x5555555fafc0, argc=1, argv=0x7fffffffdfc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfb8)
    at ../csu/libc-start.c:392
#5  0x0000555555608235 in  ()

Debug info:

Notepad Next v0.15.1 
Build Date/Time: Sep 22 2026 16:00:00
Qt: 6.2.4
OS: Pop!_OS 22.04 LTS
Locale: uk_UA
CPU: x86_64
File Path: /usr/bin/NotepadNext
Arguments: /usr/bin/NotepadNext
Config File: /home/myusername/.config/NotepadNext/NotepadNext.ini

Additional Details

e.g. screenshots, logs, etc