memcpy seg fault with mmaped address

David Frank david_frank95 at yahoo.com
Fri Jul 20 13:38:59 EDT 2018


Hi, 
I'm memcpy data into mmaped address with 2GB file, after a few files, it would fault with the following stack dump:
received signal SIGSEGV, Segmentation fault.[Switching to Thread 0x7ffff5e95700 (LWP 3028)]
__memmove_avx_unaligned_erms ()
    at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:494
494    ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such
file or directory.
(gdb) bt
#0  __memmove_avx_unaligned_erms ()
    at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:494


Any idea?
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180720/6b4cf5a1/attachment.html>


More information about the Kernelnewbies mailing list