2.4.0 plan for #12215 [LyX crashes with async processes (Qt6 only)] ?
Kornel Benko
kornel at lyx.org
Fri Nov 25 12:00:01 UTC 2022
Am Wed, 23 Nov 2022 15:48:37 +0100
schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> Le 23/11/2022 à 04:13, Richard Kimberly Heck a écrit :
> > In general, from the LyX bug report, it looks like they're building LyX
> > but not Qt with debug iterators enabled.
> >
> > That is a bad idea. libstdc++ debug mode breaks ABI. I don't think we
> > ever return any QMap in Qt across its library boundary, but if we did,
> > they couldn't use it.
>
> > So, maybe the problem is very specific to --enable-stdlib-debug and has
> > to do with the way we use external libraries.
>
> It might be time to dump debug iterators and use the less annoying but
> less powerful _GLIBCXX_ASSERTIONS, which only does basic index checking.
> It seems to me that most interesting errors found by stdlib-debug in the
> past were in this category.
>
> It was introduced in gcc 6 and the release notes say:
> "Assertions to check function preconditions can be enabled by defining
> the _GLIBCXX_ASSERTIONS macro. The initial set of assertions are a
> subset of the checks enabled by the Debug Mode, but without the ABI
> changes and changes to algorithmic complexity that are caused by
> enabling the full Debug Mode. "
>
> As far as I understand, this avoids all compatibility issues. I put
> documentation below; currently we use _GLIBCXX_DEBUG and
> _GLIBCXX_DEBUG_PEDANTIC.
>
> JMarc
>
So, would it be sufficient to use _GLIBCXX_ASSERTIONS in case of QT6 only?
Or should we use it on all qt versions?
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221125/e3b4fdca/attachment.asc>
More information about the lyx-devel
mailing list