You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use grantlee to generate user configureable filenames where the user sets the pattern in a qtextedit.
While testing we noticed that the pattern '{{ }}' crashes the engine, while '{{}}' does not. It must contain at least one space for the crash to occure.
--Type <RET> for more, q to quit, c to continue without paging--
Thread 1 ".mixxx-wrapped" received signal SIGSEGV, Segmentation fault.
0x00007ffff7ec9c16 in Grantlee::Parser::takeNextToken() () from /nix/store/360v6zacms0cdxyq0wxjkjjrsli20q4m-grantlee-5.2.0/lib/libGrantlee_Templates.so.5
(gdb) bt
#0 0x00007ffff7ec9c16 in Grantlee::Parser::takeNextToken() () from /nix/store/360v6zacms0cdxyq0wxjkjjrsli20q4m-grantlee-5.2.0/lib/libGrantlee_Templates.so.5
#1 0x00007ffff7eca442 in Grantlee::ParserPrivate::parse(QObject*, QStringList const&) () from /nix/store/360v6zacms0cdxyq0wxjkjjrsli20q4m-grantlee-5.2.0/lib/libGrantlee_Templates.so.5
#2 0x00007ffff7ecab82 in Grantlee::Parser::parse(Grantlee::TemplateImpl*, QStringList const&) () from /nix/store/360v6zacms0cdxyq0wxjkjjrsli20q4m-grantlee-5.2.0/lib/libGrantlee_Templates.so.5
#3 0x00007ffff7ed2fc1 in Grantlee::TemplatePrivate::compileString(QString const&) () from /nix/store/360v6zacms0cdxyq0wxjkjjrsli20q4m-grantlee-5.2.0/lib/libGrantlee_Templates.so.5
#4 0x00007ffff7ed31c7 in Grantlee::TemplateImpl::setContent(QString const&) () from /nix/store/360v6zacms0cdxyq0wxjkjjrsli20q4m-grantlee-5.2.0/lib/libGrantlee_Templates.so.5
#5 0x00007ffff7eb6693 in Grantlee::Engine::newTemplate(QString const&, QString const&) const () from /nix/store/360v6zacms0cdxyq0wxjkjjrsli20q4m-grantlee-5.2.0/lib/libGrantlee_Templates.so.5
#6 0x0000000000b5c8b9 in TrackExportWorker::updateTemplate (this=0x7ffe934eb880) at /home/poelzi/Projects/mixxx-export/src/library/export/trackexportworker.cpp:139
#7 0x0000000000b58103 in TrackExportDlg::updatePreview (this=0x7ffe934e41d0) at /home/poelzi/Projects/mixxx-export/src/library/export/trackexportdlg.cpp:222
#8 0x00007ffff55b8f7e in ?? () from /nix/store/nwgzcffcjscw62lrfbijkcjbbay6647i-qtbase-5.15.2/lib/libQt5Core.so.5
#9 0x00007ffff6fee092 in QLineEdit::textChanged(QString const&) () from /nix/store/nwgzcffcjscw62lrfbijkcjbbay6647i-qtbase-5.15.2/lib/libQt5Widgets.so.5
#10 0x00007ffff6ff485b in ?? () from /nix/store/nwgzcffcjscw62lrfbijkcjbbay6647i-qtbase-5.15.2/lib/libQt5Widgets.so.5
#11 0x00007ffff55b8fb0 in ?? () from /nix/store/nwgzcffcjscw62lrfbijkcjbbay6647i-qtbase-5.15.2/lib/libQt5Core.so.5
The text was updated successfully, but these errors were encountered:
We use grantlee to generate user configureable filenames where the user sets the pattern in a qtextedit.
While testing we noticed that the pattern '{{ }}' crashes the engine, while '{{}}' does not. It must contain at least one space for the crash to occure.
The text was updated successfully, but these errors were encountered: