Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: System.NullReferenceException #45

Open
CageFox opened this issue Sep 27, 2015 · 15 comments
Open

Bug: System.NullReferenceException #45

CageFox opened this issue Sep 27, 2015 · 15 comments
Assignees
Labels

Comments

@CageFox
Copy link

CageFox commented Sep 27, 2015

RPS often falls with this exception:

Сигнатура проблемы:
CLR20r3
01: RPS4.exe
02: 4.5.9.0
03: 55b67214
04: RPS4
05: 4.5.9.0
06: 55b67214
07: 14b
08: 6e
09: System.NullReferenceException
Version: 6.3.9600.2.0.0.256.48
Lang1049
1: 5809
2: 580900b529c7dbbc59a95eaef54aadb0
3: 6837
4: 6837a3a0b5aaa4c8bda65825368f8a17

@marijnkampf marijnkampf self-assigned this Sep 28, 2015
@marijnkampf marijnkampf changed the title Bug Bug: System.NullReferenceException Sep 28, 2015
@marijnkampf
Copy link
Owner

Are there any particular circumstances that this occurs?

@CageFox
Copy link
Author

CageFox commented Sep 28, 2015

No, just randomly. It shows raw blue screen instead of photo and when I try to see my desktop back the error window appears

@marijnkampf
Copy link
Owner

Which version of Windows are you running?

@CageFox
Copy link
Author

CageFox commented Sep 28, 2015

Windows 8 64bit

@CageFox
Copy link
Author

CageFox commented Sep 28, 2015

Is there any way to find which of my thousands pictures causes the error? May be some debug log "showing picture .1.. ok\nshowing picture ..2. ok"
?

@marijnkampf
Copy link
Owner

Yes there is:

  • In the RPS Configuration screen (Press S whilst screensaver is running or Right click desktop > Personalize > Screen Saver > Settings...)
  • Select Slideshow tab
  • Show advanced settings...
  • Check Debug log

If you identify particular images / files that cause a crash I would really appreciate it if you would be able to post (a selection of) them to GitHub or email ( see http://www.abscreensavers.com/contact ), so I can create a fix for RPS.

@CageFox
Copy link
Author

CageFox commented Sep 28, 2015

Ok. And where is this debug log location?

@CageFox
Copy link
Author

CageFox commented Sep 28, 2015

BTW. This exception unhandled, but you can handle it and display informative message on the screen ;)

@marijnkampf
Copy link
Owner

Next to the Check Debug log checkbox there is a button "Open log location in Explorer". Typically this is C:\users[user name]\AppData\Local\Random Photo Screensaver\debug_#date#.txt.

BTW That is why I'm hoping you can send me a sample file so I can fix the issue :)

@CageFox
Copy link
Author

CageFox commented Sep 28, 2015

Ok. Thou the sample picture may contain very explicit content ;)

@marijnkampf
Copy link
Owner

Please keep it PG rated on GitHub, if the explicit content are the only ones causing a crash please use email address from contact page :/

@CageFox
Copy link
Author

CageFox commented Oct 15, 2015

The trouble image not appears in the debug log. Last image in the log is ok, and then screensaver falling in blue screen without record in log
So, I still unable to detect one

@marijnkampf
Copy link
Owner

The debug log is written before the file is accessed so it should have written it before it crashed. It could be that the issue isn't a particular file as I expected. Would you either be able to run RPS on a subset of images and keep removing images until it crashes or navigate through your images in RPS using the shortcuts and seeing whether it crashes on a particular image?

@CageFox
Copy link
Author

CageFox commented Oct 16, 2015

No, this not possible. I've got about 8000 pictures, it will take too long time to find buggy one. May be you can add some debug code and may be send me debug version with extended trace of exception stack?

@marijnkampf
Copy link
Owner

Fair enough, I've opened a separate issue to for adding a global exception catch #49

I'll let you know when it's available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants