SEH Exception

Post your questions, bug reports and feature requests here
Post Reply
Grelofgarta
Posts: 10
Joined: Sun Feb 24, 2019 3:14 pm

SEH Exception

Post by Grelofgarta » Mon Sep 30, 2019 7:30 pm

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.

User avatar
gpb
Site Admin
Posts: 506
Joined: Mon Dec 19, 2011 1:23 am

Re: SEH Exception

Post by gpb » Tue Oct 01, 2019 10:38 am

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 ?
Gianpaolo Bottin
gPhotoShow.com

Grelofgarta
Posts: 10
Joined: Sun Feb 24, 2019 3:14 pm

Re: SEH Exception

Post by Grelofgarta » Tue Oct 01, 2019 7:25 pm

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.

User avatar
gpb
Site Admin
Posts: 506
Joined: Mon Dec 19, 2011 1:23 am

Re: SEH Exception

Post by gpb » Wed Oct 02, 2019 4:23 pm

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.
Gianpaolo Bottin
gPhotoShow.com

User avatar
gpb
Site Admin
Posts: 506
Joined: Mon Dec 19, 2011 1:23 am

Re: SEH Exception

Post by gpb » Fri Oct 04, 2019 5:06 pm

here is the updated version, both issues should be fixed, please download and test it:
https://www.gphotoshow.com/files/gpsprosetup64_807.exe
Gianpaolo Bottin
gPhotoShow.com

Post Reply