Bug 1722 - PulseView hangs randomly if left running (but not acquiring) when a new acquisition is started
Summary: PulseView hangs randomly if left running (but not acquiring) when a new acqui...
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Other (show other bugs)
Version: 0.4.2
Hardware: x86 Windows
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-17 16:23 CEST by Joe Butler
Modified: 2023-10-06 23:59 CEST (History)
0 users



Attachments
Attached Visual Studio Debugger after starting PulseView earlier (39.16 KB, image/png)
2021-08-17 16:23 CEST, Joe Butler
Details
Process Explorer showing the same hang instance. (37.91 KB, image/png)
2021-08-17 16:23 CEST, Joe Butler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Butler 2021-08-17 16:23:05 CEST
Created attachment 744 [details]
Attached Visual Studio Debugger after starting PulseView earlier

PulseView can go for days or hours without crashing (when just left running, but not acquiring). But then when pressing the space bar or clicking Run to perform an acquisition, it will hang sometimes.

I don't know if this is fact, but it seems more likely to hang if the sampling rate has been changed from what is first chosen before doing the first acquisition - but that may be superstition. 

I attached Visual Studio to PulseView after starting it and just left it running in the background while doing ad hoc acquisitions, and when PulseView crashed, I got this screenshot of Visual Studio - I don't know if it will help to determine where the crash/hang occurs.
Comment 1 Joe Butler 2021-08-17 16:23:47 CEST
Created attachment 745 [details]
Process Explorer showing the same hang instance.
Comment 2 Joe Butler 2023-10-06 23:58:58 CEST
This seems to happen after the pins of a FX2 device are reconnected to different points on a DUT. It is probably related to the FX2 temporarily loosing its USB connection for some reason (related to whether DUT is powered or not at the time of the re-wiring).