I want my program to be platform independent (it should work on Linux,
OS X and Windows).
Although it runs stable on Linux (Xubuntu 14.04 amd64), on both Windows
(Win 7 x64) and OS X (10.9) it´s crashing after about a minute.
For OS X I followed the build guide provided (installed using ports,
then uninstalled and compiled from source).
This is the console output:
-----
Mac OS; Clang version 5.1 (clang-503.0.38); Boost_105500;
UHD_003.007.001-0-unknown
gr-osmosdr v0.1.1-10-g9cb023b0 (0.1.2git) gnuradio 3.7.5git-127-g41d08443
built-in source types: file fcd rtl rtl_tcp uhd rfspace
Using device #0 Realtek RTL2838UHIDIR SN: 00000093
Found Elonics E4000 tuner
Using Volk machine: avx_64_mmx_orc
/Users/stefan/.gnuradio/prefs/vmcircbuf_default_factory: No such file or
directory
vmcircbuf_createfilemapping: createfilemapping is not available
gr::vmcircbuf_sysv_shm: shmat(1): Too many open files
gr::vmcircbuf_sysv_shm: shmat(1): Too many open files
gr::vmcircbuf_sysv_shm: shmat(1): Too many open files
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::vmcircbuf_mmap_shm_open: mmap or shm_open is not available
Segmentation fault: 11
----- Other example -----
Mac OS; Clang version 5.1 (clang-503.0.38); Boost_105500;
UHD_003.007.001-0-unknown
gr-osmosdr v0.1.1-10-g9cb023b0 (0.1.2git) gnuradio 3.7.5git-127-g41d08443
built-in source types: file fcd rtl rtl_tcp uhd rfspace
Using device #0 Realtek RTL2838UHIDIR SN: 00000093
Found Elonics E4000 tuner
Using Volk machine: avx_64_mmx_orc
VOLK: tried to free a non-VOLK pointer
Segmentation fault: 11
-----
Sometimes "VOLK: tried to free a non-VOLK pointer" does not result in a
crash and the program keeps running normally.
For Windows I compiled GNU Radio using Visual Studio 2012 (x64 build).
It´s the same here: It works fine for about a minute, then it crashes.
When I start to debug using Visual Studio, it shows me that the crash
occurred in the free-function (I cannot see the call stack).
Interestingly on Linux it uses the Volk-machine "avx_64_mmx", on Mac OS
X "avx_64_mmx_orc" (on Windows I don´t know), although it´s the same
computer. Is there a difference between these two and could
"avx_64_mmx_orc" be the reason for the crashes? Can I force GNU Radio to
use another Volk-machine? Any other ideas?
Best regards
Stefan
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment