|
From: Philippe W. <phi...@sk...> - 2012-11-15 19:48:45
|
On Thu, 2012-11-15 at 07:49 -0800, John Reiser wrote: > > ==15447== error 22 Invalid argument > > ==15447== error VG_(am_shared_mmap_file_float_valgrind) /tmp/vgdb-pipe-shared-mem-vgdb-15447-by-root-on-??? > > Run with "valgrind --trace-syscalls=yes ./maintest" (or use strace) > to find the system call which gives the error, and perhaps a hint > about what is wrong. > > What is the page size on this system? 4KiB ? 16KiB ? A possible cause might be the /tmp file system not allowing files mapped in shared memory. If you do not need vgdb (i.e. not using vgdb directly and/or the valgrind gdbserver and/or callgrind_control and similar), you can probably bypass the problem by giving --vgdb=no. Would be worth in any case to investigate what is wrong with the very relevant suggestions given by John. Philippe |