UBSan failure since sw_redlinehide

Stephan Bergmann sbergman at redhat.com
Wed Jun 13 12:15:05 UTC 2018


On 13/06/18 09:10, Stephan Bergmann wrote:
> UBSan builds (like 
> <https://ci.libreoffice.org/job/lo_ubsan/935/console>) started to fail 
> with something like
> 
>> /sw/source/core/text/txtfrm.cxx:987:16: runtime error: downcast of 
>> address 0x2b53270e5890 which does not point to an object of type 
>> 'const SwTextNode'
>> 0x2b53270e5890: note: object is of type 'SwContentNode'
>>  00 00 00 00  70 f9 c7 cb 52 2b 00 00  60 5c 7a 00 e0 60 00 00  f0 5b 
>> 0e 27 53 2b 00 00  40 15 18 00
>>               ^~~~~~~~~~~~~~~~~~~~~~~
>>               vptr for 'SwContentNode'
> 
> during e.g. CppunitTest_sw_filters_test or 
> CppunitTest_writerperfect_wpftimport a while ago.

seen fixed with 
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=90802a1ee007be10239cb09db7a41580311cf075> 
"sw_redlinehide: try to fix UBSAN issue in ~SwContentNode"


More information about the LibreOffice mailing list