JvanKatwijk / eti-stuff

experimental software for creating and interpreting eti frames
GNU General Public License v2.0
21 stars 12 forks source link

eti-cmdline/devices/rtlsdr-handler/rtlsdr-handler.cpp segfaults if device not in #31

Closed alexmyczko closed 6 years ago

alexmyczko commented 6 years ago

./eti-cmdline-rtlsdr

tunedFrequency = 220352000 OK, functions seem to be loaded No devices found zsh: segmentation fault ./eti-cmdline-rtlsdr

i can see your goto err: but something goes wrong, if no rtl-sdr device is plugged in.

JvanKatwijk commented 6 years ago

You are absolutely right. I apparently forgot to terminate the code labeled err with a throw command. Should be fixed now

Thanks for the message

2018-02-22 22:38 GMT+01:00 Alex notifications@github.com:

./eti-cmdline-rtlsdr

tunedFrequency = 220352000 OK, functions seem to be loaded No devices found zsh: segmentation fault ./eti-cmdline-rtlsdr

i can see your goto err: but something goes wrong, if no rtl-sdr device is plugged in.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/eti-stuff/issues/31, or mute the thread https://github.com/notifications/unsubscribe-auth/AITzwNQ_ZxGsiszs8rYCpRQDRQRKHFReks5tXd5ZgaJpZM4SQBz7 .

-- Jan van Katwijk

+31 (0)15 3698980 +31 (0) 628260355