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

Segmentation Fault when adjusting waveform sizing #705

Closed
dan-gies opened this issue Oct 5, 2022 · 5 comments
Closed

Segmentation Fault when adjusting waveform sizing #705

dan-gies opened this issue Oct 5, 2022 · 5 comments

Comments

@dan-gies
Copy link

dan-gies commented Oct 5, 2022

System Info:

Glscopeclient version: 0.1-59ef026
OS: Windows 10
Oscilloscope: SDS6204A

Description:

While the scope was continuously triggering, I adjusted the Ch1 waveform vertical sizing with my mouse (grab the bottom sizing handle of the Ch1 waveform). This caused a segmentation fault (see attached video).

2022-10-05.11-26-18.mp4
@azonenberg
Copy link
Collaborator

Is this reproducible?

Please post a backtrace and output of running with --debug up to the point of the failure.

@dan-gies
Copy link
Author

dan-gies commented Oct 5, 2022

Yes it is. I'll grab that.

@bvernoux
Copy link
Contributor

bvernoux commented Oct 5, 2022

A good hint to debug with mingw64 is to do such steps in mingw64 shell

cd ~
cd glscopeclient_build
winpty gdb ./glscopeclient.exe
set pagination off
set args --debug
break abort
run

When it break you can use following gdb commands to have different backtrace

bt
frame
where
thread apply all bt

@dan-gies
Copy link
Author

dan-gies commented Oct 5, 2022

backtrace

@azonenberg
Copy link
Collaborator

Closing as glscopeclient is deprecated now. File a new ticket for any crashes in ngscopeclient.

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

No branches or pull requests

3 participants