Page 1 of 1

SalPVEnv.exe crash on invalid imagefiles

Posted: 11 Sep 2012, 11:58
by xm
to reproduce:

- create an invalid imagefile (e.g. rename any *.txt file to a *.bmp one)
- F3 to invoke PictView -> PictView error msg "Could not open..."
- close the errormsg dlg -> crash in envelope for 32-bit PVW32Cnv.dll (access violation at 401bb2, mov edx,dptr[ecx], ecx is 0 here)

callstack:
salpvenv+0x1bb2
salpvenv+0x26ee
KERNELBASE!OpenEventA+0x44
salpvenv+0x1853
salpvenv+0x5057

My PC:
Win7 Ent x64 Eng
Salamander 3.0b1 PB87

Re: SalPVEnv.exe crash on invalid imagefiles

Posted: 20 Sep 2012, 09:06
by Ether
I can confirm this behavior up to the second bullet (i.e. "create an invalid imagefile", "F3 to invoke PictView", "PictView error msg"), but I didn't see any crash. My PictView just froze. (It's completely possible that the crash happened, but Windows decided to hide it from me.)

Win7x64 HP, Salamander x64 PB87

Re: SalPVEnv.exe crash on invalid imagefiles

Posted: 20 Sep 2012, 11:01
by xm
When I close the crash-dlg, the PictView window remains open but not frozen. I can click inside or close it. But when I try to open another imagefile I get PictView error msgbox: "Could not open file ...: Could not load PictView process."

Re: SalPVEnv.exe crash on invalid imagefiles

Posted: 15 Nov 2012, 22:48
by Jan Patera
xm wrote:- create an invalid imagefile (e.g. rename any *.txt file to a *.bmp one)
- F3 to invoke PictView -> PictView error msg "Could not open..."
Indeed, there was a problem when a non-image file was provided to PictView64. It has been fixed for the next release/build.