https://bugs.kde.org/show_bug.cgi?id=444552

            Bug ID: 444552
           Summary: memcheck/tests/sem fails on s390x with glibc 2.34
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: m...@klomp.org
  Target Milestone: ---

Passes on Fedora 34 with glibc 2.33, Fails with glibc 2.34:

--- sem.stderr.exp      2021-10-28 11:43:42.259542045 -0400
+++ sem.stderr.out      2021-10-28 11:55:09.629589684 -0400
@@ -1,4 +1,28 @@

+Syscall param semtimedop(timeout) points to unaddressable byte(s)
+   at 0x........: semtimedop_syscall (semtimedop.c:33)
+   by 0x........: semtimedop (semtimedop.c:44)
+   by 0x........: main (sem.c:83)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param semtimedop(timeout) points to unaddressable byte(s)
+   at 0x........: semtimedop_syscall (semtimedop.c:33)
+   by 0x........: semtimedop (semtimedop.c:44)
+   by 0x........: main (sem.c:115)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param semtimedop(timeout) points to unaddressable byte(s)
+   at 0x........: semtimedop_syscall (semtimedop.c:33)
+   by 0x........: semtimedop (semtimedop.c:44)
+   by 0x........: main (sem.c:127)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
+Syscall param semtimedop(timeout) points to unaddressable byte(s)
+   at 0x........: semtimedop_syscall (semtimedop.c:33)
+   by 0x........: semtimedop (semtimedop.c:44)
+   by 0x........: main (sem.c:142)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd

with --trace-syscals=yes (first two calls) on f34:

SYSCALL[252703,1](91) sys_munmap ( 0x4850000, 25612 )[sync] --> Success(0x0) 
SYSCALL[252703,1](117) sys_ipc ( 2, 0, 1, 384, 0x0, 137422175904 )[sync] -->
Success(0xb) 
SYSCALL[252703,1](117) sys_ipc ( 4, 11, 1, 0, 0x1ffefffc86, 137422175904 ) -->
[async] ... 
SYSCALL[252703,1](117) ... [async] --> Success(0x0) 

on f35:

SYSCALL[37012,1](91) sys_munmap ( 0x484b000, 27527 )[sync] --> Success(0x0) 
SYSCALL[37012,1](117) sys_ipc ( 2, 0, 1, 384, 0x0, 1 )[sync] --> Success(0xe) 
SYSCALL[37012,1](117) sys_ipc ( 4, 14, 1, 0, 0x1ffefffb6e, 1 )==37012== Syscall
param semtimedop(timeout) points to unaddressable byte(s)
==37012==    at 0x496D296: semtimedop_syscall (semtimedop.c:33)
==37012==    by 0x496D296: semtimedop (semtimedop.c:44)
==37012==    by 0x1000C67: main (sem.c:83)
==37012==  Address 0x1 is not stack'd, malloc'd or (recently) free'd
==37012== 
 --> [async] ... 
SYSCALL[37012,1](117) ... [async] --> Success(0x0)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to