Page 1 of 1

SEH Exception

Posted: Mon Sep 30, 2019 7:30 pm
by Grelofgarta
Hi,
sometimes the screensaver crashes with following message in logs.

30-9-2019 20:18:40 : OnTimer: Exit
30-9-2019 20:18:57 : OnTimer: gPhotoShow is not the foreground application
30-9-2019 20:18:57 : OnTimer: Enter (WaitDX=0)
30-9-2019 20:18:57 : ChangeBitmapFromTimer: Enter m_BmpChgStep=1, main=1
30-9-2019 20:18:57 : ChooseImageFile(0),0
30-9-2019 20:18:57 : RandomInFolder(1,0): Selected 0 (first=-1,last=-1)
30-9-2019 20:18:57 : ChooseImageFile: List Size 1, Selected 0 (C:\Users\...\image1.jpg)
30-9-2019 20:18:57 : ChooseImageFile: Added image to back list C:\Users\...\image1.jpg
30-9-2019 20:18:57 : AdjustIndexes: ni=0 (first=0,last=0)
30-9-2019 20:18:57 : >>> SEH Exception
30-9-2019 20:18:57 : >>> LoadNewBitmap: SEH Exception c0000094, maybe the file loaded is corrupted or in unsupported format
30-9-2019 20:18:57 : ChangeBitmap: LoadNewImage er=-1
30-9-2019 20:18:57 : ChooseImageFile(0),0
30-9-2019 20:18:57 : CheckEmptyFileList: Img List Empty
30-9-2019 20:18:57 : RestartList

I read in other posts that this might be because the loaded Image is missing EXIF information. However if that were true, it should always crash when loading the specific image. But most of the time, the image is loaded and displayed without problems.

Re: SEH Exception

Posted: Tue Oct 01, 2019 10:38 am
by gpb
Hello,
exception c0000094 means a division by zero, it's rather weird because I didn't find any division between the last log line "AdjustIndexes: " and the next one that should appear. However I didn't test filters or plugin and both could be called right there.
Are you using filters or plugin ?

Re: SEH Exception

Posted: Tue Oct 01, 2019 7:25 pm
by Grelofgarta
Hi,
thanks for your quick response. I am not using any extra plugins. Just gphotoshow pro Version 8.0.6 64-bit.
I did not configure anything under "Filters" but there are some things checked by default. like images, panoramic images, video, web pages etc.

I have 2 Monitors. I enabled Multiple Monitors support with Display Method "A different image on each monitor" and "Display some images spanned on all monitors" for panoramic images. Also i use "automatic panoramic images detection".

Edit: I noticed that the name of some of my images contained the special characters that are declared in "Delimiters to separate keywords in file name and path" under "Filters". I do not understand what this option does or what the keywords are for but i cleared the textfield and the Exception has not occured since.

Re: SEH Exception

Posted: Wed Oct 02, 2019 4:23 pm
by gpb
Thank you very much for your tests, I think I found the cause of the division by zero.
It may happen when you choose to display images grouped by folders and also set the option to always get images from the folder used by primary monitor and files list finishes in the wrong moment.
I will be fixed in the next update released within few days.

Re: SEH Exception

Posted: Fri Oct 04, 2019 5:06 pm
by gpb
here is the updated version, both issues should be fixed, please download and test it:
https://www.gphotoshow.com/files/gpsprosetup64_807.exe