JPEG2000: 0 bytes files get created when opening JP2 files

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

Moderators: XnTriq, xnview

Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

JPEG2000: 0 bytes files get created when opening JP2 files

Post by Dstruct »

When opening JP2 files (with the standard JPEG2000 plugin), XnView (1.93.6) creates three temporary 0 bytes files in the root of my "D:" volume!? After the image got loaded completely the files are deleted automatically.


Why are these files created at all? If they are really needed, wouldn't it be much better to create them in the user's temporary folder?


Here a screenshot: strange-files-jp2.jpg (96 kB)

-> You see that I've opened this xnview.jp2 (393 kB) file from "D:\Downloads" and these

s1gs
s1gs.1
s1gs.2

three temporary files can be seen on the left pane under "D:\".


:?:
Last edited by Dstruct on Sat Feb 27, 2010 1:11 am, edited 2 times in total.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct »

I'm alone with this?
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Works here

Post by Clo »

:arrow: Dstruct

:) Hello !

• Your sample (401,693 Bytes) works here in XnView 1.96.6, and also in and old 1.82.4…
- Both have the Xjp2.dll library, same size 225,280 Bytes, the newest being dated 2008, March, 13.
• However, I tried to display it in Total Commander Lister with the "Imagine" plug-in, and I got a nice crash…

- Win Xp-Pro SP1

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: Works here

Post by Dstruct »

Clo wrote:Your sample (401,693 Bytes) works here in XnView 1.96.6
Of course the image works fine.


But these temporary (?) files shouldn't be created in my "D:" folder!
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Nope…

Post by Clo »

:arrow: Dstruct

:) Again…

• I don't get any "0 byte" file anywhere, I checked the temp directory :
e:\Documents and Settings\CLAUDE\Application Data\XnView\
it's as so empty as my purse… :P
- Nothing in the drives roots either…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct »

Yeah, these files are just there for a short moment! They get deleted automatically once the image got loaded completely ...
User avatar
xnview
Author of XnView
Posts: 34698
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPEG2000: 0 bytes files get created when opening JP2 fil

Post by xnview »

The JPEG2000 create some temporary files
Pierre.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: JPEG2000: 0 bytes files get created when opening JP2 fil

Post by Dstruct »

xnview wrote:The JPEG2000 create some temporary files
but can't you create them in the user's temp folder?
User avatar
xnview
Author of XnView
Posts: 34698
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPEG2000: 0 bytes files get created when opening JP2 fil

Post by xnview »

Dstruct wrote:
xnview wrote:The JPEG2000 create some temporary files
but can't you create them in the user's temp folder?
It's not me, but the JPEG 2000 component
Pierre.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: JPEG2000: 0 bytes files get created when opening JP2 fil

Post by Dstruct »

xnview wrote:It's not me, but the JPEG 2000 component
ok, but can you foward this request to the developer of this plugin?



and: why do you supply version "1.93.6 RC1 (unstable)" of this plugin with xnview? isn't there a "stable" version?
User avatar
xnview
Author of XnView
Posts: 34698
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: JPEG2000: 0 bytes files get created when opening JP2 fil

Post by xnview »

Dstruct wrote:and: why do you supply version "1.93.6 RC1 (unstable)" of this plugin with xnview? isn't there a "stable" version?
Oh yes :-) But it's the final plugin, i have not rebuilt it before release
Pierre.
User avatar
DilSpi
Posts: 9
Joined: Sun Jun 15, 2008 7:01 pm
Contact:

Re: Works here

Post by DilSpi »

Dstruct wrote:...

But these temporary (?) files shouldn't be created in my "D:" folder!
Indeed there shouldnt go any temp files. For e.g. normal, non-privileged useres dont have any write access there and thats for security reason.

Dstruct:
- did you tried to open the file with admin rights or with user-rights.
- is your harddisk ntfs formated,
- whats about the security settings of the root-folder of the disk?
- i can open your file (mine too), but have permanent trouble (http://newsgroup.xnview.com/viewtopic.php?t=15312) with bigger (maybe something over 2MB or more than 1992x1494pixels) files (my test file https://jira.secondlife.com/secure/atta ... 7a_004.j2c)

Couldnt you maybe try to run filemon (http://technet.microsoft.com/en-us/sysi ... 96642.aspx) while you open the file? so the read and write access will be logged.

Ciao :)
DilSpi
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: Works here

Post by Dstruct »

DilSpi wrote:did you tried to open the file with admin rights or with user-rights.
admin
DilSpi wrote:is your harddisk ntfs formated
yes
User avatar
DilSpi
Posts: 9
Joined: Sun Jun 15, 2008 7:01 pm
Contact:

Re: Works here

Post by DilSpi »

Dstruct wrote:
DilSpi wrote:did you tried to open the file with admin rights or with user-rights.
admin
DilSpi wrote:is your harddisk ntfs formated
yes
and are you able to view the picture when you logged in with user rights?
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct »

don't have the jp2 plugin installed anymore. i don't really care about it any longer. maybe some other user can help you with this!?
Post Reply