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 ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users