-
Notifications
You must be signed in to change notification settings - Fork 130
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
modes_gui crashes when switching to osmocom source #75
Comments
hi, i have the same problem, with the same issues. Qt has caught an exception thrown from an event handler. Throwing libc++abi.dylib: terminating with uncaught exception of type swig::stop_iteration |
Hi |
I am having the same issue. Any idea on how to overcome this? This is my setup: Mac OS 10.10.5 |
@mrivault: are you also on MacOS? |
I might add: For me it even crashes with the above mentioned QT exception even if my HackRF is not connected. It seems to me that the error occurs even before trying to access the device. Here is the console output: gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.8 FATAL: No supported devices found to pick from. Trying to fill up 1 missing channel(s) with null source(s). Qt has caught an exception thrown from an event handler. Throwing libc++abi.dylib: terminating with uncaught exception of type swig::stop_iteration |
yes i'm on Mac 10.9.5
Also i've made some test this week end, and it works on my VM (Vmware) of Kali 2.0. (installed on my mac)
You should test if your system handle the hackrf : you enter on a terminal :
hackrf_info
if you have the info of the version etc... it meens that it's ok
if not, you should try "sudo rmmod hackrf" and test again hackrf_info and it should work.
otherwise, you should go on the gnuradio PyBOMBS wiki and download the right package :
http://gnuradio.org/redmine/projects/pybombs/wiki
bestregards
Micha
|
I don't think that the hackrf is the problem. As others mentioned, using modes_rx wworks wthout a problem (and valid ADS-B messages are received). Although other application work fine. It seems that there is a problem with the GUI part. When you select OSMOCON as input device, it tries to run something which throws an exception. Wether hackrf is connected or not. Maybe it has something to do with unhiding the gain input field of the GUI? Unfortunately, for the GUI part no source code is provided - which means we cannot look into it and check what's causing this issue. Just for completeness sake, here is my hackrf_info output and the QT error message with the hackrf connected: Lab12007:~ lepifo$ hackrf_info Lab12007:~ lepido$ modes_gui gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.8 libc++abi.dylib: terminating with uncaught exception of type swig::stop_iteration |
The GUI code is all there, in modes_gui. It's all just python. I can't replicate this as I don't currently have access to a Mac machine. On Mon, Sep 7, 2015, 11:53 PM lepido [email protected] wrote:
|
Thanks, bistromath. I missed that one. Ok, what seems to be the problem is the code which populates the dropdown list for the sampling rates. Here is a (admittedly very ugly) hotfix. Replace these lines in apps/modes_gui: 238 self.rates = [rate.start() for rate in self.src.get_sample_rates() with this (values for HackRF One): 238 self.rates = [8.e6, 10.e6, 20.e6] Although comment out / delete line 239 & 240. Recompile and it should work.... Now I have another "problem". The Google Maps map doesn't show up and it prints "undefined line 0: ReferenceError: Can't find variable: google" into the console. Any idea where this might come from? |
I'm having the same issue on my mac osx with bladerf gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.8 libc++abi.dylib: terminating with uncaught exception of type swig::stop_iteration How can i fix this? i have been trying for a while to find a way. |
So the issue looks like a bug in Osmocom, it's throwing an exception when I Can one of you open up a Python instance and type the following:
...and do this both with and without your HackRF/BladeRF/RTLSDR plugged in, Thanks. On Thu, Sep 10, 2015 at 9:29 AM Ali [email protected] wrote:
|
@bistromath From RTLSDR:
From BladeRF:
|
I can confirm, that the get_sample_rates() call will result in the memory leak issue on Mac OS as well (with and without a HackRF attached). Here is the output: >>> b=[rate for rate in a.get_sample_rates()]
>>> swig/python detected a memory leak of type 'swig::SwigPyIterator *', no destructor found.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: iter() returned non-iterator of type 'SwigPyObject' |
Hi, Fatal: No supported devices found to pick from. Trying to fill up 1 missing channel(s) with null source(s). /root/.gnuradio/prefs/vmcircbuf_default_factory: No such file or directory vmcircbuf_createfilemapping: createfilemapping is not availabe. Any suggestions to fix it |
This happens when you choose the Osmocom source but don't have a device On Wed, Dec 2, 2015 at 8:14 AM bhlaawckk [email protected] wrote:
|
Have the same issue on OS X. Osmocom works fine with |
When running modes_gui, the GUI will open, but switching to the osmocom source, it crashes with the following error. I've test this with a RTLSDR and BladeRF with the same result. modes_rx works fine.
$ modes_gui
Mac OS; Clang version 6.1.0 (clang-602.0.53); Boost_105900; UHD_003.008.005-MacPorts-Release
gr-osmosdr v0.1.x-xxx-xunknown (0.1.5git) gnuradio 3.7.8
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
libc++abi.dylib: terminating with uncaught exception of type swig::stop_iteration
Abort trap: 6
The text was updated successfully, but these errors were encountered: