Environment
- TeXstudio: 4.9.5
- Qt: Qt-Version 6.11.0, compiled with Qt 6.11.0 R
- OS: Windows 11
- TeX distribution: miktex
Crash behavior
Having multiple tabs open (~25) leads to repeatable crashes:
- Right click on an open tab -> close all other documents
- Right click on an open tab ->move all other documents to another view
- closing individual tabs
I was able to close the documents only via File - Close All
backtrace moving to another view:
(TXS-Version 4.9.5 R )
0# print_backtrace(QString const&) at D:/a/texstudio/texstudio/src/debug/debughelper.cpp:1325 [0x7ff67cb3b3b6]
1# Texstudio::recoverFromCrash() at D:/a/texstudio/texstudio/src/texstudio.cpp:11664 [0x7ff67c9bb287]
2# _gnu_exception_handler at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crt_handler.c:217 [0x7ff67cc174a1]
3# register_frame_ctor [0x7ffc947bf932]
4# register_frame_ctor [0x7ffc948047ae]
5# register_frame_ctor [0x7ffc946c21c6]
6# register_frame_ctor [0x7ffc948040ed]
7# QHash<QString, QSet<QString> >::constBegin() const at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qhash.h:1255 [0x7ff67cb42a97]
8# LatexDocument::updateLtxCommands(bool, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:3486 [0x7ff67c85ef6c]
9# LatexDocument::updateCompletionFiles(bool, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:3157 [0x7ff67c85f59a]
10# LatexDocument::handleRescanDocuments(LatexDocument::HandledData) at D:/a/texstudio/texstudio/src/latexdocument.cpp:1245 [0x7ff67c876eb0]
11# LatexDocument::patchStructure(int, int, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:1570 [0x7ff67c878458]
12# register_frame_ctor [0x7ffbecc82799]
13# void QMetaObject::activate<void, int, int>(QObject*, QMetaObject const*, int, void*, int const&, int const&) at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qobjectdefs.h:319 [0x7ff67c6d5405]
14# QDocumentPrivate::emitContentsChange(int, int) at D:/a/texstudio/texstudio/src/qcodeedit/lib/document/qdocument.cpp:8662 [0x7ff67cae5056]
15# Texstudio::currentEditorChanged() at D:/a/texstudio/texstudio/src/texstudio.cpp:1945 [0x7ff67ca09b1f]
16# register_frame_ctor [0x7ffbecc82799]
17# register_frame_ctor [0x7ffbecc82799]
18# EditorChangeProxy::release() at D:/a/texstudio/texstudio/src/editors.cpp:694 [0x7ff67c801b6c]
19# Editors::moveAllOthersToOtherTabGroup() at D:/a/texstudio/texstudio/src/editors.cpp:530 [0x7ff67c803e52]
20# register_frame_ctor [0x7ffbecc82799]
21# register_frame_ctor [0x7ffb63ccbc57]
22# register_frame_ctor [0x7ffb631fad0e]
23# register_frame_ctor [0x7ffb632038eb]
24# register_frame_ctor [0x7ffb63083057]
25# register_frame_ctor [0x7ffb63026823]
26# register_frame_ctor [0x7ffb63031dc5]
27# register_frame_ctor [0x7ffbec928f37]
28# register_frame_ctor [0x7ffb63030361]
29# register_frame_ctor [0x7ffb630934a2]
30# register_frame_ctor [0x7ffb63095a1a]
31# register_frame_ctor [0x7ffb63026823]
32# register_frame_ctor [0x7ffbec928f37]
33# register_frame_ctor [0x7ffb6382b581]
34# register_frame_ctor [0x7ffb638898ba]
35# register_frame_ctor [0x7ffbecb2a359]
36# register_frame_ctor [0x7ffb63c273e8]
37# register_frame_ctor [0x7ffbec935fe2]
38# register_frame_ctor [0x7ffb63200a5b]
39# register_frame_ctor [0x7ffb63200bc2]
40# Editors::tabBarContextMenu(QPoint const&) at D:/a/texstudio/texstudio/src/editors.cpp:447 [0x7ff67c8049bf]
41# register_frame_ctor [0x7ffbecc82799]
42# void QMetaObject::activate<void, QPoint>(QObject*, QMetaObject const*, int, void*, QPoint const&) at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qobjectdefs.h:319 [0x7ff67c6dc51a]
43# register_frame_ctor [0x7ffbecc82799]
44# register_frame_ctor [0x7ffb63084502]
45# register_frame_ctor [0x7ffb63026823]
46# register_frame_ctor [0x7ffb63032d0a]
47# register_frame_ctor [0x7ffbec9289e7]
48# register_frame_ctor [0x7ffb63093ff6]
49# register_frame_ctor [0x7ffb63095b4b]
50# register_frame_ctor [0x7ffb63026823]
51# register_frame_ctor [0x7ffbec9289e7]
52# register_frame_ctor [0x7ffb638862ad]
53# register_frame_ctor [0x7ffb630930c8]
54# register_frame_ctor [0x7ffb63095a1a]
55# register_frame_ctor [0x7ffb63026823]
56# register_frame_ctor [0x7ffbec928f37]
57# register_frame_ctor [0x7ffb6382b581]
58# register_frame_ctor [0x7ffb638898ba]
59# register_frame_ctor [0x7ffbecb2a359]
60# register_frame_ctor [0x7ffb63c273e8]
61# register_frame_ctor [0x7ffbec935fe2]
62# register_frame_ctor [0x7ffbec9333d3]
63# qMain(int, char**) at D:/a/texstudio/texstudio/src/main.cpp:242 [0x7ff67c8d74a5]
64# register_frame_ctor [0x7ff67cc17bf9]
65# __tmainCRTStartup at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260 [0x7ff67c6d10d9]
66# WinMainCRTStartup at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:98 [0x7ff67c6d1435]
67# register_frame_ctor [0x7ffc92eae956]
68# register_frame_ctor [0x7ffc94727c1b]
backtrace close all other documents
(TXS-Version 4.9.5 R )
0# print_backtrace(QString const&) at D:/a/texstudio/texstudio/src/debug/debughelper.cpp:1325 [0x7ff67cb3b3b6]
1# Texstudio::recoverFromCrash() at D:/a/texstudio/texstudio/src/texstudio.cpp:11664 [0x7ff67c9bb287]
2# _gnu_exception_handler at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crt_handler.c:217 [0x7ff67cc174a1]
3# register_frame_ctor [0x7ffc947bf932]
4# register_frame_ctor [0x7ffc948047ae]
5# register_frame_ctor [0x7ffc946c21c6]
6# register_frame_ctor [0x7ffc948040ed]
7# long long QtPrivate::indexOf<LatexDocument*, LatexDocument*>(QList<LatexDocument*> const&, LatexDocument* const&, long long) at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qlist.h:1009 [0x7ff67c8489c3]
8# LatexDocuments::deleteDocument(LatexDocument*, bool, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:2232 [0x7ff67c871749]
9# Texstudio::fileClose() at D:/a/texstudio/texstudio/src/texstudio.cpp:3309 [0x7ff67ca1f306]
10# register_frame_ctor [0x7ffbecc82799]
11# Editors::requestCloseEditor(LatexEditorView*) at D:/a/texstudio/texstudio/src/editors.cpp:164 [0x7ff67c802442]
12# Editors::closeOtherEditorsFromAction() at D:/a/texstudio/texstudio/src/editors.cpp:303 [0x7ff67c802775]
13# register_frame_ctor [0x7ffbecc82799]
14# register_frame_ctor [0x7ffb4e68bc57]
15# register_frame_ctor [0x7ffb5af6ad0e]
16# register_frame_ctor [0x7ffb5af738eb]
17# register_frame_ctor [0x7ffb5adf3057]
18# register_frame_ctor [0x7ffb5ad96823]
19# register_frame_ctor [0x7ffb5ada1dc5]
20# register_frame_ctor [0x7ffbec928f37]
21# register_frame_ctor [0x7ffb5ada0361]
22# register_frame_ctor [0x7ffb5ae034a2]
23# register_frame_ctor [0x7ffb5ae05a1a]
24# register_frame_ctor [0x7ffb5ad96823]
25# register_frame_ctor [0x7ffbec928f37]
26# register_frame_ctor [0x7ffb4e1eb581]
27# register_frame_ctor [0x7ffb4e2498ba]
28# register_frame_ctor [0x7ffbecb2a359]
29# register_frame_ctor [0x7ffb4e5e73e8]
30# register_frame_ctor [0x7ffbec935fe2]
31# register_frame_ctor [0x7ffb5af70a5b]
32# register_frame_ctor [0x7ffb5af70bc2]
33# Editors::tabBarContextMenu(QPoint const&) at D:/a/texstudio/texstudio/src/editors.cpp:447 [0x7ff67c8049bf]
34# register_frame_ctor [0x7ffbecc82799]
35# void QMetaObject::activate<void, QPoint>(QObject*, QMetaObject const*, int, void*, QPoint const&) at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qobjectdefs.h:319 [0x7ff67c6dc51a]
36# register_frame_ctor [0x7ffbecc82799]
37# register_frame_ctor [0x7ffb5adf4502]
38# register_frame_ctor [0x7ffb5ad96823]
39# register_frame_ctor [0x7ffb5ada2d0a]
40# register_frame_ctor [0x7ffbec9289e7]
41# register_frame_ctor [0x7ffb5ae03ff6]
42# register_frame_ctor [0x7ffb5ae05b4b]
43# register_frame_ctor [0x7ffb5ad96823]
44# register_frame_ctor [0x7ffbec9289e7]
45# register_frame_ctor [0x7ffb4e2462ad]
46# register_frame_ctor [0x7ffb5ae030c8]
47# register_frame_ctor [0x7ffb5ae05a1a]
48# register_frame_ctor [0x7ffb5ad96823]
49# register_frame_ctor [0x7ffbec928f37]
50# register_frame_ctor [0x7ffb4e1eb581]
51# register_frame_ctor [0x7ffb4e2498ba]
52# register_frame_ctor [0x7ffbecb2a359]
53# register_frame_ctor [0x7ffb4e5e73e8]
54# register_frame_ctor [0x7ffbec935fe2]
55# register_frame_ctor [0x7ffbec9333d3]
56# qMain(int, char**) at D:/a/texstudio/texstudio/src/main.cpp:242 [0x7ff67c8d74a5]
57# register_frame_ctor [0x7ff67cc17bf9]
58# __tmainCRTStartup at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260 [0x7ff67c6d10d9]
59# WinMainCRTStartup at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:98 [0x7ff67c6d1435]
60# register_frame_ctor [0x7ffc92eae956]
61# register_frame_ctor [0x7ffc94727c1b]
backtrace closing individual tabs
` (TXS-Version 4.9.5 R )
0# print_backtrace(QString const&) at D:/a/texstudio/texstudio/src/debug/debughelper.cpp:1325 [0x7ff67cb3b3b6]
1# Texstudio::recoverFromCrash() at D:/a/texstudio/texstudio/src/texstudio.cpp:11664 [0x7ff67c9bb287]
2# _gnu_exception_handler at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crt_handler.c:217 [0x7ff67cc174a1]
3# register_frame_ctor [0x7ffc947bf932]
4# register_frame_ctor [0x7ffc948047ae]
5# register_frame_ctor [0x7ffc946c21c6]
6# register_frame_ctor [0x7ffc948040ed]
7# QMap<QString, QString>::value(QString const&, QString const&) const at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qmap.h:369 [0x7ff67c88a235]
8# LatexDocument::setLtxCommands(QSharedPointer<LatexParser>) at D:/a/texstudio/texstudio/src/latexdocument.cpp:3520 [0x7ff67c84968e]
9# LatexDocument::updateLtxCommands(bool, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:3489 [0x7ff67c85f01d]
10# LatexDocument::updateCompletionFiles(bool, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:3157 [0x7ff67c85f59a]
11# LatexDocument::handleRescanDocuments(LatexDocument::HandledData) at D:/a/texstudio/texstudio/src/latexdocument.cpp:1245 [0x7ff67c876eb0]
12# LatexDocument::patchStructure(int, int, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:1570 [0x7ff67c878458]
13# register_frame_ctor [0x7ffbedbb2799]
14# void QMetaObject::activate<void, int, int>(QObject*, QMetaObject const*, int, void*, int const&, int const&) at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qobjectdefs.h:319 [0x7ff67c6d5405]
15# QDocumentPrivate::emitContentsChange(int, int) at D:/a/texstudio/texstudio/src/qcodeedit/lib/document/qdocument.cpp:8662 [0x7ff67cae5056]
16# Texstudio::currentEditorChanged() at D:/a/texstudio/texstudio/src/texstudio.cpp:1945 [0x7ff67ca09b1f]
17# register_frame_ctor [0x7ffbedbb2799]
18# register_frame_ctor [0x7ffbedbb2799]
19# EditorChangeProxy::release() at D:/a/texstudio/texstudio/src/editors.cpp:694 [0x7ff67c801b6c]
20# Texstudio::aboutToDeleteDocument(LatexDocument*) at D:/a/texstudio/texstudio/src/texstudio.cpp:8392 [0x7ff67c9a010e]
21# register_frame_ctor [0x7ffbedbb2799]
22# void QMetaObject::activate<void, LatexDocument*>(QObject*, QMetaObject const*, int, void*, LatexDocument* const&) at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qobjectdefs.h:319 [0x7ff67c6d5017]
23# LatexDocuments::deleteDocument(LatexDocument*, bool, bool) at D:/a/texstudio/texstudio/src/latexdocument.cpp:2185 [0x7ff67c871b1a]
24# Texstudio::fileClose() at D:/a/texstudio/texstudio/src/texstudio.cpp:3309 [0x7ff67ca1f306]
25# register_frame_ctor [0x7ffbedbb2799]
26# Editors::requestCloseEditor(LatexEditorView*) at D:/a/texstudio/texstudio/src/editors.cpp:164 [0x7ff67c802442]
27# register_frame_ctor [0x7ffbedbb2799]
28# void QMetaObject::activate<void, LatexEditorView*>(QObject*, QMetaObject const*, int, void*, LatexEditorView* const&) at D:/a/_temp/msys64/ucrt64/include/qt6/QtCore/qobjectdefs.h:319 [0x7ff67c6d50d7]
29# register_frame_ctor [0x7ffbedbb2799]
30# register_frame_ctor [0x7ffb65b7555b]
31# register_frame_ctor [0x7ffbedbb2799]
32# register_frame_ctor [0x7ffb65b4bcf5]
33# register_frame_ctor [0x7ffbedbb281a]
34# register_frame_ctor [0x7ffb65a59d85]
35# register_frame_ctor [0x7ffb65a5b856]
36# register_frame_ctor [0x7ffb65a5baa8]
37# register_frame_ctor [0x7ffb65993057]
38# register_frame_ctor [0x7ffb65936823]
39# register_frame_ctor [0x7ffb65941dc5]
40# register_frame_ctor [0x7ffbed858f37]
41# register_frame_ctor [0x7ffb65940361]
42# register_frame_ctor [0x7ffb659a307c]
43# register_frame_ctor [0x7ffb659a5a1a]
44# register_frame_ctor [0x7ffb65936823]
45# register_frame_ctor [0x7ffbed858f37]
46# register_frame_ctor [0x7ffbec60b581]
47# register_frame_ctor [0x7ffbec6698ba]
48# register_frame_ctor [0x7ffbeda5a359]
49# register_frame_ctor [0x7ffbeca073e8]
50# register_frame_ctor [0x7ffbed865fe2]
51# register_frame_ctor [0x7ffbed8633d3]
52# qMain(int, char**) at D:/a/texstudio/texstudio/src/main.cpp:242 [0x7ff67c8d74a5]
53# register_frame_ctor [0x7ff67cc17bf9]
54# __tmainCRTStartup at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:260 [0x7ff67c6d10d9]
55# WinMainCRTStartup at D:/W/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:98 [0x7ff67c6d1435]
56# register_frame_ctor [0x7ffc92eae956]
57# register_frame_ctor [0x7ffc94727c1b]