I recently had the same 'segmentation fault' error which was due to having
'gr-baz' installed. See this post for info on debugging the segmentation
fault:

http://lists.gnu.org/archive/html/discuss-gnuradio/2013-11/msg00232.html

Essentially, run the following:

gbd --args python $(which gnuradio-companion)
run
#wait for crash
bt

Look at the top of the output for a gr module that looks suspicious, in my
case uninstalling gr-baz fixed the issue.

I'd highly recommend using the pybombs technique to install GNU Radio as a
non-root user.  It also allows you to install and uninstall GNU Radio and
lots of other stuff as simply as running the following:

./pybombs install uhd gnuradio hackrf

The url for the pybombs wiki is here:

http://gnuradio.org/redmine/projects/pybombs/wiki

If you choose this route, make sure you uninstall everything related to
uhd/gnuradio/hackrf/osmosdr etc by manually going into each project's
'build' folder and typing:

sudo make uninstall

...and then run a final check by searching for anything related to
uhd/gnuradio.hackrf/osmosdr etc by running the following:

sudo find / -name gnuradio

Mike

--
Mike Jameson M0MIK BSc MIET
Email: m...@scanoo.com
Web: http://scanoo.com


On Mon, Aug 25, 2014 at 9:23 PM, Marcus Müller <marcus.muel...@ettus.com>
wrote:

>  The ctrlport related warnings are ok (they are but warnings), the
> segfault is bad; as you might imagine, it's not the easiest thing to debug.
> However, I really hope you uninstalled Ubuntu's gnuradio package first,
> before using build-gnuradio?
> Also, you'll *still* have to install libhackrf and gr-osmosdr to get the
> sources you were missing in the first place.
>
> Greetings,
> Marcus
>
>
> On 25.08.2014 21:55, GeorgeF wrote:
> > One thing I tried was "wget http://www.sbrac.org/files/build-gnuradio
> && chmod a+x ./build-gnuradio && ./build-gnuradio"
> >
> > After almost 4 hours it completed.  Didn't notice any errors during the
> build.
> >
> > However now when I run gnuradio-companion I get:
> > Warning: Block key "blocks_crtlport_monitor" not found when loading
> category tree.
> > Warning: Block key "blocks_ctrlport_monitor_performance" not found when
> loading category tree.
> > Segmentation fault (core dumped)
> >
> > What am I missing?
> >
> > George
> >
> >
> >
> > On 8/25/2014 09:07, Marcus Müller wrote:
>
> The gnuradio package doesn't contain every GNU Radio module that exists ;)
> you still need to install gr-osmosdr and libhackrf; see my last mail[1].
>
> Greetings,
> Marcus
>
> [1]
> http://lists.gnu.org/archive/html/discuss-gnuradio/2014-08/msg00361.html
>
> On 25.08.2014 14:58, GeorgeF wrote:
> >>> I am trying to find the osmocom and/or RTL-SDR sources.
> >>>
> >>> I'm running GNU Radio Companion 3.7.2.1
> >>>
> >>> In GNC I did a search for osmocom and RTL-SDR and nothing was
> >>> found.
> >>>
> >>> What didn't I setup correctly during the "sudo apt-get install
> >>> gnuradio" install?
> >>>
> >>> Thanks George
> >>>
> >>>
> >>> On 8/24/2014 12:42, Martin Braun wrote:
> >>>> Which source?
> >>>>
> >>>> M
> >>>>
> >>>> On 24 Aug 2014 16:59, "GeorgeF" <av8...@flash.net
> >>>> <mailto:av8...@flash.net> <av8...@flash.net>> wrote:
> >>>>
> >>>> I just installed GNU on a Ubuntu 14.04 LTS machine.
> >>>>
> >>>> Here is how I installed it: "sudo apt-get install gnuradio" All
> >>>> appeared good, I thing typed "gnuradio-companion" and got the it
> >>>> up and running.
> >>>>
> >>>> Problem: On the right side of the display I am missing a few
> >>>> things, 1 of which is SOURCE.  (SINK also is mission).
> >>>>
> >>>> What did I do wrong?
> >>>>
> >>>> Thanks George
> >>>>
> >>>>
> >>>> _______________________________________________ Discuss-gnuradio
> >>>> mailing list Discuss-gnuradio@gnu.org
> >>>> <mailto:Discuss-gnuradio@gnu.org> <Discuss-gnuradio@gnu.org>
> >>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________ Discuss-gnuradio
> >>>> mailing list Discuss-gnuradio@gnu.org
> >>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >>>
> >>>
> >>>
> >>> _______________________________________________ Discuss-gnuradio
> >>> mailing list Discuss-gnuradio@gnu.org
> >>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >>>
>
> >>
> >> _______________________________________________
> >> Discuss-gnuradio mailing list
> >> Discuss-gnuradio@gnu.org
> >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> >>
> >
> >
> > _______________________________________________
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to