summary refs log tree commit diff stats
path: root/results/classifier/user-mode-bugs/1701973
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/user-mode-bugs/1701973')
-rw-r--r--results/classifier/user-mode-bugs/170197319
1 files changed, 19 insertions, 0 deletions
diff --git a/results/classifier/user-mode-bugs/1701973 b/results/classifier/user-mode-bugs/1701973
new file mode 100644
index 000000000..854647436
--- /dev/null
+++ b/results/classifier/user-mode-bugs/1701973
@@ -0,0 +1,19 @@
+
+
+pread does not work right under qemu-sh4
+
+The pread system call returns a wrong value in some case, in a program running under qemu-sh4 (version 2.9.0).
+
+How to reproduce:
+- Compile the program:
+  sh4-linux-gnu-gcc-5 -O -Wall -static -o test-pread test-pread.c
+- Set environment variable for using qemu-sh4 (actually not needed, since the program is statically linked here).
+- ~/inst-qemu/2.9.0/bin/qemu-sh4 test-pread
+
+Expected output:
+ret=1 errno=0
+
+Actual output:
+ret=0 errno=2
+test-pread.c:44: assertion 'ret == 1' failed
+qemu: uncaught target signal 6 (Aborted) - core dumped
\ No newline at end of file