qdbus6 segfaults in version 6.11.0-1
<!--
Warning: Do not ignore this template!
Failure to provide the required information risks automatic closure.
Please read our Bug reporting guidelines before opening a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
If you want to help catching more bugs upfront, consider joining the Arch Testing Team:
https://wiki.archlinux.org/title/Arch_Testing_Team
-->
# Description:
```console
$ valgrind qdbus6 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings.Read "org.freedesktop.appearance" "color-scheme"
==25212== Memcheck, a memory error detector
==25212== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==25212== Using Valgrind-3.25.1 and LibVEX; rerun with -h for copyright info
==25212== Command: qdbus6 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings.Read org.freedesktop.appearance color-scheme
==25212==
2
==25212== Invalid read of size 8
==25212== at 0x49FE4D1: UnknownInlinedFun (qhash.h:808)
==25212== by 0x49FE4D1: UnknownInlinedFun (qhash.h:1163)
==25212== by 0x49FE4D1: UnknownInlinedFun (qmetatype.cpp:180)
==25212== by 0x49FE4D1: QMetaType::unregisterMetaType(QMetaType) [clone .cold] (qmetatype.cpp:956)
==25212== by 0x48F49EA: registerComplexDBusType(QByteArray const&)::Hash::~Hash() (qdbusmetaobject.cpp:121)
==25212== by 0x5294A60: __run_exit_handlers (exit.c:118)
==25212== by 0x5294B3D: exit (exit.c:148)
==25212== by 0x527B6C7: (below main) (libc_start_call_main.h:83)
==25212== Address 0x20 is not stack'd, malloc'd or (recently) free'd
==25212==
==25212==
==25212== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==25212== Access not within mapped region at address 0x20
==25212== at 0x49FE4D1: UnknownInlinedFun (qhash.h:808)
==25212== by 0x49FE4D1: UnknownInlinedFun (qhash.h:1163)
==25212== by 0x49FE4D1: UnknownInlinedFun (qmetatype.cpp:180)
==25212== by 0x49FE4D1: QMetaType::unregisterMetaType(QMetaType) [clone .cold] (qmetatype.cpp:956)
==25212== by 0x48F49EA: registerComplexDBusType(QByteArray const&)::Hash::~Hash() (qdbusmetaobject.cpp:121)
==25212== by 0x5294A60: __run_exit_handlers (exit.c:118)
==25212== by 0x5294B3D: exit (exit.c:148)
==25212== by 0x527B6C7: (below main) (libc_start_call_main.h:83)
==25212== If you believe this happened as a result of a stack
==25212== overflow in your program's main thread (unlikely but
==25212== possible), you can try to increase the size of the
==25212== main thread stack using the --main-stacksize= flag.
==25212== The main thread stack size used in this run was 8388608.
==25212==
==25212== HEAP SUMMARY:
==25212== in use at exit: 170,999 bytes in 494 blocks
==25212== total heap usage: 8,065 allocs, 7,571 frees, 2,405,905 bytes allocated
==25212==
==25212== LEAK SUMMARY:
==25212== definitely lost: 0 bytes in 0 blocks
==25212== indirectly lost: 0 bytes in 0 blocks
==25212== possibly lost: 512 bytes in 2 blocks
==25212== still reachable: 170,487 bytes in 492 blocks
==25212== of which reachable via heuristic:
==25212== newarray : 1,976 bytes in 13 blocks
==25212== suppressed: 0 bytes in 0 blocks
==25212== Rerun with --leak-check=full to see details of leaked memory
==25212==
==25212== For lists of detected and suppressed errors, rerun with: -s
==25212== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
```
# Additional info:
* package version(s): 6.11.0-1
* config and/or log files:
* link to upstream bug report, if any:
# Steps to reproduce:
1. Log into KDE Plasma Wayland session
2. `qdbus6 org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Settings.Read "org.freedesktop.appearance" "color-scheme"`
issue