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
#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
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
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
#5
RE: How to diagnose sudden onset of crashes every time I pull data from my CMS50F?
Good catch!
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#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
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


Possibly Related Threads...
Thread Author Replies Views Last Post
  CMS50F Pulse Oximeter data storage fix john mayo 6 1,432 12-21-2024, 05:52 PM
Last Post: jbeam
  Time Axis Question Heaviside 8 255 12-11-2024, 05:35 PM
Last Post: Crimson Nape
  Oscar crashes when importing Wellue O2 ring data Armorwolf 24 1,119 12-08-2024, 01:11 PM
Last Post: Crimson Nape
  Help with Resmed 11/Wellue O2 time sync SDCat 0 236 11-15-2024, 12:58 PM
Last Post: SDCat
  Data for a specific time frame Person 0 225 11-06-2024, 03:30 PM
Last Post: Person
  Time Change Action ggs5 3 326 11-04-2024, 02:17 PM
Last Post: Crimson Nape
  First time User Cant get data dave42 3 332 10-06-2024, 06:10 PM
Last Post: Crimson Nape


New Posts   Today's Posts


About Apnea Board

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