Ran into a bit of a strange error with useradd today, whenever i run useradd I get a Segmentation fault.
I tried running fsck as i read it might be due to corrupt filesystem, but that didn't report any problems. I reinstalled the passwd package, also to no avail. I ran an strace and it seems it cannot allocate memory, which is strange as it is running as a vm on a machine with 32gb of ram, and is provisioned to use whatever it needs and has 2gb reserved to it, not to mention that top shows only a fraction of that being in use. I recently added ldap integration if that matters at all, although none of the other VMs seem to be having issues with this (granted the others are running CentOs, this being the ldap server) Output of strace: rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 brk(0x2354000) = 0x2354000 brk(0x234c000) = 0x234c000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f25990db000 brk(0x233c000) = 0x233c000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f25990db000, 266240, 528384, MREMAP_MAYMOVE) = 0x7f259905a000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f259905a000, 528384, 1052672, MREMAP_MAYMOVE) = 0x7f2598f59000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2598f59000, 1052672, 2101248, MREMAP_MAYMOVE) = 0x7f2598d58000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2598d58000, 2101248, 4198400, MREMAP_MAYMOVE) = 0x7f2598957000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2598957000, 4198400, 8392704, MREMAP_MAYMOVE) = 0x7f2598156000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2598156000, 8392704, 16781312, MREMAP_MAYMOVE) = 0x7f2597155000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2597155000, 16781312, 33558528, MREMAP_MAYMOVE) = 0x7f2595154000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2595154000, 33558528, 67112960, MREMAP_MAYMOVE) = 0x7f2591153000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2591153000, 67112960, 134221824, MREMAP_MAYMOVE) = 0x7f2589152000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2589152000, 134221824, 268439552, MREMAP_MAYMOVE) = 0x7f2579151000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2579151000, 268439552, 536875008, MREMAP_MAYMOVE) = 0x7f2559150000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f2559150000, 536875008, 1073745920, MREMAP_MAYMOVE) = 0x7f251914f000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f251914f000, 1073745920, 2147487744, MREMAP_MAYMOVE) = 0x7f249914e000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f249914e000, 2147487744, 4294971392, MREMAP_MAYMOVE) = 0x7f239914d000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, NULL, 8) = 0 mremap(0x7f239914d000, 4294971392, 8589938688, MREMAP_MAYMOVE) = -1 EFAULT (Bad address) mmap(NULL, 8589938688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) brk(0x20233c000) = 0x233c000 mmap(NULL, 8590069760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f1f9112b000 munmap(0x7f1f9112b000, 49106944) = 0 munmap(0x7f1f98000000, 18001920) = 0 mprotect(0x7f1f94000000, 135168, PROT_READ|PROT_WRITE) = 0 mmap(NULL, 8589938688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) munmap(0x7f239914d000, 4294971392) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f259c6461e0}, {SIG_DFL, [], SA_RESTORER, 0x7f259c6461e0}, 8) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ output of pwck: # pwck user 'lp': directory '/var/spool/lpd' does not exist user 'news': directory '/var/spool/news' does not exist user 'uucp': directory '/var/spool/uucp' does not exist user 'list': directory '/var/list' does not exist user 'irc': directory '/var/run/ircd' does not exist user 'gnats': directory '/var/lib/gnats' does not exist user 'nobody': directory '/nonexistent' does not exist user 'mysql': directory '/nonexistent' does not exist pwck: no changes and grpck # grpck # smem: # smem PID User Command Swap USS PSS RSS 2504 root /sbin/getty 38400 tty2 0 112 154 808 2506 root /sbin/getty 38400 tty4 0 112 154 808 2507 root /sbin/getty 38400 tty5 0 112 154 808 2508 root /sbin/getty 38400 tty6 0 112 154 808 2505 root /sbin/getty 38400 tty3 0 116 158 812 1942 root /usr/sbin/acpid 0 184 219 652 1 root init [2] 0 200 237 824 2431 root /usr/sbin/cron 0 248 301 840 2450 root /usr/bin/dbus-daemon --syst 0 340 350 620 450 root udevd --daemon 0 348 439 912 451 root udevd --daemon 0 356 447 916 2476 root /usr/sbin/exim4 -bd -q30m 0 520 537 876 2333 root /usr/sbin/sshd 0 584 686 1200 2356 root /usr/sbin/vsftpd 0 560 809 1524 327 root udevd --daemon 0 724 825 1580 2503 root /bin/login -- 0 664 893 2108 2023 root /usr/sbin/apache2 -k start 0 384 1280 7008 2024 root /usr/sbin/apache2 -k start 0 384 1280 7008 2025 root /usr/sbin/apache2 -k start 0 384 1280 7008 2027 root /usr/sbin/apache2 -k start 0 384 1280 7008 2026 root /usr/sbin/apache2 -k start 0 388 1289 7020 2035 root /usr/sbin/nscd 0 1132 1351 2628 1905 root /usr/sbin/rsyslogd -c5 0 1496 1539 2208 2589 root -bash 0 1660 2174 3384 2509 root -bash 0 1696 2210 3420 2587 root sshd: root@pts/0 0 1660 2350 4180 1978 root /usr/sbin/apache2 -k start 0 2136 3150 8992 2362 prosody lua5.1 /usr/bin/prosody 0 4908 5030 5820 2386 root /usr/sbin/slapd -h ldap:/// 0 5276 5346 6088 2981 root /usr/bin/python /usr/bin/sm 0 6684 6748 7504 and memory info on top: KiB Mem: 2061128 total, 263680 used, 1797448 free, 75180 buffers KiB Swap: 2094076 total, 0 used, 2094076 free, 118000 cached and another interesting not, groupadd works fine, but groupdel also gives a segmentation fault. # groupadd testgrp # groupdel testgrp Segmentation fault output of strace on groupdel: rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 brk(0x1c05000) = 0x1c05000 brk(0x1c03000) = 0x1c03000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8171eaa000 brk(0x1bff000) = 0x1bff000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8171eaa000, 266240, 528384, MREMAP_MAYMOVE) = 0x7f8171e29000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8171e29000, 528384, 1052672, MREMAP_MAYMOVE) = 0x7f8171d28000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8171d28000, 1052672, 2101248, MREMAP_MAYMOVE) = 0x7f8171b27000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8171b27000, 2101248, 4198400, MREMAP_MAYMOVE) = 0x7f8171726000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8171726000, 4198400, 8392704, MREMAP_MAYMOVE) = 0x7f8170f25000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8170f25000, 8392704, 16781312, MREMAP_MAYMOVE) = 0x7f816ff24000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f816ff24000, 16781312, 33558528, MREMAP_MAYMOVE) = 0x7f816df23000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f816df23000, 33558528, 67112960, MREMAP_MAYMOVE) = 0x7f8169f22000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8169f22000, 67112960, 134221824, MREMAP_MAYMOVE) = 0x7f8161f21000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8161f21000, 134221824, 268439552, MREMAP_MAYMOVE) = 0x7f8151f20000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8151f20000, 268439552, 536875008, MREMAP_MAYMOVE) = 0x7f8131f1f000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8131f1f000, 536875008, 1073745920, MREMAP_MAYMOVE) = 0x7f80f1f1e000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f80f1f1e000, 1073745920, 2147487744, MREMAP_MAYMOVE) = 0x7f8071f1d000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f8071f1d000, 2147487744, 4294971392, MREMAP_MAYMOVE) = 0x7f7f71f1c000 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, NULL, 8) = 0 mremap(0x7f7f71f1c000, 4294971392, 8589938688, MREMAP_MAYMOVE) = -1 EFAULT (Bad address) mmap(NULL, 8589938688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) brk(0x201bff000) = 0x1bff000 mmap(NULL, 8590069760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f7b69efa000 munmap(0x7f7b69efa000, 34627584) = 0 munmap(0x7f7b70000000, 32481280) = 0 mprotect(0x7f7b6c000000, 135168, PROT_READ|PROT_WRITE) = 0 mmap(NULL, 8589938688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) munmap(0x7f7f71f1c000, 4294971392) = 0 rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, 0x7f8174cda1e0}, {SIG_DFL, [], SA_RESTORER, 0x7f8174cda1e0}, 8) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Segmentation fault