Bug 106072 - Assertion failed in o3tl/typed_flags_set.hxx during PDF export
Summary: Assertion failed in o3tl/typed_flags_set.hxx during PDF export
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2017-02-18 05:47 UTC by Aron Budea
Modified: 2017-02-19 01:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2017-02-18 05:47:20 UTC
Requires debug build.

- Start an empty document
- File -> Export as PDF...
- Make no changes, click Export, choose a file name, click Save

=> Asserion failed.

http://opengrok.libreoffice.org/xref/core/include/o3tl/typed_flags_set.hxx#83
Expression: static_cast<typename std::underlying_type<E>::type>(~0) == M || (value & ~M) == 0

For some reason I can't get a useful backtrace with my Windows debug builds.
My build is from 2017-02-05, so it might be fixed by now.
Comment 1 Julien Nabet 2017-02-18 07:57:59 UTC
On pc Debian x86-64 with master sources updated yesterday + enable-dbgutil, I don't reproduce this. (gtk3 or gen rendering)
Comment 2 Aron Budea 2017-02-18 08:08:50 UTC
Indeed, I finished a Linux dbgutil build in the meantime (pulled yesterday [1]), and I couldn't reproduce it there. So either it's Windows only, or it's been fixed. I'll try to build from fresh sources on Windows during the weekend.

Thanks for checking, Julien!

[1] https://gerrit.libreoffice.org/gitweb?p=core.git;a=log;h=c910d1dae1a9fcf0591098244debc863dd59618a
Comment 3 Aron Budea 2017-02-19 01:01:03 UTC
Yup, no failure with current build in Windows (2017-02-18, 423beaf852aefb6a62882ac0ca55443113fda8b1).
Sorry for the noise.