Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.8.0
-
None
-
Linux
Description
Hi,
To reproduce the bug, use Linux, checkout this git repository: https://github.com/Ableton/link
Build QLinkHut
Start it and change the quantum from the GUI.
=================================================================
==12793==ERROR: AddressSanitizer: new-delete-type-mismatch on 0x60e00002b620 in thread T0:
object passed to delete has wrong type:
size of the allocated type: 160 bytes;
size of the deallocated type: 32 bytes.
#0 0x7f562f4feb80 in operator delete(void*, unsigned long) /build/gcc-multilib/src/gcc/libsanitizer/asan/asan_new_delete.cc:108
#1 0x7f562d29a410 in QObjectPrivate::deleteChildren() (/usr/lib/libQt5Core.so.5+0x2b2410)
#2 0x7f562d2a3d6e in QObject::~QObject() (/usr/lib/libQt5Core.so.5+0x2bbd6e)
#3 0x7f562efc743e in QQuickItem::~QQuickItem() (/usr/lib/libQt5Quick.so.5+0x1cd43e)
#4 0x7f562efe1f45 (/usr/lib/libQt5Quick.so.5+0x1e7f45)
#5 0x7f562d29a410 in QObjectPrivate::deleteChildren() (/usr/lib/libQt5Core.so.5+0x2b2410)
#6 0x7f562d2a3d6e in QObject::~QObject() (/usr/lib/libQt5Core.so.5+0x2bbd6e)
#7 0x7f562efc743e in QQuickItem::~QQuickItem() (/usr/lib/libQt5Quick.so.5+0x1cd43e)
#8 0x7f562efe11cd (/usr/lib/libQt5Quick.so.5+0x1e71cd)
#9 0x7f562d29a410 in QObjectPrivate::deleteChildren() (/usr/lib/libQt5Core.so.5+0x2b2410)
#10 0x7f562d2a3d6e in QObject::~QObject() (/usr/lib/libQt5Core.so.5+0x2bbd6e)
#11 0x7f562efc743e in QQuickItem::~QQuickItem() (/usr/lib/libQt5Quick.so.5+0x1cd43e)
#12 0x7f562efe1115 (/usr/lib/libQt5Quick.so.5+0x1e7115)
#13 0x7f562f057711 in QQuickView::~QQuickView() (/usr/lib/libQt5Quick.so.5+0x25d711)
#14 0x42d848 in main (/home/abique/develop/ableton/link/build/bin/QLinkHut+0x42d848)
#15 0x7f562c3c7290 in __libc_start_main (/usr/lib/libc.so.6+0x20290)
#16 0x42e0a9 in _start (/home/abique/develop/ableton/link/build/bin/QLinkHut+0x42e0a9)
0x60e00002b620 is located 0 bytes inside of 160-byte region [0x60e00002b620,0x60e00002b6c0)
allocated by thread T0 here:
#0 0x7f562f4fde80 in operator new(unsigned long) /build/gcc-multilib/src/gcc/libsanitizer/asan/asan_new_delete.cc:60
#1 0x7f562e3f1fc9 in QQmlType::create(QObject*, void*, unsigned long) const (/usr/lib/libQt5Qml.so.5+0x267fc9)
SUMMARY: AddressSanitizer: new-delete-type-mismatch /build/gcc-multilib/src/gcc/libsanitizer/asan/asan_new_delete.cc:108 in operator delete(void*, unsigned long)
==12793==HINT: if you don't care about these errors you may set ASAN_OPTIONS=new_delete_type_mismatch=0
==12793==ABORTING
Attachments
Issue Links
- duplicates
-
QTBUG-58524 new delete size mismatch in QQuickItem
- Closed