Hello, I tried to reproduce this inside a minimal stable/bookworm VM and received a qmlcachegen crash.
See attached file for details. The resulting backtrace is quite similar to that found in: https://bugreports.qt.io/browse/QTBUG-117361 Might avoid the crash, but cannot say if this would make the build succeed. Kind regards, Bernhard
# 2024-04-02 stable/bookworm amd64 qemu VM apt install systemd-coredump gdb libqt6qmlcompiler6-dbgsym apt build-dep qt6-virtualkeyboard mkdir /home/benutzer/source/qt6-virtualkeyboard/orig -p cd /home/benutzer/source/qt6-virtualkeyboard/orig apt source qt6-virtualkeyboard cd /home/benutzer/source/qt6-virtualkeyboard cp orig try1 -a cd try1/qt6-virtualkeyboard-6.4.2+dfsg DEB_BUILD_OPTIONS=parallel=1 dpkg-buildpackage ... [110/301] cd /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components && /usr/bin/cmake -E make_directory /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmlcache && /usr/lib/qt6/libexec/qmlcachegen --bare --resource-path /qt-project.org/imports/QtQuick/VirtualKeyboard/Components/Keyboard.qml -I /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu/qt6/qml -I /usr/lib/x86_64-linux-gnu/qt6/qml -i /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu/qt6/qml/QtQuick/VirtualKeyboard/Components/qmldir --resource /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmake_QtQuick_VirtualKeyboard_Components.qrc --resource /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qtvkbcomponentsplugin_raw_qml_0.qrc -o /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmlcache/qtvkbcomponentsplugin_Keyboard_qml.cpp /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/src/components/Keyboard.qml FAILED: src/components/.rcc/qmlcache/qtvkbcomponentsplugin_Keyboard_qml.cpp /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmlcache/qtvkbcomponentsplugin_Keyboard_qml.cpp cd /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components && /usr/bin/cmake -E make_directory /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmlcache && /usr/lib/qt6/libexec/qmlcachegen --bare --resource-path /qt-project.org/imports/QtQuick/VirtualKeyboard/Components/Keyboard.qml -I /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu/qt6/qml -I /usr/lib/x86_64-linux-gnu/qt6/qml -i /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu/qt6/qml/QtQuick/VirtualKeyboard/Components/qmldir --resource /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmake_QtQuick_VirtualKeyboard_Components.qrc --resource /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qtvkbcomponentsplugin_raw_qml_0.qrc -o /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmlcache/qtvkbcomponentsplugin_Keyboard_qml.cpp /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/src/components/Keyboard.qml Segmentation fault (core dumped) ninja: build stopped: subcommand failed. dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v returned exit code 1 make: *** [debian/rules:8: binary] Fehler 1 dpkg-buildpackage: Fehler: Unterprozess debian/rules binary lieferte Exitstatus 2 benutzer@debian:~/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg$ dmesg [ 431.390156] qmlcachegen[5680]: segfault at 0 ip 00007fde080d0672 sp 00007ffe33185b60 error 4 in libQt6QmlCompiler.so.6.4.2[7fde0804d000+106000] likely on CPU 5 (core 5, socket 0) [ 431.390173] Code: 64 cd f7 ff 0f 1f 40 00 41 57 41 56 41 55 41 54 55 48 89 fd 53 48 89 f3 48 83 ec 28 64 48 8b 04 25 28 00 00 00 48 89 44 24 18 <48> 8b 06 48 c7 06 00 00 00 00 4c 8b 27 48 89 07 4d 85 e4 74 10 4c journalctl -e Apr 02 22:45:36 debian systemd-coredump[5682]: [🡕] Process 5680 (qmlcachegen) of user 1000 dumped core. Stack trace of thread 5680: #0 0x00007fde080d0672 n/a (libQt6QmlCompiler.so.6 + 0xa8672) #1 0x00007fde0811b767 _ZNK18QQmlJSTypeResolver17adjustTrackedTypeERK22QDeferredSharedPointerIK11QQmlJSScopeERK5QListIS3_E (libQt6QmlCompiler.so.6 + 0xf3767) #2 0x00007fde08055fdd _ZN17QQmlJSBasicBlocks11adjustTypesEv (libQt6QmlCompiler.so.6 + 0x2dfdd) #3 0x00007fde0805a800 _ZN17QQmlJSBasicBlocks3runEPKN17QQmlJSCompilePass8FunctionERK8QFlatMapIiNS0_21InstructionAnnotationESt4lessIiE5QListIiES8_IS5_EE (libQt6QmlCompiler.so> #4 0x00007fde08093e02 _ZN17QQmlJSAotCompiler9doCompileEPKN3QV48Compiler7ContextEPN17QQmlJSCompilePass8FunctionEPN6QQmlJS17DiagnosticMessageE (libQt6QmlCompiler.so.6 + 0x6be> #5 0x00007fde08094390 _ZN17QQmlJSAotCompiler14compileBindingEPKN3QV48Compiler7ContextERKN5QmlIR7BindingE (libQt6QmlCompiler.so.6 + 0x6c390) #6 0x00007fde08092918 _Z15qCompileQmlFileRN5QmlIR8DocumentERK7QStringSt8functionIFbRKN3QV412CompiledData19SaveableUnitPointerERK4QMapIi17QQmlJSAotFunctionEPS2_EEP17QQmlJSAo> #7 0x00007fde0809347d _Z15qCompileQmlFileRK7QStringSt8functionIFbRKN3QV412CompiledData19SaveableUnitPointerERK4QMapIi17QQmlJSAotFunctionEPS_EEP17QQmlJSAotCompilerP18QQmlJSC> #8 0x000055c2a05f6a8c n/a (qmlcachegen + 0x4a8c) #9 0x00007fde0724624a n/a (libc.so.6 + 0x2724a) #10 0x00007fde07246305 __libc_start_main (libc.so.6 + 0x27305) #11 0x000055c2a05f7d51 n/a (qmlcachegen + 0x5d51) ELF object binary architecture: AMD x86-64 . benutzer@debian:~$ coredumpctl --q list TIME PID UID GID SIG COREFILE EXE SIZE Tue 2024-04-02 22:45:36 CEST 5680 1000 1000 SIGSEGV present /usr/lib/qt6/libexec/qmlcachegen 1.3M benutzer@debian:~$ benutzer@debian:~$ coredumpctl gdb --debugger-arguments=-q 5680 Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. PID: 5680 (qmlcachegen) UID: 1000 (benutzer) GID: 1000 (benutzer) Signal: 11 (SEGV) Timestamp: Tue 2024-04-02 22:45:36 CEST (3min 35s ago) Command Line: /usr/lib/qt6/libexec/qmlcachegen --bare --resource-path /qt-project.org/imports/QtQuick/VirtualKeyboard/Components/Keyboard.qml -I /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu/qt6/qml -I /usr/lib/x86_64-linux-gnu/qt6/qml -i /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/lib/x86_64-linux-gnu/qt6/qml/QtQuick/VirtualKeyboard/Components/qmldir --resource /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmake_QtQuick_VirtualKeyboard_Components.qrc --resource /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qtvkbcomponentsplugin_raw_qml_0.qrc -o /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/obj-x86_64-linux-gnu/src/components/.rcc/qmlcache/qtvkbcomponentsplugin_Keyboard_qml.cpp /home/benutzer/source/qt6-virtualkeyboard/try1/qt6-virtualkeyboard-6.4.2+dfsg/src/components/Keyboard.qml Executable: /usr/lib/qt6/libexec/qmlcachegen Control Group: /user.slice/user-1000.slice/session-3.scope Unit: session-3.scope Slice: user-1000.slice Session: 3 Owner UID: 1000 (benutzer) Boot ID: 384c1fc0809d4fcab1783888f8b8a65e Machine ID: 55a5ad9df1d547f38d7696343d9fde7d Hostname: debian Storage: /var/lib/systemd/coredump/core.qmlcachegen.1000.384c1fc0809d4fcab1783888f8b8a65e.5680.1712090736000000.zst (present) Size on Disk: 1.3M Message: Process 5680 (qmlcachegen) of user 1000 dumped core. Stack trace of thread 5680: #0 0x00007fde080d0672 n/a (libQt6QmlCompiler.so.6 + 0xa8672) #1 0x00007fde0811b767 _ZNK18QQmlJSTypeResolver17adjustTrackedTypeERK22QDeferredSharedPointerIK11QQmlJSScopeERK5QListIS3_E (libQt6QmlCompiler.so.6 + 0xf3767) #2 0x00007fde08055fdd _ZN17QQmlJSBasicBlocks11adjustTypesEv (libQt6QmlCompiler.so.6 + 0x2dfdd) #3 0x00007fde0805a800 _ZN17QQmlJSBasicBlocks3runEPKN17QQmlJSCompilePass8FunctionERK8QFlatMapIiNS0_21InstructionAnnotationESt4lessIiE5QListIiES8_IS5_EE (libQt6QmlCompiler.so.6 + 0x32800) #4 0x00007fde08093e02 _ZN17QQmlJSAotCompiler9doCompileEPKN3QV48Compiler7ContextEPN17QQmlJSCompilePass8FunctionEPN6QQmlJS17DiagnosticMessageE (libQt6QmlCompiler.so.6 + 0x6be02) #5 0x00007fde08094390 _ZN17QQmlJSAotCompiler14compileBindingEPKN3QV48Compiler7ContextERKN5QmlIR7BindingE (libQt6QmlCompiler.so.6 + 0x6c390) #6 0x00007fde08092918 _Z15qCompileQmlFileRN5QmlIR8DocumentERK7QStringSt8functionIFbRKN3QV412CompiledData19SaveableUnitPointerERK4QMapIi17QQmlJSAotFunctionEPS2_EEP17QQmlJSAotCompilerP18QQmlJSCompileErrorbPNS6_8Compiler23CodegenWarningInterfaceEPS3_ (libQt6QmlCompiler.so.6 + 0x6a918) #7 0x00007fde0809347d _Z15qCompileQmlFileRK7QStringSt8functionIFbRKN3QV412CompiledData19SaveableUnitPointerERK4QMapIi17QQmlJSAotFunctionEPS_EEP17QQmlJSAotCompilerP18QQmlJSCompileErrorbPNS3_8Compiler23CodegenWarningInterfaceEPS0_ (libQt6QmlCompiler.so.6 + 0x6b47d) #8 0x000055c2a05f6a8c n/a (qmlcachegen + 0x4a8c) #9 0x00007fde0724624a n/a (libc.so.6 + 0x2724a) #10 0x00007fde07246305 __libc_start_main (libc.so.6 + 0x27305) #11 0x000055c2a05f7d51 n/a (qmlcachegen + 0x5d51) ELF object binary architecture: AMD x86-64 Reading symbols from /usr/lib/qt6/libexec/qmlcachegen... (No debugging symbols found in /usr/lib/qt6/libexec/qmlcachegen) [New LWP 5680] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/lib/qt6/libexec/qmlcachegen --bare --resource-path /qt-project.org/imports'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fde080d0672 in ?? () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 (gdb) set width 0 (gdb) set pagination off (gdb) bt #0 0x00007fde080d0672 in ?? () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #1 0x00007fde0811b767 in QQmlJSTypeResolver::adjustTrackedType(QDeferredSharedPointer<QQmlJSScope const> const&, QList<QDeferredSharedPointer<QQmlJSScope const> > const&) const () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #2 0x00007fde08055fdd in QQmlJSBasicBlocks::adjustTypes() () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #3 0x00007fde0805a800 in QQmlJSBasicBlocks::run(QQmlJSCompilePass::Function const*, QFlatMap<int, QQmlJSCompilePass::InstructionAnnotation, std::less<int>, QList<int>, QList<QQmlJSCompilePass::InstructionAnnotation> > const&) () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #4 0x00007fde08093e02 in QQmlJSAotCompiler::doCompile(QV4::Compiler::Context const*, QQmlJSCompilePass::Function*, QQmlJS::DiagnosticMessage*) () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #5 0x00007fde08094390 in QQmlJSAotCompiler::compileBinding(QV4::Compiler::Context const*, QmlIR::Binding const&) () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #6 0x00007fde08092918 in qCompileQmlFile(QmlIR::Document&, QString const&, std::function<bool (QV4::CompiledData::SaveableUnitPointer const&, QMap<int, QQmlJSAotFunction> const&, QString*)>, QQmlJSAotCompiler*, QQmlJSCompileError*, bool, QV4::Compiler::CodegenWarningInterface*, QString const*) () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #7 0x00007fde0809347d in qCompileQmlFile(QString const&, std::function<bool (QV4::CompiledData::SaveableUnitPointer const&, QMap<int, QQmlJSAotFunction> const&, QString*)>, QQmlJSAotCompiler*, QQmlJSCompileError*, bool, QV4::Compiler::CodegenWarningInterface*, QString const*) () from /lib/x86_64-linux-gnu/libQt6QmlCompiler.so.6 #8 0x000055c2a05f6a8c in ?? () #9 0x00007fde0724624a in __libc_start_call_main (main=main@entry=0x55c2a05f5560, argc=argc@entry=17, argv=argv@entry=0x7ffe33188488) at ../sysdeps/nptl/libc_start_call_main.h:58 #10 0x00007fde07246305 in __libc_start_main_impl (main=0x55c2a05f5560, argc=17, argv=0x7ffe33188488, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe33188478) at ../csu/libc-start.c:360 #11 0x000055c2a05f7d51 in ?? () (gdb) Core was generated by `/usr/lib/qt6/libexec/qmlcachegen --bare --resource-path /qt-project.org/imports'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fde080d0672 in std::__exchange<QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*, decltype(nullptr)>(QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*&, decltype(nullptr)&&) (__new_val=<optimized out>, __obj=<optimized out>) at /usr/include/c++/12/bits/move.h:159 159 _Tp __old_val = std::move(__obj); (gdb) set width 0 (gdb) set pagination off (gdb) bt #0 0x00007fde080d0672 in std::__exchange<QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*, decltype(nullptr)>(QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*&, decltype(nullptr)&&) (__new_val=<optimized out>, __obj=<optimized out>) at /usr/include/c++/12/bits/move.h:159 #1 std::exchange<QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*, decltype(nullptr)>(QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*&, decltype(nullptr)&&) (__new_val=<optimized out>, __obj=<optimized out>) at /usr/include/c++/12/utility:96 #2 QHash<QString, QQmlJSScope::JavaScriptIdentifier>::QHash (other=..., this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qhash.h:866 #3 QHash<QString, QQmlJSScope::JavaScriptIdentifier>::operator= (other=..., this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qhash.h:869 #4 QQmlJSScope::operator= (this=0x55c2a22fff40) at ./src/qmlcompiler/qqmljsscope_p.h:41 #5 0x00007fde0811b767 in QQmlJSTypeResolver::adjustTrackedType (conversions=..., tracked=..., this=0x7ffe33187e68) at ./src/qmlcompiler/qqmljstyperesolver.cpp:509 #6 QQmlJSTypeResolver::adjustTrackedType (this=0x7ffe33187e68, tracked=..., conversions=...) at ./src/qmlcompiler/qqmljstyperesolver.cpp:492 #7 0x00007fde08055fdd in QQmlJSBasicBlocks::adjustTypes (this=this@entry=0x7ffe33186620) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qarraydatapointer.h:104 #8 0x00007fde0805a800 in QQmlJSBasicBlocks::run (this=<optimized out>, function=<optimized out>, annotations=...) at ./src/qmlcompiler/qqmljsbasicblocks.cpp:85 #9 0x00007fde08093e02 in QQmlJSAotCompiler::doCompile (this=this@entry=0x7ffe33187e60, context=context@entry=0x55c2a22eeb30, function=function@entry=0x7ffe33187100, error=error@entry=0x7ffe33186ff0) at ./src/qmlcompiler/qqmljscompiler.cpp:753 #10 0x00007fde08094390 in QQmlJSAotCompiler::compileBinding (this=0x7ffe33187e60, context=0x55c2a22eeb30, irBinding=...) at ./src/qmlcompiler/qqmljscompiler.cpp:679 #11 0x00007fde08092918 in operator() (bindingOrFunction=..., __closure=<synthetic pointer>) at ./src/qmlcompiler/qqmljscompiler.cpp:301 #12 std::for_each<__gnu_cxx::__normal_iterator<BindingOrFunction*, std::vector<BindingOrFunction> >, qCompileQmlFile(QmlIR::Document&, const QString&, QQmlJSSaveFunction, QQmlJSAotCompiler*, QQmlJSCompileError*, bool, QV4::Compiler::CodegenWarningInterface*, const QString*)::<lambda(const BindingOrFunction&)> > (__f=..., __last=..., __first=...) at /usr/include/c++/12/bits/stl_algo.h:3787 #13 qCompileQmlFile(QmlIR::Document&, QString const&, std::function<bool (QV4::CompiledData::SaveableUnitPointer const&, QMap<int, QQmlJSAotFunction> const&, QString*)>, QQmlJSAotCompiler*, QQmlJSCompileError*, bool, QV4::Compiler::CodegenWarningInterface*, QString const*) (irDocument=..., inputFileName=..., saveFunction=..., aotCompiler=aotCompiler@entry=0x7ffe33187e60, error=error@entry=0x7ffe33187cb0, storeSourceLocation=<optimized out>, interface=<optimized out>, fileContents=<optimized out>) at ./src/qmlcompiler/qqmljscompiler.cpp:269 #14 0x00007fde0809347d in qCompileQmlFile(QString const&, std::function<bool (QV4::CompiledData::SaveableUnitPointer const&, QMap<int, QQmlJSAotFunction> const&, QString*)>, QQmlJSAotCompiler*, QQmlJSCompileError*, bool, QV4::Compiler::CodegenWarningInterface*, QString const*) (inputFileName=..., saveFunction=..., aotCompiler=0x7ffe33187e60, error=0x7ffe33187cb0, storeSourceLocation=<optimized out>, interface=0x55c2a05ff010, fileContents=0x0) at ./src/qmlcompiler/qqmljscompiler.cpp:186 #15 0x000055c2a05f6a8c in ?? () #16 0x00007fde0724624a in __libc_start_call_main (main=main@entry=0x55c2a05f5560, argc=argc@entry=17, argv=argv@entry=0x7ffe33188488) at ../sysdeps/nptl/libc_start_call_main.h:58 #17 0x00007fde07246305 in __libc_start_main_impl (main=0x55c2a05f5560, argc=17, argv=0x7ffe33188488, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe33188478) at ../csu/libc-start.c:360 #18 0x000055c2a05f7d51 in ?? () (gdb) (gdb) display/i $pc 1: x/i $pc => 0x7fde080d0672 <_ZN11QQmlJSScopeaSEOS_+34>: mov (%rsi),%rax (gdb) print/x $rsi $1 = 0x0 (gdb) info local __old_val = <optimized out> (gdb) up #1 std::exchange<QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*, decltype(nullptr)>(QHashPrivate::Data<QHashPrivate::Node<QString, QQmlJSScope::JavaScriptIdentifier> >*&, decltype(nullptr)&&) (__new_val=<optimized out>, __obj=<optimized out>) at /usr/include/c++/12/utility:96 96 { return std::__exchange(__obj, std::forward<_Up>(__new_val)); } (gdb) info local No locals. (gdb) up #2 QHash<QString, QQmlJSScope::JavaScriptIdentifier>::QHash (other=..., this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qhash.h:866 866 : d(std::exchange(other.d, nullptr)) (gdb) print other.d value has been optimized out (gdb) up #3 QHash<QString, QQmlJSScope::JavaScriptIdentifier>::operator= (other=..., this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qhash.h:869 869 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(QHash) (gdb) info local moved = <optimized out> moved = <optimized out> (gdb) up #4 QQmlJSScope::operator= (this=0x55c2a22fff40) at ./src/qmlcompiler/qqmljsscope_p.h:41 41 ./src/qmlcompiler/qqmljsscope_p.h: Datei oder Verzeichnis nicht gefunden. (gdb) info local No locals. (gdb) print this $5 = (QQmlJSScope * const) 0x55c2a22fff40 (gdb) print *this $6 = {m_jsIdentifiers = {d = 0x0}, m_methods = {d = 0x55c2a1753060, m_size = 0}, m_properties = {d = 0x55c2a1752f90}, m_propertyBindings = {d = 0x0, m_size = 0}, m_propertyBindingsArray = {<QListSpecialMethods<QQmlJSScope::QmlIRCompatibilityBindingData>> = {<QListSpecialMethodsBase<QQmlJSScope::QmlIRCompatibilityBindingData>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_runtimeFunctionIndices = {<QListSpecialMethods<QQmlJSMetaMethod::AbsoluteFunctionIndex>> = {<QListSpecialMethodsBase<QQmlJSMetaMethod::AbsoluteFunctionIndex>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_enumerations = {d = 0x55c2a174c840}, m_annotations = {<QListSpecialMethods<QQmlJSAnnotation>> = {<QListSpecialMethodsBase<QQmlJSAnnotation>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_childScopes = {<QListSpecialMethods<QDeferredSharedPointer<QQmlJSScope> >> = {<QListSpecialMethodsBase<QDeferredSharedPointer<QQmlJSScope> >> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_parentScope = {m_data = {d = 0x0, value = 0x0}, m_factory = {d = 0x0, value = 0x0}}, m_filePath = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_internalName = {d = {d = 0x55c2a173ae40, ptr = 0x55c2a173ae50 u"QJSValue", size = 8}, static _empty = 0 u'\000'}, m_baseTypeNameOrError = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_baseType = {scope = {m_data = {d = 0x0, value = 0x0}, m_factory = {d = 0x0, value = 0x0}}, revision = {m_minorVersion = 255 '\377', m_majorVersion = 255 '\377'}}, m_scopeType = QQmlJSScope::QMLScope, m_interfaceNames = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_ownDeferredNames = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_ownImmediateNames = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_defaultPropertyName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_parentPropertyName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_attachedTypeName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_requiredPropertyNames = {<QListSpecialMethods<QString>> = {<QListSpecialMethodsBase<QString>> = {<No data fields>}, <No data fields>}, d = {d = 0x0, ptr = 0x0, size = 0}}, m_attachedType = {m_data = {d = 0x0, value = 0x0}, m_factory = {d = 0x0, value = 0x0}}, m_valueTypeName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_valueType = {m_data = {d = 0x0, value = 0x0}, m_factory = {d = 0x0, value = 0x0}}, m_extensionTypeName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_extensionType = {m_data = {d = 0x0, value = 0x0}, m_factory = {d = 0x0, value = 0x0}}, m_flags = {i = 0}, m_semantics = QQmlJSScope::AccessSemantics::Value, m_sourceLocation = {offset = 0, length = 0, startLine = 0, startColumn = 0}, m_qualifiedName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}, m_moduleName = {d = {d = 0x0, ptr = 0x0, size = 0}, static _empty = 0 u'\000'}} https://bugreports.qt.io/browse/QTBUG-117361?jql=text%20~%20%22qmlcachegen%20QQmlJSScope%22 - https://codereview.qt-project.org/gitweb?p=qt%2Fqtdeclarative.git;a=commit;h=d0c7f46b4090010fbb8ebfd6ce200d8bb3dbaadb - https://codereview.qt-project.org/gitweb?p=qt%2Fqtdeclarative.git;a=commit;h=d5ab133e2ee2e9ec781179baefde6404c93885b1 - https://codereview.qt-project.org/gitweb?p=qt%2Fqtdeclarative.git;a=commit;h=f070c4523a213947e01cda5d1cd04ba19f9ea19f Included in 6.7.0, 6.6.1, maybe somewhere later than 6.5.3