I'm willing to bet that your segfault comes from our friend OpenGL:


Try this before you start your application: 

export
"LIBGL_ALWAYS_INDIRECT=1" 

Also try updating to latest master for Gnu
Radio and UHD. If you're on Ubuntu or Fedora, you can use:


http://www.sbrac.org/files/build-gnuradio 

To do the
download/build/install/post-install dance 

-Marcus 

On Tue, 21 Feb
2012 19:55:45 +0000, Iain Young, G7III wrote: 

> Hi Folks,
> 
> I'm
having some fun and games with gnuradio, a USRP1, and trying to
>
transmit and receive at the same time, using gnuradio-companion.
> 
> A
Simple [UHD SOURCE] ----> [UHD SINK] works perfectly, but when I
> start
to try to do other things, I get a Segmentation Fault from
>
somewhere.
> 
> Even something as simple as this graph SEGVs on me (Yes,
I know it's
> useless, but I cut everything down to as simple as I could
to confirm
> the problem wasn't in my flowgraph, and those blocks were
already in
> my wonderfully crafted flowgraph!):
> 
> [SIGNAL SOURCE
1750Hz] -> [UHD SINK]
> [UHD SOURCE] -> [MULTIPLY CONST] ->
[WX_WATERFALL]
> 
> It does not seem to matter what antennas or sub
devices I
> select (I have twin WBX boards, so am able to switch which
>
antennas do what..)
> 
> My gnuradio installation is from git, just a
few weeks ago, 
> gnuradio-config-info -v shows v3.5.1-43-g309ca769
> 
>
UHD is from the same date (3rd Feb looking at my datestamps),
> and
uhd_find_devices reports:
> 
> linux; GNU C++ version 4.6.1;
Boost_104601; UHD_003.004.000-5b06adb
> 
> for it's version, and does
find my URSP as expected with it's
> dual WBX's. USRP Firmware is from
29-11-2011 (latest I found), Base
> system is Ubuntu 12.04.
> 
> Anyone
have any pointers ? Is this a known issue ? Would upgrading
> to the
very latest HEAD help me ? Or is there something I need to
> do in code
prior to running both a UHD SOURCE and SINK in the same
> flowgraph
under grc ?
> 
> Best Regards
> 
> Iain
> 
>
_______________________________________________
> Discuss-gnuradio
mailing list
> Discuss-gnuradio@gnu.org [1]
>
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio [2]

 


Links:
------
[1] mailto:Discuss-gnuradio@gnu.org
[2]
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