It is not clear to me why the mmap fails.
A guess : it might be because the /tmp file system does not allow shared
memory files
to be put on this fs ?

You could try to run with -d -d -d -v -v -v to have more details.

Otherwise, you can bypass this particular problem by disabling the
Valgrind gdbserver.
For this, run with  --vgdb=no.

Alternatively, you could try to use --vgdb-prefix=... to put the
gdbserver file on another file system.

Philippe



________________________________

        ==2776== error 22 Invalid argument

        ==2776== error VG_(am_shared_mmap_file_float_valgrind)
/tmp/vgdb-pipe-shared-mem-vgdb-2776-by-root-on-???



        This maps in the code to:



        coregrind/m_gdbserver/remote-utils.c:

        SysRes res = VG_(am_shared_mmap_file_float_valgrind)

                    (sizeof(VgdbShared), VKI_PROT_READ|VKI_PROT_WRITE,

                     shared_mem_fd, (Off64T)0);

                 if (sr_isError(res)) {

                    sr_perror(res, "error
VG_(am_shared_mmap_file_float_valgrind) %s\n",

                              shared_mem);

                    fatal("");





        coregrind/m_aspacemgr/aspacemgr-linux.c:

        extern SysRes VG_(am_shared_mmap_file_float_valgrind)

           ( SizeT length, UInt prot, Int fd, Off64T offset )

        {

           return VG_(am_mmap_file_float_valgrind_flags) (length, prot,


VKI_MAP_FIXED|VKI_MAP_SHARED,

                                                          fd, offset );

        }




____
 
This message and any files transmitted with it are legally privileged and 
intended for the sole use of the individual(s) or entity to whom they are 
addressed. If you are not the intended recipient, please notify the sender by 
reply and delete the message and any attachments from your system. Any 
unauthorised use or disclosure of the content of this message is strictly 
prohibited and may be unlawful.
 
Nothing in this e-mail message amounts to a contractual or legal commitment on 
the part of EUROCONTROL, unless it is confirmed by appropriately signed hard 
copy.
 
Any views expressed in this message are those of the sender.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to