https://bugzilla.redhat.com/show_bug.cgi?id=1381649 --- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> --- A Net::FTPServer::InMem::Server server crashes on allocating memory in IO::Socket::INET->sysread(): $ strace -fq -e open,mmap,brk perl -Ilib t/160portpasv.t 2>&1 | grep pid [pid 11895] open("/dev/null", O_RDONLY) = 4 [pid 11895] open("/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/get_rlimits.al", O_RDONLY) = 4 [pid 11895] open("/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/setrlimit.al", O_RDONLY) = 4 [pid 11895] open("/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/_find_rlimit.al", O_RDONLY) = 4 [pid 11895] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 48355, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f884823d000 [pid 11895] open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 2168568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f88443b5000 [pid 11895] mmap(0x7f88445bf000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = -1 ENOMEM (Cannot allocate memory) [pid 11895] open("/usr/share/zoneinfo/GMT", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 48355, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f884823d000 [pid 11895] open("/lib64/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 2117832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f88441af000 [pid 11895] mmap(0x7f88443b3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x4000) = -1 ENOMEM (Cannot allocate memory) [pid 11895] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 48355, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f884823d000 [pid 11895] open("/lib64/libnss_myhostname.so.2", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 84192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f8848228000 [pid 11895] mmap(0x7f884823a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x11000) = -1 ENOMEM (Cannot allocate memory) [pid 11895] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 48355, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f884823d000 [pid 11895] open("/lib64/libnss_mymachines.so.2", O_RDONLY|O_CLOEXEC) = 4 [pid 11895] mmap(NULL, 290528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f88481e1000 [pid 11895] mmap(0x7f8848224000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x42000) = -1 ENOMEM (Cannot allocate memory) [pid 11895] brk(NULL) = 0x3058000 [pid 11895] brk(0x3085000) = 0x3058000 [pid 11895] mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) [pid 11895] brk(NULL) = 0x3058000 [pid 11895] brk(0x3085000) = 0x3058000 [pid 11895] mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) [pid 11895] mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f883c1af000 [pid 11895] mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x7f883c1af000 [pid 11895] mmap(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory) [pid 11894] --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=11894, si_uid=500} --- [pid 11894] +++ killed by SIGPIPE +++ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx