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

Crash when file input is used but no file name given #1374

Open
reald opened this issue Sep 20, 2024 · 1 comment
Open

Crash when file input is used but no file name given #1374

reald opened this issue Sep 20, 2024 · 1 comment

Comments

@reald
Copy link

reald commented Sep 20, 2024

Steps to reproduce:

  1. Open gqrx and configure i/o device as "Complex Sampled IQ File".
  2. Leave defaults (file=/path/to/your/file), select ok
  3. gqrx complains that the file cannot be opened. Ignore and hit ok.
  4. Go to I/Q recording and replay tool
  5. Play a fancy sigmf file
  6. After file is completely played hit Play button to end the I/Q recording tool
  7. gqrx crashes because it cannot open /path/to/your/file

Affected version: 2.17.5

@vladisslav2011
Copy link
Contributor

Thanks.
Confirmed.
My fork is affected too.
Putting https://github.com/gqrx-sdr/gqrx/blob/master/src/applications/gqrx/mainwindow.cpp#L1766 into try...catch block fixes the issue.
Possible fix: vladisslav2011@786f00f

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

2 participants