[macports] gqrx-devel @2.2.1_20131204 build crashes at

235 views
Skip to first unread message

Alexander Janssen

unread,
Dec 8, 2013, 5:32:59 AM12/8/13
to gq...@googlegroups.com
The current gqrx-devel version in Macports crashes right when I try to start the DSP (FCDPP here).
It doesn't seem to be dependent on a particular setting/demodulator.
Reproducibility: Always.

Stdout:
$ /opt/local/bin/Gqrx
Mac OS; Clang version 4.2 (clang-425.0.27); Boost_105400; UHD_003.006.000-0-unknown
gr-osmosdr v0.1.0-46-g05d51b53 (0.1.1git) gnuradio 3.7.2.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf netsdr
Using Volk machine: sse4_2_64_orc
gr::fft: can't import wisdom from /Users/ajanssen/.gr_fftw_wisdom
Using Default Device
Built-in Output is the chosen device using Core Audio as the host
gr-osmosdr v0.1.0-46-g05d51b53 (0.1.1git) gnuradio 3.7.2.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf netsdr
Using FUNcube Dongle V2.0 (FUNcube Dongle V2.0)
Using Default Device
Built-in Output is the chosen device using Core Audio as the host
PortAudio V19-devel (built May 22 2013 06:04:37) (version 1899)
Number of audio devices: 4
  0:  Built-in Microphone  I:2  O:0
  1:  Built-in Input  I:2  O:0
  2:  Built-in Output  I:0  O:2
  3:  FUNcube Dongle V2.0    I:2  O:0
Using Default Device
Built-in Output is the chosen device using Core Audio as the host
Using Default Device
Built-in Output is the chosen device using Core Audio as the host
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.
terminate called throwing an exceptionAbort trap: 6

More info:
$ port list gqrx-devel
gqrx-devel                     @2.2.1_20131204 science/gqrx
$ port list depof:gqrx-devel
gnuradio                       @3.7.2.1        science/gnuradio
gr-osmosdr                     @20131204       science/gr-osmosdr
pkgconfig                      @0.28           devel/pkgconfig
qt4-mac                        @4.8.5          aqua/qt4-mac


Give me a poke if you need more information.

Thanks, Alex.

Alexandru Csete

unread,
Dec 8, 2013, 5:39:04 AM12/8/13
to gq...@googlegroups.com
Apparently, the macports version does not include FCD Pro+ support. It
would still be nice if it wouldn't crash, though may I may fix it
eventually.
Alex
> --
> You received this message because you are subscribed to the Google Groups
> "Gqrx SDR" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gqrx+uns...@googlegroups.com.
> To post to this group, send email to gq...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gqrx/5b522e4f-8088-4a06-a79d-33a46b00c4f7%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Alexander W. Janssen

unread,
Dec 8, 2013, 6:03:46 AM12/8/13
to gq...@googlegroups.com

Uh, so should that be included in osmos? I tried to build the radio block for the FCDPP, but it didn't work out (pthread-barrier problems In USB-HID - it's supposed to work, a workaround is implemented, but...)

How did you manage to link support into your Gqrx binary?

Cheers, Alex.

You received this message because you are subscribed to a topic in the Google Groups "Gqrx SDR" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gqrx/-zOxsPEl704/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gqrx+uns...@googlegroups.com.

To post to this group, send email to gq...@googlegroups.com.

Alexandru Csete

unread,
Dec 8, 2013, 6:27:35 AM12/8/13
to gq...@googlegroups.com
On Sun, Dec 8, 2013 at 12:03 PM, Alexander W. Janssen
<alexande...@gmail.com> wrote:
> Uh, so should that be included in osmos? I tried to build the radio block
> for the FCDPP, but it didn't work out (pthread-barrier problems In USB-HID -
> it's supposed to work, a workaround is implemented, but...)
>
> How did you manage to link support into your Gqrx binary?

The gqrx 2.2 binary was built without macports and it took several
weeks to complete. The gr-fcdproplus source was written for linux only
and I had to patch it to work with osx. I believe my patches got
included upstream later, though I don't remember. Basically, the hid
files and hid related cmake code in CMakeLists.txt files should be
very similar to what is in the gr-fcd module in gnuradio.

Alex

Alexandru Csete

unread,
Jan 21, 2014, 4:39:30 PM1/21/14
to gq...@googlegroups.com
Macports now include gr-fcdproplus and so an update of gqrx will
probably include FCD Pro+ support :-)

Alex

Michael Dickens

unread,
Jan 22, 2014, 9:32:35 AM1/22/14
to gq...@googlegroups.com
Yup: Macports now includes gr-fcdproplus, and folks with an FCD Pro+ have verified that it works. I've updated the gr-osmosdr port to make use of this new capability by default.

It looks like Gqrx does not directly use gr-fcdproplus or fcdproplus; instead, it gains access through gr-osmosdr, yes? - MLD

Alexandru Csete

unread,
Jan 22, 2014, 9:55:06 AM1/22/14
to gq...@googlegroups.com
Hi Michael,

Correct, gqrx uses FCD Pro+ through gr-osmosdr. The only thing
required is to have gqrx and gnuradio built with portaudio support but
you already got that part done a while ago.

Alex
> --
> You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
> To post to this group, send email to gq...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/gqrx/7032A1D6-9189-40AA-8901-9B60155358B2%40gmail.com.

