Crash on JP2 read
Moderators: XnTriq, helmut, xnview
-
- Posts: 19
- Joined: Fri Aug 13, 2010 11:56 am
Crash on JP2 read
I would like to report a problem I have discovered with XnView and certain JPEG 2000 (.JP2) files.
XnView with the JasPer JP2 plug-in always crashes on reading JP2 files with custom profiles embedded. These files have embedded display profiles created with a Spyder2 colorimeter. This is a somewhat unusual practice, but it is handled correctly by other applications. I do not know what if any other embedded profiles also cause a crash.
The LuraTech JP2 plug-in reads all 8-bit RGB JP2 files that I have tried, but it ignores ALL color profiles.
My prime interest in XnView is as a color-managed viewer, and one of my most used formats is .JP2. I sincerely hope that a working combination is soon possible. At least, I hope that the offending ICC profiles can be selectively ignored without crashing.
I uploaded a sample file that causes a crash:
http://www.filedropper.com/lena-icc
Operating system is Windows XP SP3. XnView version is 1.97.6
XnView with the JasPer JP2 plug-in always crashes on reading JP2 files with custom profiles embedded. These files have embedded display profiles created with a Spyder2 colorimeter. This is a somewhat unusual practice, but it is handled correctly by other applications. I do not know what if any other embedded profiles also cause a crash.
The LuraTech JP2 plug-in reads all 8-bit RGB JP2 files that I have tried, but it ignores ALL color profiles.
My prime interest in XnView is as a color-managed viewer, and one of my most used formats is .JP2. I sincerely hope that a working combination is soon possible. At least, I hope that the offending ICC profiles can be selectively ignored without crashing.
I uploaded a sample file that causes a crash:
http://www.filedropper.com/lena-icc
Operating system is Windows XP SP3. XnView version is 1.97.6
-
- Posts: 19
- Joined: Fri Aug 13, 2010 11:56 am
Re: Crash on JP2 read
Does the test file cause a crash for others?
Re: Crash on JP2 read
I don't have a crash. But then again, I can't tell which plug-in is used for JPEG2000 on my installation.xnview ([url=http://newsgroup.xnview.com/viewtopic.php?p=72623#p72623]1.96: (Possible bug) Jasper JP2k applying sRGB by default[/url]) wrote:Jasper plugin don't use ICC
-
- Posts: 19
- Joined: Fri Aug 13, 2010 11:56 am
Re: Crash on JP2 read
It appears to be the LuraTech library. If you temporarily move those files out of the plugin directory, what happens?
Re: Crash on JP2 read
When I remove the LuraTech DLLs...
- ldf.dll
- ldf_jpm.dll
- lwf.dll
- lwf_jp2.dll
Re: Crash on JP2 read
Right, will be fixedphototweak wrote:Does the test file cause a crash for others?
Pierre.
-
- Posts: 19
- Joined: Fri Aug 13, 2010 11:56 am
Re: Crash on JP2 read
I upgraded to the latest version of XnView (1.97. today, and I still get a crash on my test file, while using Xjp2.dll.
http://www.filedropper.com/lena-icc
http://www.filedropper.com/lena-icc
-
- Posts: 19
- Joined: Fri Aug 13, 2010 11:56 am
Re: Crash on JP2 read
I am using Xjp2.dll plugin.
Using v1.98 beta 2 (unstable) it does not crash!
Is this beta safe to use? Could it corrupt files?
Using v1.98 beta 2 (unstable) it does not crash!
Is this beta safe to use? Could it corrupt files?
Re: Crash on JP2 read
yes, final version will be soon available...phototweak wrote:Is this beta safe to use? Could it corrupt files?
Pierre.