scribusproject / scribus

Community mirror of the official Scribus SVN svn://scribus.net. Please submit PRs & Bugs to https://bugs.scribus.net .
https://scribus.net
Other
409 stars 109 forks source link

Assertion failure in poppler importing PDF file #179

Open Natureshadow opened 7 months ago

Natureshadow commented 7 months ago

I have one PDF file of a series which fails to load, with Scribus crashing:

scribus: /home/abuild/rpmbuild/BUILD/poppler-24.03.0/poppler/GfxState.cc:4913: void GfxGouraudTriangleShading::getTriangle(int, double*, double*, GfxColor*, double*, double*, GfxColor*, double*, double*, GfxColor*): Assertion `!isParameterized()' failed.
Scribus Crash

The PDF file was created with QuarkXPress, as are all other files in the series. I guess there is one object in the PDF that is problematic in some way.

I cannot provide the PDF file in public, but if someone is able to help debug the crash, I can send it by mail if that helps.

Natureshadow commented 7 months ago

I found this poppler bug resolved 12 years ago: https://bugs.freedesktop.org/show_bug.cgi?id=56463

Also, a similar crash in Inkscape that is still open: https://bugs.launchpad.net/inkscape/+bug/1737782

aoloe commented 7 months ago

hi,

you're welcome to upload the file (or a link to the file) to https://bugs.scribus.net (the official scribus bug tracker) and mark the ticket as private: then file won't be world readable (as far as i know, only a few developers will see it)