Stefano Pini

unread,
Jan 22, 2014, 10:22:45 AM1/22/14
to gq...@googlegroups.com

Good news guys...
but... I don't know how to do it... :(

So' I've performed the port selfupdate and port update, now gr-fcdproplus is up-to-date, how to use it with gqrx?

Thanks a lot,
Stefano

---
Stefano Pini

Michael Dickens

unread,
Jan 22, 2014, 1:46:17 PM1/22/14
to gq...@googlegroups.com
Hi Stefano - I think you'll also need to update gr-osmosdr. You can check this via "port installed | grep osmo" and see what comes up. If the "(active)" version of gr-osmosdr contains a variant +fcdproplus then you should be good to go with Gqrx; if not, install or update gr-osmosdr (+fcdproplus is in the defaults). If this does not work, let me/the list know and we'll help you work it out. - MLD

Stefano Pini

unread,
Jan 23, 2014, 12:29:01 PM1/23/14
to gq...@googlegroups.com
Hi Michael,
thanks a lot, but it still not run...

I've reinstalled both osmodr than gqrx-devel but, even if all seems ok,  fcdp+ is not show on the device list (see image).

Here the output of the port installed:

  gr-osmosdr @20140118_0+docs+fcdproplus+hackrf+python27+rtlsdr+swig+uhd (active)
  gqrx-devel @2.2.1_20140121_0 (active)

Here the logs when I run gqrx:

$ gqrx
Mac OS; Clang version 5.0 (clang-500.2.79); Boost_105500; UHD_003.006.002-0-unknown

2014-01-23 18:25:33.004 gqrx[1811:507] ApplePersistence=NO
gr-osmosdr v0.1.0-64-gd960d111 (0.1.1git) gnuradio 3.7.2.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf rfspace 
Using Volk machine: sse4_2_64_orc
gr-osmosdr v0.1.0-64-gd960d111 (0.1.1git) gnuradio 3.7.2.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf rfspace 
<snip>


Thanks a lot,
Stefano

---
Stefano Pini





--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
To post to this group, send email to gq...@googlegroups.com.

Alexandru Csete

unread,
Jan 23, 2014, 1:36:25 PM1/23/14
to gq...@googlegroups.com
On Thu, Jan 23, 2014 at 6:29 PM, Stefano Pini <ste...@gmail.com> wrote:
Hi Michael,
thanks a lot, but it still not run...

I've reinstalled both osmodr than gqrx-devel but, even if all seems ok,  fcdp+ is not show on the device list (see image).

Here the output of the port installed:

  gr-osmosdr @20140118_0+docs+fcdproplus+hackrf+python27+rtlsdr+swig+uhd (active)
  gqrx-devel @2.2.1_20140121_0 (active)

gqrx must be the +portaudio variant otherwise it won't be able to detect the FCD Pro+. GNU Radio must also be installed with the +portaudio option.

Alex

Michael Dickens

unread,
Jan 23, 2014, 1:47:56 PM1/23/14
to gq...@googlegroups.com
Interesting; good to know! gnuradio and gnuradio-devel are +portaudio by default, so Stefano just needs to do:
{{{
sudo port install gqrx-devel +portaudio
}}}
to get things working, it sounds like.

I'm going to start working on gr-audio-osx shortly, so that this issue should go away (along with the start/stop bug, too). I hope to get these changes into the GR 2.7.3 release, expected mid/late February. - MLD

Alexandru Csete

unread,
Jan 23, 2014, 2:27:35 PM1/23/14
to gq...@googlegroups.com
On Thu, Jan 23, 2014 at 7:47 PM, Michael Dickens <mich...@gmail.com> wrote:
>
> Interesting; good to know! gnuradio and gnuradio-devel are +portaudio by default, so Stefano just needs to do:
> {{{
> sudo port install gqrx-devel +portaudio
> }}}
> to get things working, it sounds like.
>
> I'm going to start working on gr-audio-osx shortly, so that this issue should go away (along with the start/stop bug, too). I hope to get these changes into the GR 2.7.3 release, expected mid/late February. - MLD
>

That sounds great, Michael. But it will also require that we modify
gqrx to use the OSX audio API for getting a list of audio devices
because gr-audio does not have that API.

Alex

Stefano Pini

unread,
Jan 23, 2014, 5:47:26 PM1/23/14
to gq...@googlegroups.com

Hi Michael,
compiled with +portaudio gqrx run perfectly with funcubepro+ :)

Thanks a lot to you and Alex,
Stefano


---
Stefano Pini

--
You received this message because you are subscribed to the Google Groups "Gqrx SDR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gqrx+uns...@googlegroups.com.
To post to this group, send email to gq...@googlegroups.com.

Michael Dickens

unread,
Jan 31, 2014, 10:45:23 AM1/31/14
to gq...@googlegroups.com
On Jan 23, 2014, at 5:47 PM, Stefano Pini <ste...@gmail.com> wrote:
> compiled with +portaudio gqrx run perfectly with funcubepro+ :)
> Thanks a lot to you and Alex,


Great to hear that, Stefano. Thanks for reporting back! When I do get to fixing gr-audio for OSX, I'll push the branch info here for folks to test out with Gqrx, so that maybe we can push all of the changes at the same time. - MLD

Reply all
Reply to author
Forward
0 new messages