Something like this usually points to ABI mismatches, although not on a fresh build. Hmm... is UHD or GNU Radio installed twice on your machine? And did you do a sudo ldconfig?
Cheers, M On 03/06/2016 03:49 PM, Eugene Grayver wrote: > Just rebuilt GR using pybombs (went very smoothly). However, > encountered a very weird bug -- segfault on 'from gnuradio import uhd'. > The machine does not have any UHD devices attached (have not yet > checked what happens if there's in fact a device). Here's a backtrace > from gdb. Apparently something bad happens in high_res_timer. I > verified the system paths $LD_LIBRARY_PATH, $PYTHONPATH, $PATH and they > all point to the latest pybombs install. > > > I've never seen this one before... (after the backtrace, there's some > more info) > > > > > Core was generated by `python -c from gnuradio import uhd'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x000000000001e1a6 in ?? () > (gdb) bt > #0 0x000000000001e1a6 in ?? () > #1 0x00007f95cf2066f0 in strstr (__needle=0x7f95cf290944 "swig_ptr: ", > __haystack=0x7f95cf27d210 "high_res_timer_now() -> > gr::high_res_timer_type") at /usr/include/string.h:337 > #2 SWIG_Python_FixMethods (methods=0x7f95cf4ba500 <SwigMethods>, > const_table=0x7f95cf4c0880 <swig_const_table>, > types=0x7f95cf4c08e0 <swig_types>, > types_initial=0x7f95cf4b8b20 <swig_type_initial>) > at > /home/gnuradio_latest/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:45975 > #3 init_uhd_swig () > at > /home/gnuradio_latest/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46096 > #4 0x00000000004268bc in _PyImport_LoadDynamicModule () > #5 0x000000000046232a in ?? () > #6 0x000000000052c6d5 in PyEval_EvalFrameEx () > #7 0x000000000052cf32 in PyEval_EvalFrameEx () > #8 0x000000000055c594 in PyEval_EvalCodeEx () > #9 0x00000000005b7392 in PyEval_EvalCode () > #10 0x00000000005b744a in PyImport_ExecCodeModuleEx () > #11 0x0000000000579f0f in ?? () > #12 0x000000000055d3a3 in ?? () > #13 0x000000000055d77c in ?? () > ---Type <return> to continue, or q <return> to quit--- > #14 0x000000000055db37 in PyImport_ImportModuleLevel () > #15 0x00000000004755e7 in ?? () > #16 0x00000000004da20b in PyEval_CallObjectWithKeywords () > #17 0x000000000052e6d7 in PyEval_EvalFrameEx () > #18 0x000000000055c594 in PyEval_EvalCodeEx () > #19 0x000000000052ca8d in PyEval_EvalFrameEx () > #20 0x000000000055c594 in PyEval_EvalCodeEx () > #21 0x00000000005b7392 in PyEval_EvalCode () > #22 0x00000000005b744a in PyImport_ExecCodeModuleEx () > #23 0x0000000000579f0f in ?? () > #24 0x000000000046b0e7 in ?? () > #25 0x000000000055d3a3 in ?? () > #26 0x00000000004cd49e in ?? () > #27 0x000000000055dbec in PyImport_ImportModuleLevel () > #28 0x00000000004755e7 in ?? () > #29 0x00000000004da20b in PyEval_CallObjectWithKeywords () > #30 0x000000000052e6d7 in PyEval_EvalFrameEx () > #31 0x000000000055c594 in PyEval_EvalCodeEx () > #32 0x000000000052c05b in PyRun_StringFlags () > #33 0x000000000042ef13 in PyRun_SimpleStringFlags () > #34 0x000000000046a88c in Py_Main () > #35 0x00007f95d056aec5 in __libc_start_main (main=0x46ac3f <main>, argc=3, > argv=0x7fff31ce2678, init=<optimized out>, fini=<optimized out>, > ---Type <return> to continue, or q <return> to quit--- > rtld_fini=<optimized out>, stack_end=0x7fff31ce2668) at libc-start.c:287 > #36 0x000000000057497e in _start () > > A few relevant files in the lib folder: > libgnuradio-audio.so libgnuradio-uhd-3.7.10git.so > libgnuradio-blocks-3.7.10git.so libgnuradio-uhd-3.7.10git.so.0 > libgnuradio-pager-3.7.10git.so.0 libuhd.so.003 > libgnuradio-pager-3.7.10git.so.0.0.0 libuhd.so.003.010 > libgnuradio-pager.so libvolk.so > libgnuradio-pmt-3.7.10git.so libvolk.so.1.2.1 > > > > > ________________________ > > Eugene Grayver, Ph.D. > Aerospace Corp., Sr. Eng. Spec. > Tel: 310.336.1274 > ________________________ > > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
