Bug 378892

Summary: Unhandled amd64-linux syscall: 324 [membarrier]
Product: [Developer tools] valgrind Reporter: Phil <adiabat>
Component: memcheckAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: normal CC: mark, tom
Priority: NOR    
Version First Reported In: 3.12.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Phil 2017-04-17 19:32:34 UTC
The following appears immediately upon execution:

phil@phil:~/tmp/Bridge$ valgrind --leak-check=yes ./Bridge
==23243== Memcheck, a memory error detector
==23243== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==23243== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==23243== Command: ./Bridge
==23243== 
--23243-- WARNING: unhandled amd64-linux syscall: 324
--23243-- You may be able to write your own handler.
--23243-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--23243-- Nevertheless we consider this a bug.  Please report
--23243-- it at http://valgrind.org/support/bug_reports.html.
Comment 1 Tom Hughes 2017-04-17 20:03:44 UTC
This appears to be membarrier and should be fairly simple to support.
Comment 2 Mark Wielaard 2019-05-31 13:13:31 UTC
commit 959a54cb3a631bb61420f1784a0c8585af24349e
Author: Bart Van Assche <bart.vanassche@wdc.com>
Date:   Fri Jun 15 08:24:53 2018 -0700

    Add support for the Linux membarrier() system call
    
    Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>