Folders which contain djvu files cause XnView to crash

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

Moderators: helmut, XnTriq, xnview

Post Reply
rsnemmen
Posts: 2
Joined: Mon Sep 18, 2006 8:41 pm

Folders which contain djvu files cause XnView to crash

Post by rsnemmen »

I installed XnView v. 1.82.4 (WinXP SP2). Whenever I open a folder in XnView which contains one or more djvu files, the program exits immediately without displaying any error message. A sample djvu file which causes XnView to crash is this one: http://www.if.ufrgs.br/~rns/crash_xnview.djvu . Just copy it to a given folder and open this folder in XnView to reproduce the error.
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Folders which contain djvu files cause XnView to crash

Post by xnview »

rsnemmen wrote:I installed XnView v. 1.82.4 (WinXP SP2). Whenever I open a folder in XnView which contains one or more djvu files, the program exits immediately without displaying any error message. A sample djvu file which causes XnView to crash is this one: http://www.if.ufrgs.br/~rns/crash_xnview.djvu . Just copy it to a given folder and open this folder in XnView to reproduce the error.
Strange, i have not the crash... Someone can reproduce it?
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Hexa

Post by Clo »

:arrow: Pierre

:) Hello Pierre,

- Not any crash here when I open the folder.
- But I can't open the image to view it, it's opened in hexa in the browser, despite this option is NOT ticked !

- I've Xdjvu.dll (a very old one… 2002)

- With D&D in TC, message "Unknown format", both with 1.82.4 and 1.90A2

XP-Pro - SP1

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
rsnemmen
Posts: 2
Joined: Mon Sep 18, 2006 8:41 pm

Re:

Post by rsnemmen »

Hi,

Maybe this is useful, the file Xdjvu.dll which came installed with XnView has version 1.82. The program still crashes with the given djvu file.

Cheers,

Rodrigo
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re:

Post by xnview »

rsnemmen wrote:Hi,

Maybe this is useful, the file Xdjvu.dll which came installed with XnView has version 1.82. The program still crashes with the given djvu file.
If you rename Xdjvu.dll, do you have the problem?
Pierre.
Guest

Re:

Post by Guest »

xnview wrote:
rsnemmen wrote:Hi,

Maybe this is useful, the file Xdjvu.dll which came installed with XnView has version 1.82. The program still crashes with the given djvu file.
If you rename Xdjvu.dll, do you have the problem?
I have the same problem when dvju files are present in the browsed folder (winXP sp2 here): when I try to open such a folder in XNview browser, the whole prog just exits. If XNview opens with a folder to which djvu files have been added, it shows Hex for djvu files if I click on them, and the program stalls completely if I try to click on whatever options at all. This happens with and without the xdjvu.dll plugin present.

I have LizardTech document express Pro v.6 installed, maybe some of its dlls are conflicting?

I have the latest version of XNview.

I was wondering if it's possible to batch convert tifs to djvu with xdjvu plugin present - seems like it's not going to happen for me :(
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re:

Post by xnview »

Anonymous wrote:
xnview wrote:
rsnemmen wrote:Hi,

Maybe this is useful, the file Xdjvu.dll which came installed with XnView has version 1.82. The program still crashes with the given djvu file.
If you rename Xdjvu.dll, do you have the problem?
I have the same problem when dvju files are present in the browsed folder (winXP sp2 here): when I try to open such a folder in XNview browser, the whole prog just exits. If XNview opens with a folder to which djvu files have been added, it shows Hex for djvu files if I click on them, and the program stalls completely if I try to click on whatever options at all. This happens with and without the xdjvu.dll plugin present.

I have LizardTech document express Pro v.6 installed, maybe some of its dlls are conflicting?

I have the latest version of XNview.

I was wondering if it's possible to batch convert tifs to djvu with xdjvu plugin present - seems like it's not going to happen for me :(
Could you send me some samples?
Pierre.
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Re:

Post by Drahken »

Anonymous wrote: I was wondering if it's possible to batch convert tifs to djvu with xdjvu plugin present - seems like it's not going to happen for me :(
Xnview can't save DJVU files, it can only read them. I think imgage magick can do what you want, but no other progs that I know of can. (Progs which can save in DjVU format usually don't have batch features, not unless you pay a fortune for the one from lizardtech.)
Guest

Re:

Post by Guest »

xnview wrote:
Anonymous wrote:
xnview wrote: If you rename Xdjvu.dll, do you have the problem?
I have the same problem when dvju files are present in the browsed folder (winXP sp2 here): when I try to open such a folder in XNview browser, the whole prog just exits. If XNview opens with a folder to which djvu files have been added, it shows Hex for djvu files if I click on them, and the program stalls completely if I try to click on whatever options at all. This happens with and without the xdjvu.dll plugin present.

I have LizardTech document express Pro v.6 installed, maybe some of its dlls are conflicting?

I have the latest version of XNview.

I was wondering if it's possible to batch convert tifs to djvu with xdjvu plugin present - seems like it's not going to happen for me :(
Could you send me some samples?
Actually, I discovered that this situation depends on the kind of djvu files involved. Some djvu files don't cause that problem and are viewed normally as images - I have one such file (downloaded from here: http://tinyurl.com/yzfatr) and what's interesting is that it can't be opened in the Lizardtech Document Express Editor Pro v.6. (but can be viewed in the Lizardtech file viewer).

The ones that cause crash problem to XNview and appear in Hex have been created with Document Express Pro v.6 (converted from TIFF scans). Here's a sample: http://www.webfile.ws/d/15477

I don't know what tool lets one know which software a djvu file was created with, so I don't know how the "good" one is different.
Guest

Re:

Post by Guest »

Drahken wrote:
Anonymous wrote: I was wondering if it's possible to batch convert tifs to djvu with xdjvu plugin present - seems like it's not going to happen for me :(
Xnview can't save DJVU files, it can only read them. I think imgage magick can do what you want, but no other progs that I know of can. (Progs which can save in DjVU format usually don't have batch features, not unless you pay a fortune for the one from lizardtech.)
I am not familiar with image magic but here's what i just read on their forum, maybe it can explain some of the problem:

"Not that I know of. The license for the LizardTech DjVu is not very
attractive (it is really a marketing ploy to sell commercial product)
so no one has shown interest in writing an interface. The open source
DjVu is crippled by offering less efficient compression algorithms.
You have to buy commercial product in order to use the really cool
DjVu compression algorithms."
http://studio.imagemagick.org/pipermail ... 08701.html

Thank you for mentioning it though, seems like a useful software to have anyway.
Guest

Re:

Post by Guest »

Anonymous wrote:
xnview wrote:
Anonymous wrote: I have the same problem when dvju files are present in the browsed folder (winXP sp2 here): when I try to open such a folder in XNview browser, the whole prog just exits. If XNview opens with a folder to which djvu files have been added, it shows Hex for djvu files if I click on them, and the program stalls completely if I try to click on whatever options at all. This happens with and without the xdjvu.dll plugin present.

I have LizardTech document express Pro v.6 installed, maybe some of its dlls are conflicting?

I have the latest version of XNview.

I was wondering if it's possible to batch convert tifs to djvu with xdjvu plugin present - seems like it's not going to happen for me :(
Could you send me some samples?
...I have one such file (downloaded from here: http://tinyurl.com/yzfatr) and what's interesting is that it can't be opened in the Lizardtech Document Express Editor Pro v.6. (but can be viewed in the Lizardtech file viewer)....
Oops, that's a false statement I just made: the file CAN be opened in the Doc Express Editor. And can be edited as well. Sorry.
Post Reply