Bug 392118 - unhandled amd64-linux syscall: 332 (statx) [KDE executables]
Summary: unhandled amd64-linux syscall: 332 (statx) [KDE executables]
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.13.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
: 396369 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-21 04:54 UTC by Kevin
Modified: 2022-09-02 14:39 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Linux: add sys_statx (10.16 KB, patch)
2018-06-02 15:53 UTC, Mattias Andrée
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin 2018-03-21 04:54:04 UTC
I get an unhandled amd64-linux syscall 332 warning when I run valgrind on a KDE program. For example, all of the commands below result in the warning:
valgrind /bin/konsole
valgrind /bin/dolphin
valgrind /bin/kwrite
valgrind /bin/okular

more output:
$ valgrind /bin/konsole
==13964== Memcheck, a memory error detector
==13964== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==13964== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==13964== Command: /bin/konsole
==13964== 
--13964-- WARNING: unhandled amd64-linux syscall: 332
--13964-- You may be able to write your own handler.
--13964-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--13964-- Nevertheless we consider this a bug.  Please report
--13964-- it at http://valgrind.org/support/bug_reports.html.
Comment 1 Mark Wielaard 2018-03-21 11:39:43 UTC
> --13964-- WARNING: unhandled amd64-linux syscall: 332

This is the new statx syscall:
http://man7.org/linux/man-pages/man2/statx.2.html

BTW. The following is a nice overview to map arch specific syscall numbers to syscall names: https://github.com/hrw/syscalls-table
Comment 2 Mattias Andrée 2018-06-02 15:53:12 UTC
Created attachment 113016 [details]
Linux: add sys_statx
Comment 3 Philippe Waroquiers 2018-08-01 20:30:50 UTC
IMO, this bug should be fixed for the release ...
Comment 4 Philippe Waroquiers 2018-08-11 14:04:54 UTC
Pushed as 8bc2b6fd26070f9f4d3f067910eb3e3b5e662fd7
(with a regression test (somewhat) testing stat and statx).

Thanks for the patch.
Comment 5 Paul Floyd 2022-09-02 14:39:35 UTC
*** Bug 396369 has been marked as a duplicate of this bug. ***