Segmentation Fault

231 views
Skip to first unread message

Corey Miller

unread,
Jun 1, 2016, 9:10:09 AM6/1/16
to Gqrx SDR
Hi, I don't know if anyone else has had this issue recently, roughly a month ago I had no issues, GQRX ran like a breeze, until today.
For some reason no matter what I do, gqrx will not start. Running gqrx from terminal spits "Segmentation Fault" and nothing more.
gdb gqrx provides nothing useful. "no debug symbols".
What can I do? Why is this happening all of a sudden?

Linux Mint 17.3 (Ubuntu 14.04)

Alexandru Csete

unread,
Jun 1, 2016, 9:53:43 AM6/1/16
to gq...@googlegroups.com
Which version of gqrx are you using and how was it installed?

Do the command line tools for whatever device you are using still work?

Alex

Corey Miller

unread,
Jun 1, 2016, 10:00:53 AM6/1/16
to Gqrx SDR
All of my commands work fine, the only thing not working is gqrx.
I'm using the latest build.
2.5.3-gqrx1~trusty

I've been playing with dependencies and I've been able to get one more line to show up when starting gqrx.

By making a link to libgnuradio-osmosdr.so.0.1.15git for the 0.1.4 and 0.0.0 versions in my library path, the new string shows up.
Still segfaults, but there's this at the top now.

linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.009.004-release

Segmentation fault

Corey Miller

unread,
Jun 1, 2016, 10:06:35 AM6/1/16
to Gqrx SDR
Oh, and it's installed through apt with the ppa list from gqrx.dk
It was working solid a month ago, and for some reason today isn't. I've tried completely removing, re-installing, running a version I compiled from github a while back, even restarting multiple times.
To no avail.

Corey Miller

unread,
Jun 1, 2016, 10:10:08 AM6/1/16
to Gqrx SDR
rtl_fm works, and I used dump1090 just to test and it is working without a hitch.

Alexandru Csete

unread,
Jun 1, 2016, 10:35:00 AM6/1/16
to gq...@googlegroups.com
Maybe one of the dependency libraries got overwritten by a package
from another repository or by a source build. The fact that gqrx
crashes before it even manages to print anything suggests that
something explodes already while the libraries are loaded.

If you build gqrx from source you can enable debug with
-DCMAKE_BUILD_TYPE=debug or -DCMAKE_BUILD_TYPE=relwithdebinfo and then
gdb may give you a hint where it crashes, if the crash occurs in gqrx.

Alex


On Wed, Jun 1, 2016 at 4:10 PM, Corey Miller <coreym...@gmail.com> wrote:
> rtl_fm works, and I used dump1090 just to test and it is working without a
> hitch.
>
> --
> 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/41442ce4-370c-414e-b18c-85375fc6e9a5%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Alexandru Csete

unread,
Jun 1, 2016, 3:41:21 PM6/1/16
to gq...@googlegroups.com
On Wed, Jun 1, 2016 at 9:34 PM, Corey Miller <coreym...@gmail.com> wrote:
>> After some toying I've was able to get this from gdb.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xb795c239 in pmt::string_to_symbol(std::string const&) ()
> from /usr/lib/i386-linux-gnu/libgnuradio-pmt.so.3.7.2.1

So, you have GNU Radio 3.7.2.1 from the official Ubuntu repository
installed in addition to the PPA.

Try uninstalling all packages with gnuradio in their name with version
other than 3.7.9

Alex

Corey Miller

unread,
Jun 1, 2016, 3:44:44 PM6/1/16
to Gqrx SDR
gqrx: error while loading shared libraries: libgnuradio-analog.so.3.7.2.1: cannot open shared object file: No such file or directory

The end result thusfar. 

Alexandru Csete

unread,
Jun 1, 2016, 3:56:47 PM6/1/16
to gq...@googlegroups.com
Huh??? I thought you were using gqrx from the PPA, which uses GNU
Radio 3.7.9 so it makes no sense.

Alex

Corey Miller

unread,
Jun 1, 2016, 4:00:54 PM6/1/16
to Gqrx SDR
I've discovered something strange but was able to solve it. The gqrx executable was remaining installed, so even after apt-get purge gqrx gqrx-sdr
There was still an executable to run, I've removed the executable and installed gqrx-sdr from the updated ppa and now it's perfectly fine!
Quite strange.

Alexandru Csete

unread,
Jun 1, 2016, 4:06:53 PM6/1/16
to gq...@googlegroups.com
Ok, glad it works :-)

Alex

Aliaksandr Makarevich

unread,
Jun 2, 2016, 3:57:06 PM6/2/16
to Gqrx SDR
How did you manage to find executable? I can't find it, but the story with hanging repeats after installation.

Robin Gape

unread,
Jun 2, 2016, 6:55:16 PM6/2/16
to gq...@googlegroups.com
Try:
which gqrx (or similar)
the return is the path (in $PATH) to the executable, if the executable exists in the path.

For libraries, locate may be useful.

Robin, G8DQX
Reply all
Reply to author
Forward
0 new messages