summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_shapetest.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-25 16:00:26 +0200
committerCaolán McNamara <caolanm@redhat.com>2021-06-27 20:11:49 +0200
commit5e37a1d89dfaa12690841213bce0cb6d05faf90a (patch)
treea03ea8f10ac77b6770714fd027c1dae804c5a12a /sc/CppunitTest_sc_shapetest.mk
parent9d8e88aaa20ad3d184e06cd8d4f875ecdfeda61e (diff)
Silence UBSan dynamic-type-mismatch for VclPtr member in GObject
...that wasn't properly initialized (in an --enable-dbgutil build; see also <https://gerrit.libreoffice.org/c/core/+/117878> "There appears to be no reason for (DBG_UTIL-only) ~VclPtr to be virtual", but even when VclPtr has no vtable, it arguably is to properly con- and destruct CustomCellRendererSurface::device). For example, in Writer clicking on the "Styles" icon in the side bar: > vcl/unx/gtk3/gtkinst.cxx:15144:10: runtime error: member call on address 0x625001b42668 which does not point to an object of type 'VclPtr<VirtualDevice>' > 0x625001b42668: note: object has invalid vptr > 50 62 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 8a f0 00 30 60 00 00 80 f8 19 02 > ^~~~~~~~~~~~~~~~~~~~~~~ > invalid vptr > #0 in (anonymous namespace)::ensure_device((anonymous namespace)::CustomCellRendererSurface*, weld::Widget*) at vcl/unx/gtk3/gtkinst.cxx:15144:10 Change-Id: Ic6ab75668e5b3ecca6d1e5743ed1907c8cbdb143 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117915 Tested-by: Jenkins Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/CppunitTest_sc_shapetest.mk')
0 files changed, 0 insertions, 0 deletions