Hi,
I just pulled the latest git sources, and wanted to confirm the
behaviour noted
in Bug #419;
Bug #419: Programs using WxWidgets graphical sinks fail with the error:
gr_vmcircbuf_sysv_shm: shmget (1): Invalid argument
gr_buffer::allocate_buffer: failed to allocate buffer of size 20840 KB
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted
This error does not occur after disabling the graphical sinks, or after
compiling with the option: --without-shm-vmcircbuf .
I’d be happy to test patches if necessary.
Warm Regards,
vvv
On 07/02/2011 02:27 PM, Vincent W wrote:
what(): std::bad_alloc
Aborted
Please try my gr_kludge_one_in_n branch:
http://gnuradio.org/cgit/jblum.git/commit/?id=e147a813faaf89141af06bbf1d782d1ff3d97536
-josh
Thank you for your advice. Unfortunately, this causes make tests to
fail, with
the following error:
Testing gr_vmcircbuf_createfilemapping_factory…
gr_vmcircbuf_createfilemapping: createfilemapping is not available
… gr_vmcircbuf_createfilemapping_factory: Doesn’t work
Testing gr_vmcircbuf_sysv_shm_factory…
… gr_vmcircbuf_sysv_shm_factory: OK
Testing gr_vmcircbuf_mmap_shm_open_factory…
… gr_vmcircbuf_mmap_shm_open_factory: OK
Testing gr_vmcircbuf_mmap_tmpfile_factory…
… gr_vmcircbuf_mmap_tmpfile_factory: OK
…
NOTE: This is supposed to produce an error from gr_block_executor
Error: gr_block_executor: propagation_policy ‘ONE-TO-ONE’ requires
ninputs ==
noutputs
The compile options I used follow:
git clean -x -f -d
./bootstrap
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
git checkout HEAD~500
gnuradio-core/src/lib/general/gr_keep_one_in_n.cc
./configure --enable-usrp2 --enable-gr-usrp2 --enable-gr-wxgui
–enable-grc
–enable-docs --enable-doxygen
–enable-gr-audio-alsa --enable-gnuradio-examples
–enable-gnuradio-core
–enable-gr-audio-oss
–enable-gr-video-sdl --with-md-cpu=x86_64 --with-boost=/usr
–with-boost-libdir=/usr/lib
–enable-qtgui --prefix=/usr
make -j8 || return 1
make check || return 1
Josh B. wrote:
On 07/02/2011 09:38 PM, Vincent W wrote:
Thank you for your advice. Unfortunately, this causes make tests to fail, with
the following error:
I dont see an error. Did you try it out?
Sorry - I closed the terminal I had everything running. I’m building on
arch
linux using a buildscript. Checking our that filed caused the build to
fail - I
guess I didn’t copy enough of the error.
vvv
On 07/02/2011 09:38 PM, Vincent W wrote:
Thank you for your advice. Unfortunately, this causes make tests to fail, with
the following error:
I dont see an error. Did you try it out?
Testing gr_vmcircbuf_createfilemapping_factory…
gr_vmcircbuf_createfilemapping: createfilemapping is not available
… gr_vmcircbuf_createfilemapping_factory: Doesn’t work
createfilemapping is for windows OS only 
-josh
Josh B. wrote:
On 07/02/2011 02:27 PM, Vincent W wrote:
Hi,
I just pulled the latest git sources, and wanted to confirm the behaviour noted
Bug #419: Programs using WxWidgets graphical sinks fail with the error:
Please try my gr_kludge_one_in_n branch:
http://gnuradio.org/cgit/jblum.git/commit/?id=e147a813faaf89141af06bbf1d782d1ff3d97536
Your branch compiles cleanly and seems to work: Applications that
previously
failed to run are now working. Below, please find the configuration
options I
used (after pulling from gnuradio master):
msg "Starting build."
git clean -x -f -d
./bootstrap
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
git pull http://gnuradio.org/cgit/jblum.git gr_kludge_one_in_n
./configure --enable-usrp2 --enable-gr-usrp2 --enable-gr-wxgui
–enable-grc
–enable-docs --enable-doxygen
–enable-gr-audio-alsa --enable-gnuradio-examples --enable-gnuradio-core
–enable-gr-audio-oss
–enable-gr-video-sdl --with-md-cpu=x86_64 --with-boost=/usr
–with-boost-libdir=/usr/lib
–enable-qtgui --prefix=/usr
msg “Starting make…”
make -j8 || return 1
make check || return 1
make DESTDIR=${pkgdir} install || return 1
vvv