[BUG] XnView 1.96.2 crash on Jpeg image

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

Moderators: XnTriq, xnview

Post Reply
zeij
Posts: 1
Joined: Mon Aug 24, 2009 2:40 pm

[BUG] XnView 1.96.2 crash on Jpeg image

Post by zeij »

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

Re: [BUG] XnView 1.96.2 crash on Jpeg image

Post by Clo »

:arrow: zeij

:) Hello ! Welcome aboard !

• It doesn't crash when displayed in View from a XnView button in Total Commander.
- It crashes when :
A. 2-click the image to display it in the Browser (it's the only image in the folder)
B. 2-click the preview to come back to View —> Jumble of colours, then crash !
• No crash with other viewers from TC (Imagine, Universal Viewer 4.4.2)
EDIT :
• Please, try the following
1. Make a copy of that JPG (Copy of… in the same folder)
2. Display it in View (that might not crash XnView)
3. Press the main JPEG button on the tool-bar
4. Ensure you that the box [×] Trim Image… is ticked (it might be)
5. Press the [Go] button.
6. 2-click the image to open the browser.
¤ Now, you can see on the two thumb nails that the original has XMP metadata,
while they have been removed from the copy !
7. 2-click the preview of the copy >> View, no crash anymore !
¤ That leads to think that the XMP data cause the crash when attempting
to come back from the browser to the View mode… Image

:mrgreen: KR
Claude
Clo
Last edited by Clo on Tue Aug 25, 2009 2:19 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
VictorVG
Posts: 17
Joined: Mon Aug 24, 2009 10:54 pm

Re: [BUG] XnView 1.96.2 crash on Jpeg image

Post by VictorVG »

I test on botch test images and see:

1) http://rapidshare.com/files/270871516/00003.jpg XnView.exe is crashed and MS VS 2008 debugger detected error:

session 1:
005C72EE mov dword ptr [edx-4],ebp
Unhandled exception at 0x005c72ee in xnview.exe: 0xC0000005: Access violation writing location 0x003e0000.
session 2:
005C728E mov edi,dword ptr [ecx]
'xnview.exe': Loaded 'C:\Program Files\XnView\xnview.exe', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'xnview.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\avifil32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\msacm32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\msvfw32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\winspool.drv'
'xnview.exe': Loaded 'C:\WINDOWS\system32\comdlg32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\imm32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll'
'xnview.exe': Loaded 'C:\Program Files\SlySoft\AnyDVD\ADvdDiscHlp.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll'
'xnview.exe': Loaded 'C:\Program Files\XnView\language\xnviewru.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\WINDOWS\system32\MSCTFIME.IME'
'xnview.exe': Loaded 'C:\WINDOWS\system32\clbcatq.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\comres.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll'
'xnview.exe': Loaded 'C:\Program Files\LinkShellExtension\HardlinkShellExt.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\mpr.dll'
'xnview.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcp80.dll'
'xnview.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcr80.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\cscui.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\cscdll.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\ctagent.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\drprov.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\ntlanman.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\netui0.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\netui1.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\netrap.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\samlib.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\davclnt.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\wpdshext.dll'
'xnview.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.5660_x-ww_e0385ec6\GdiPlus.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\portabledeviceapi.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\wintrust.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\crypt32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\msasn1.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\imagehlp.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\shgina.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\msgina.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\odbc32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\userenv.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\winsta.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\odbcint.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\WINDOWS\system32\audiodev.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\wmvcore.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\wmasf.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\wiashext.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\wininet.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\normaliz.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\urlmon.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\iertutil.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\WINDOWS\system32\sti.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\cfgmgr32.dll'
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xecw.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\NCSEcw.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\NCScnet.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\NCSUtil.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\WINDOWS\system32\wsock32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll'
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\NCSEcwC.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\WINDOWS\system32\ntmarta.dll'
'xnview.exe': Loaded 'C:\WINDOWS\system32\wldap32.dll'
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xeri.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xfif.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\deco_32.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xiwc.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xjng.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xjp2.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xp2.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xpwc.dll', Binary was not built with debug information.
'xnview.exe': Loaded 'C:\Program Files\XnView\PlugIns\Xsff.dll', Binary was not built with debug information.
The thread 'Win32 Thread' (0x1748) has exited with code 0 (0x0).
Unhandled exception at 0x005c728e in xnview.exe: 0xC0000005: Access violation reading location 0x02310000.
If I use as test software plugin PictureViewW 2.0 modified for use libgfl311.dll - all view all pictures normal, and not crashed.
If as test image use this image http://www.rapidshare.ru/1146057 - XnView is work normal.

Test version is 1.96.2, test OS Windows XP SP3.
User avatar
xnview
Author of XnView
Posts: 33850
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [BUG] XnView 1.96.2 crash on Jpeg image

Post by xnview »

Do you have always the crash with 1.96.5?
Pierre.
Post Reply