Changing the master document setting (Options → Root Document → Automatically detect) causes the software to crash: “TeXstudio has stopped unexpectedly due to: SIGSEGV.”
(sorry if the names are wrong, I work with TexStudio in French : options -> document maître -> détecter automatiquement)
Environment
- TeXstudio: 4.9.4
- Qt: 6.4.2
- OS: Ubuntu 24.04.4 LTS
- TeX distribution: texlive 2025
Expected behavior
Easy change of master document :)
Actual behavior
Crash : “TeXstudio has stopped unexpectedly due to: SIGSEGV.”
How to reproduce
Just change master document with mouse.
Here is backtrace produced by TS :
SIGSEGV (TXS-Version 0.0.0++ R )
[bt] /usr/bin/texstudio(+0x45306c) [0x5fe6f5c1306c]
[bt] /usr/bin/texstudio(+0x2e52dd) [0x5fe6f5aa52dd]
[bt] /lib/x86_64-linux-gnu/libQt6Core.so.6(+0x18413f) [0x75177b98413f]
[bt] /lib/x86_64-linux-gnu/libQt6Gui.so.6(_ZN7QAction9triggeredEb+0x44) [0x75177c254f44]
[bt] /lib/x86_64-linux-gnu/libQt6Gui.so.6(_ZN7QAction8activateENS_11ActionEventE+0x129) [0x75177c25a299]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(+0x33b58a) [0x75177c93b58a]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(+0x33bd6a) [0x75177c93bd6a]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(_ZN7QWidget5eventEP6QEvent+0x89f) [0x75177c7d484f]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x90) [0x75177c78b3b0]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xef7) [0x75177c7842c7]
[bt] /lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x75177b938448]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb+0x38e) [0x75177c780d7e]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(+0x1e30ec) [0x75177c7e30ec]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(+0x1e3e75) [0x75177c7e3e75]
[bt] /lib/x86_64-linux-gnu/libQt6Widgets.so.6(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x90) [0x75177c78b3b0]
[bt] /lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x128) [0x75177b938448]
[bt] /lib/x86_64-linux-gnu/libQt6Gui.so.6(_ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE+0x897) [0x75177bf96de7]
[bt] /lib/x86_64-linux-gnu/libQt6Gui.so.6(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xac) [0x75177bfe15cc]
[bt] /lib/x86_64-linux-gnu/libQt6Gui.so.6(+0x5152b4) [0x75177c3152b4]
[bt] /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x5d585) [0x75177b314585]
[bt] /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xbc977) [0x75177b373977]
[bt] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x33) [0x75177b313a23]
[bt] /lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6f) [0x75177bb315ef]
[bt] /lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x2e3) [0x75177b9429a3]
[bt] /lib/x86_64-linux-gnu/libQt6Core.so.6(_ZN16QCoreApplication4execEv+0x9e) [0x75177b93b35e]
[bt] /usr/bin/texstudio(+0x143532) [0x5fe6f5903532]
[bt] /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x75177b02a1ca]
[bt] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x75177b02a28b]