Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.4.2
-
None
-
Linux i5 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:05:23 UTC 2015 x86_64 GNU/Linux
Description
The Address Sanitizer detects a new/delete type mismatch:
==12860==ERROR: AddressSanitizer: new-delete-type-mismatch on 0x615000608900 in thread T0:
object passed to delete has wrong type:
size of the allocated type: 464 bytes;
size of the deallocated type: 336 bytes.
#0 0x7f4c87c924e2 in operator delete(void*, unsigned long) /build/gcc/src/gcc-5-20150519/libsanitizer/asan/asan_new_delete.cc:108
#1 0xb8c67b in QDeclarativePrivate::QDeclarativeElement<BImage>::~QDeclarativeElement() (/home/janezz/bspdev/bsp5/testd/testd+0xb8c67b)
#2 0x7f4c84fb8a8e in QGraphicsItem::~QGraphicsItem() (/usr/lib/libQt5Widgets.so.5+0x465a8e)
#3 0x7f4c84fb8e12 in QGraphicsObject::~QGraphicsObject() (/usr/lib/libQt5Widgets.so.5+0x465e12)
#4 0x7f4c855d80e0 (/usr/lib/libQt5Declarative.so.5+0x1ef0e0)
#5 0x7f4c84fb8a8e in QGraphicsItem::~QGraphicsItem() (/usr/lib/libQt5Widgets.so.5+0x465a8e)
#6 0x7f4c84fb8e12 in QGraphicsObject::~QGraphicsObject() (/usr/lib/libQt5Widgets.so.5+0x465e12)
#7 0x7f4c855d80e0 (/usr/lib/libQt5Declarative.so.5+0x1ef0e0)
This means something was allocated with new [], but deleted with a plain delete or vice versa.