Categories: BOINC

BOINC Screen Saver Issue

Well I believe I have found and fixed the screen saver issue that has been plaguing the BOINC community since shortly after the 6.2 launch.

This bug wasn’t easy to track down, and was something of a perfect storm as far as the code was concerned.

The prerequisites for this bug were:

  1. Single monitor
  2. Graphics application window gets created behind the screen saver curtain window
  3. Graphics application gets stuck in an infinite loop or deadlocks on startup

We had some backup code in the screen saver to check for keyboard and mouse activity separately from the project application but after the graphics application deadlocks that code was no longer being executed.

The reason that code was no longer being executed stems from the fact that the BroadcastSystemMessage() Windows API waits for a success/failure return value from the application to which it was sending, since the graphics application itself was deadlocked it caused the screen saver to lock up.

I didn’t realize that the BroadcastSystemMessage() API would not timeout on a hung application. So I learned something new this weekend.

If all goes according to plan I’ll be releasing a new 6.4 client as well as a 6.6 client with the screen saver fixes today.

—– Rom

This post was last modified on December 16, 2020 10:08 am

Rom Walton

Share
Published by
Rom Walton

Recent Posts

ROMWNET Upgrades (2020)

2020 turns out to be a hardware refresh year for ROMWNET.   I've upgraded the network…

3 years ago

Blog Migration (Cont’d)

After a bit of research and experimentation, I figured out how to fix my permalink…

3 years ago

Blog Migration

After a seriously long time, I've finally upgraded my blogging platform to WordPress. Dasblog was…

3 years ago

FOLLOWUP: New BOINC Manager Design

Original post: New BOINC Manager Design Project: BOINC Sentinels Some time back, I started BOINC…

10 years ago

New project name needed

So I have been working on a little side project on and off for a…

14 years ago

BOINC in the news… 10/06/2008

Well we got a mention in a newspaper today. http://www.pe.com/localnews/inland/stories/PE_News_Local_S_quake06.85c6b9.html Hurray for QCN@Home. ----- Rom

16 years ago