Using TeXstudio 2.8.8 on Windows 7 x64 (full details:
TeXstudio 2.8.8 (hg 4828+:0a999280f5cb+)
Using Qt Version 5.3.1, compiled with Qt 5.3.1 R
)
Including a specific fairly large .eps file causes the internal PDF viewer to crash. This displays OK in Adobe PDF reader.
I've attached the bare minimum test case - compiling this .tex and viewing the result will cause TeXstudio to crash. Let me know if there is more details I can provide.
Poppler kills it because some memory check fails:
Stacktrace is
Thanks for the quick note!
Should I move the bug report to the Poppler library then it sounds like? The specific .eps file is vector source, so it might have too many paths or similar causing some memory error.
Probably. The only issue is that we are not using the newest version of poppler on win (0.24.5) because it's quite complicated to get it compiled there.
@Benito: I assume you checked on Linux: Which poppler version were you using?
Even older: 0.20.0-2.13.1
Probably.
They probably need the arguments for the call of renderToImage: xres = 384, yres = 384, x = -1, y = -1, w = -1, h = -1, rotate = Poppler::Page::Rotate0
With 0.24.5-4 it happens, too
Crash still present in poppler 0.32.0
rendering is slow, but does not crash on linux (anymore?).
I'm away from Linux box to check with latest build (reliant on Windows build right now), but it used to very reliably crash with that test-case, so if it works for you I'd call that fixed!
Still crashes on windows when zooming into the pdf. When there's time, I'll update to a newer poppler version. Let's see then if this is fixed.
Crash still present in poppler 0.39.0
Could not reproduce this. The .tex file compiled and the .pdf was visible. Texstudio was compiled with the following dependencies:
Works with a recent build on Win using poppler 0.61
https://bintray.com/sunderme/texstudio/texstudio-win/2.12.7-201712161603-git_d91705e