Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
#1
Question 
How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
I've been using OSCAR to read and display Oximeter data for several years. Once I got the hang of it, no issues. NEVER a crash.

This week it was time to do more readings....

...and now, I can't finish reading the data without OSCAR simply disappearing via a hard crash.

In the UI I see it begin reading...then it loses sync... then poof, it's gone.

Event Viewer says this:


Code:
Faulting application name: svchost.exe_FrameServer, version: 10.0.19041.546, time stamp: 0x058e175a
Faulting module name: OpenCL.dll, version: 2.2.8.0, time stamp: 0x5f217308
Exception code: 0xc0000005
Fault offset: 0x0000000000005c98
Faulting process id: 0x5330
Faulting application start time: 0x01d804a4de5e065d
Faulting application path: C:\WINDOWS\System32\svchost.exe
Faulting module path: C:\WINDOWS\SYSTEM32\OpenCL.dll

Any thoughts? Anything I can do to help track this down? I'm a reasonably experienced tech guy (HW/FW/SW)

Thanks!
Post Reply Post Reply






Donate to Apnea Board  
#2
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
I'm not sure about the OSCAR crash, I will leave that to the people far more familiar with the underside than I am.

As an interim workaround, have you tried saving the data to your computer as an SpO2 file with the Contec software, and then uploading to OSCAR from that file, instead of pulling it from your pulse ox directly?
Post Reply Post Reply
#3
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
You might have had a systems update that broke something. If a PC reboot hasn't corrected the problem, then my next thought is to try and change the graphics driver, from "Desktop OpenGL" to "Software Engine". You can either go to File > Preferences > General > Graphics Engine to set this parameter. Or, hold down the <Shift> key when starting OSCAR.

- Red
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#4
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
(01-09-2022, 09:34 AM)Crimson Nape Wrote: If a PC reboot hasn't corrected the problem, then my next thought is to try and change the graphics driver, from "Desktop OpenGL" to "Software Engine".

Or, if the graphics engine is already set to "Software Engine," try changing it to "Desktop OpenGL."  That sometimes fixes weird problems on Windows.
Useful links
Download OSCAR (current version is 1.4.0)
Best way to organize charts
How to attach charts to your post

Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply






Donate to Apnea Board  
#5
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
Good catch!
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#6
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
(01-09-2022, 04:21 AM)Ratchick Wrote: I'm not sure about the OSCAR crash, I will leave that to the people far more familiar with the underside than I am.

As an interim workaround, have you tried saving the data to your computer as an SpO2 file with the Contec software, and then uploading to OSCAR from that file, instead of pulling it from your pulse ox directly?

Woah. Never tried the Contec SW to be honest. Wink
If nothing else works I will try that...
Post Reply Post Reply
#7
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
Changing the graphics driver a few times DID kick it to stop crashing. That's the good news.

Along the way, I found some anomalies, maybe bugs:

1) Starting by holding down shift does change the driver. BUT: it changes it *permanently*. I had to get back to the prefs setting in the application to reset it Sad

2) Switching to software driver was essentially useless. Here are things that were different when starting in Software Driver for graphics (either via a pref change directly or using shift. I switched back and forth several times to verify:

- On restart after shifting to Software Driver, the app UI is completely missing: just OSCAR 1.3.0 in the top left corner
- If I then restart and hold down shift, I get a UI... but:
   - on the right it says "Profile: none" even though my profile is showing
   - I can't select the profile
   - The menus are grayed out
   - If I try to go to File->Preferences it says "please select a profile first"
   - If I use File->Edit Profile, it lets me review the profile info (it IS all there?!). 
- Once I save the profile (no changes, just save), then:
   - I still can't select the profile
   - But now I can enter File->Preferences, and set General->Graphics Driver back to openGL

And THEN... it restarts correctly and everything works as it should, including no more crashes.

Bottom line: a rather strange and fiddly sequence!

I assume at least some of the above is NOT what's intended. Wink

Oh, one more tidbit. WHile in the (nonworking) "Software driver" mode, the debug log is endlessly filled with these lines:
228161: Warning: composeAndFlush: makeCurrent() failed
228162: Warning: composeAndFlush: makeCurrent() failed
228163: Warning: composeAndFlush: makeCurrent() failed
228164: Warning: composeAndFlush: makeCurrent() failed
...

I hope that helps a bit.

Blessings,
Pete
Post Reply Post Reply






Donate to Apnea Board  
#8
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
(01-09-2022, 11:29 PM)MrPete Wrote: 1) Starting by holding down shift does change the driver. BUT: it changes it *permanently*. I had to get back to the prefs setting in the application to reset it Sad

For better or worse, that is what it is designed to do.

2) Switching to software driver was essentially useless. Here are things that were different when starting in Software Driver for graphics (either via a pref change directly or using shift. I switched back and forth several times to verify:

....
Thanks for the details. The software driver is clearly not working with the recent versions of Windows.


Oh, one more tidbit. WHile in the (nonworking) "Software driver" mode, the debug log is endlessly filled with these lines:
228161: Warning: composeAndFlush: makeCurrent() failed

We know. That's one of the symptoms of a malfunctioning software graphics engine.
We have some work to do to straighten out this problem.
Useful links
Download OSCAR (current version is 1.4.0)
Best way to organize charts
How to attach charts to your post

Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#9
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
(01-09-2022, 11:57 PM)GuyScharf Wrote: We have some work to do to straighten out this problem.

Happy to help a bit with debugging/diagnostics. In the real world I'm a multi-decade vexperienced SW/FW/HW dev/architect specializing in breaking stuff. Smile
Post Reply Post Reply
#10
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
(01-10-2022, 12:59 PM)MrPete Wrote: Happy to help a bit with debugging/diagnostics. In the real world I'm a multi-decade vexperienced SW/FW/HW dev/architect specializing in breaking stuff. Smile

Shoot me a PM and tell me what platforms you are familiar with.  Interested in Development or Testing (aka breaking stuff).
Post Reply Post Reply






Donate to Apnea Board  


Possibly Related Threads...
Thread Author Replies Views Last Post
  CMS50F Oximeter Device not Recognized. ThinMountainAir 10 150 7 hours ago
Last Post: SKPC
  Sudden chart display problem [solved, see post #2] ak99 2 106 08-04-2022, 05:24 PM
Last Post: ak99
  reporting time 4Eversleepy 4 118 07-09-2022, 03:29 PM
Last Post: 4Eversleepy
  CMS50F Pulse Oximeter and Mac Catalina issues Bamf66 13 463 06-19-2022, 04:50 PM
Last Post: ThinMountainAir
  time axis of graphs in Oscar mjrPdqkLguUgGLE 1 171 05-30-2022, 06:10 PM
Last Post: GuyScharf
  Oscar Time Scale DanEm 1 190 04-22-2022, 01:15 PM
Last Post: pholynyk
  OSCAR import of Viatom/Wellue data - DST time base SleeperAwake21 4 269 03-31-2022, 09:41 AM
Last Post: SleeperAwake21


New Posts   Today's Posts






About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.