discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] UHD Source -and- Sink In Same GRC Flowgraph ?


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] UHD Source -and- Sink In Same GRC Flowgraph ?
Date: Tue, 21 Feb 2012 17:20:47 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 02/21/2012 05:05 PM, Iain Young, G7III wrote:
Hi Marcus,

Thanks for the pointers, You Wrote:

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"

Tried it, no improvement.

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

Tried the latest and greatest. I don't think I'll be taking that bet...
...Still doesn't work, but do get a bit more of an error report:

address@hidden:~/FlowGraphs$ ./cw_tx_test.py
linux; GNU C++ version 4.6.1; Boost_104601; UHD_003.004.000-b1f34b4

The program 'python' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 566 error_code 1 request_code 136 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Curiously, I don't get the issue when using the QT GUI sinks, just
the WX. Would this be expected with the OpenGL issue ? Anything
else I can try [without gdbing tonight...]

Further tests indicate that if I remove the Graphical elements,
(replacing them with Null Sinks where needed), and tell GRC
"No GUI" in the Options Block/Generate Options, I get SEGV again.

[Oh and to clarify, it's Ubuntu 11.10 I'm running, not 12.04...Wishful
thinking and not time travel or ultra-fast neutrinos :) ]


Best Regards

Iain



Hmmm, I had a simultaneous send/receive app on USRP1 a few weeks ago that SEGVed. I didn't have time to investigate.
  But perhaps this is the same issue?

Could you reduce it to UHD+"stuff"+innocuous sink -- does that work?



--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]