https://bugs.documentfoundation.org/show_bug.cgi?id=158255
Wahrendorff <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|1 |0 Status|NEEDINFO |UNCONFIRMED --- Comment #4 from Wahrendorff <[email protected]> --- (In reply to m.a.riosv from comment #2) > It appears that the file does not pass the validator, regardless of the > version selected for testing. > https://odfvalidator.org/ I just validated some random documents that have been created with Libreoffice over the past years and not manipulated by any other entity: They all seem to not pass the Validator because of unknown tags or unexpected attributes, but they do not crash libreoffice 7 upon PDF generating. (In reply to Eike Rathke from comment #3) > Apart from that the mimetype file in the zip container is compressed which > it must not (see ODF specification), and the unexpected attribute > "text:is-hidden" the validator complains about (only those two errors with > extended conformant ODF1.3), the crash is a nullptr dereference in > sw/source/core/layout/sectfrm.cxx SwSectionFrame::Notify() where in > > SwSectionFormat *const pFormat(GetSection()->GetFormat()); > > the GetSection() call returns nullptr. > > My blind guess is it there should check for nullptr and bail out if so, but > I'm not familiar with that code and maybe it's just a symptom and not the > cause. I managed to not compress the mimetype file, but it still crashes Libreoffice. Your suggestion sounds like a reasonable fix for me. It resonates with the behaviour that libreoffice will not crash, when all sections in the odt are initially visible and not hidden. -- You are receiving this mail because: You are the assignee for the bug.
