PDF file causes XnView to Crash

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
Guest

PDF file causes XnView to Crash

Post by Guest »

Hi,

All other PDF files load correctly except this one (it runs fine in Acrobat):

http://www.tooled-up.com/Artwork/ProdPD ... Data07.pdf

When selecting this file within XnView's Thumbnail display (so it shows in the preview pane) the following error is returned:

-----
Microsoft Visual C++ Runtime Library
Assertion failed!
Program: C:\program files\......\xnview.exe
File: jasper\src\libjasper\jpc\jpc_dec.c
Line: 1082

Expression: dec->numcomps == 3

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
-----

If I press 'Abort' or 'Retry' XnView crashes in the usual windows way. If I choose 'Ignore' the error is shown a second time, 'Ignore' again and the preview window displays correctly and XnView continues to run.

I'm running XnView 1.91 en, and previously 1.90, the same occurs on both versions.

I'm also running these under WinXP SP2.

Kindest Regards,
Richard
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Same here

Post by Clo »

—> Guest

:) Hello !

• I can confirm that testing your sample.
- I get exactly the same Windows message (except the path, of course).

- I can view the file alright in Foxit PDF Reader.

- XP-Pro SP1 (Fr)

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

I can confirm. That's weird, a runtime assert should never happen on released modules. *shrug* Works with other pdfs with embedded jpeg 2000, maybe that one has a subtle corruption.

Bizarrely, if you hit ignore twice, it'll show the first page and then sometimes crash when you try to navigate away. =D

Actually it looks like that's an old version of ghostscript's jasper being used, the newer one has >= 3. I guess it isn't calling external gs since I have the latest as it still shows the same assert.
Post Reply