This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/21738] misc/tst-preadvwritev2 and misc/tst-preadvwritev64v2 fail
- From: "markus at trippelsdorf dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 10 Jul 2017 13:23:40 +0000
- Subject: [Bug libc/21738] misc/tst-preadvwritev2 and misc/tst-preadvwritev64v2 fail
- Auto-submitted: auto-generated
- References: <bug-21738-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21738
--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
markus@x4 misc % strace ./tst-preadvwritev64v2
execve("./tst-preadvwritev64v2", ["./tst-preadvwritev64v2"], 0x7ffceb4c3710 /*
54 vars */) = 0
brk(NULL) = 0x75f000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f4f5b0a8000
access("/etc/ld.so.preload", R_OK) = 0
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1, ...}) = 0
mmap(NULL, 1, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x7f4f5b0a7000
close(3) = 0
munmap(0x7f4f5b0a7000, 1) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=168310, ...}) = 0
mmap(NULL, 168310, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4f5b07e000
close(3) = 0
openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\r\2\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=16590728, ...}) = 0
mmap(NULL, 3873088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7f4f5aad0000
mprotect(0x7f4f5ac78000, 2097152, PROT_NONE) = 0
mmap(0x7f4f5ae78000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a8000) = 0x7f4f5ae78000
mmap(0x7f4f5ae7e000, 14656, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4f5ae7e000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f4f5b07b000
arch_prctl(ARCH_SET_FS, 0x7f4f5b07b740) = 0
mprotect(0x7f4f5ae78000, 16384, PROT_READ) = 0
mprotect(0x603000, 4096, PROT_READ) = 0
mprotect(0x7f4f5b0aa000, 4096, PROT_READ) = 0
munmap(0x7f4f5b07e000, 168310) = 0
mmap(NULL, 8, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) =
0x7f4f5b0a7000
brk(NULL) = 0x75f000
brk(0x780000) = 0x780000
getpid() = 14335
openat(AT_FDCWD, "/tmp/tst-preadvwritev.WTFpsh", O_RDWR|O_CREAT|O_EXCL, 0600) =
3
getpid() = 14335
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x7f4f5b07ba10) = 14336
rt_sigaction(SIGALRM, {sa_handler=0x401c80, sa_mask=[ALRM],
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f4f5ab06eb0},
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
alarm(20) = 0
error: tst-preadvwritev2-common.c:38: preadv2 did not fail with an invalid flag
rt_sigaction(SIGINT, {sa_handler=0x401c80, sa_mask=[INT],
sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7f4f5ab06eb0},
{sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
wait4(14336, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 14336
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14336, si_uid=1000,
si_status=1, si_utime=0, si_stime=0} ---
write(1, "error: 1 test failures\n", 23error: 1 test failures
) = 23
getpid() = 14335
unlink("/tmp/tst-preadvwritev.WTFpsh") = 0
exit_group(1) = ?
+++ exited with 1 +++
--
You are receiving this mail because:
You are on the CC list for the bug.