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