Crash test update

Caolán McNamara caolanm at
Fri Nov 11 16:20:20 UTC 2016

On Thu, 2016-11-10 at 21:38 +0100, Jean-Tiare LE BIGOT wrote:
> Thanks for the explanations ! Unfortunately, I can't access 
> Can someone grant access to 'yadutaf' / admin at or send me 
> privately a copy of this file to troubleshoot ?
> I tried to reproduce the crashes with some of the files I have access
> to:
> - fdo58197-1.pptx

fdo58197-1.pptx will do fine to reproduce it, they're all the same

> They all seem to crash somewhere in It seems
> unlikely to be related to commit
> 4bcf1872bbe9db1388769485a7e4c0cbcce3d53c

It crashes in because an unexpected std::length_error
exception is thrown and it dies through std::terminate. My commit
"fixes" this by making those methods allow std::exception derived
exceptions to be thrown through them, so it doesn't crash.

if you...

gdb --args ./instdir/program/soffice.bin --headless --convert-to pdf
(gdb) catch throw std::length_error
(gdb) run
(gdb) up... a bunch of times until you get to chartconverter.cxx

you'll see that chartconverter.cxx:136 is
Matrix< Any > aMatrix( rDataSeq.mnPointCount, 1 )
and rDataSeq.mnPointCount is -1, which doesn't make sense as a length
argument to vector::resize


More information about the LibreOffice mailing list