potential crash in poppler when using "high" thread count
The issue was reported by a user of txs. We have been trying to narrow down the issue. The crash is an assert failure, apparently in FoFIType1::parse texstudio_poppler_crash_bug: strtod_l.c:1497: ____strtod_l_internal: Zusicherung »numsize == 1 && n < d« nicht erfüllt. (in English assert failed)
1 raise 0x7ffff706818b
2 abort 0x7ffff7047859
3 ?? 0x7ffff7047729
4 __assert_fail 0x7ffff7058f36
5 ?? 0x7ffff70740a2
6 FoFiType1::parse() 0x7ffff6de091e
7 FoFiType1::getName() 0x7ffff6de0cad
8 Gfx8BitFont::Gfx8BitFont(XRef *, const char *, Ref, GooString *, GfxFontType, Ref, Dict *) 0x7ffff6e4ed14
9 GfxFont::makeFont(XRef *, const char *, Ref, Dict *) 0x7ffff6e52eff
10 GfxFontDict::GfxFontDict(XRef *, Ref *, Dict *) 0x7ffff6e5317d
11 GfxResources::GfxResources(XRef *, Dict *, GfxResources *) 0x7ffff6e331b0
12 Gfx::pushResources(Dict *) 0x7ffff6e3edee
13 Gfx::checkTransparencyGroup(Dict *) 0x7ffff6e4197a
14 Gfx::doForm(Object *) 0x7ffff6e42901
15 Gfx::opXObject(Object *, int) 0x7ffff6e483c1
16 Gfx::go(bool) 0x7ffff6e3f57f
17 Gfx::display(Object *, bool) 0x7ffff6e3fa36
18 Page::displaySlice(OutputDev *, double, double, int, bool, bool, int, int, int, int, bool, bool ( *)(void *), void *, bool ( *)(Annot *, void *), void *, bool) 0x7ffff6e95f45
19 Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation, void ( *)(QImage const&, QVariant const&), bool ( *)(QVariant const&), bool ( *)(QVariant const&), QVariant const&) const 0x7ffff7f9d701
20 Poppler::Page::renderToImage(double, double, int, int, int, int, Poppler::Page::Rotation, void ( *)(QImage const&, QVariant const&), bool ( *)(QVariant const&), QVariant const&) const 0x7ffff7f9d9b5
... <Mehr>
The current test case is on https://github.com/astoeckel/texstudio_poppler_crash_bug Unfortunately it does not crash very reliable. It happens most often when using the qtcreator debugger.