| Summary: | unhandled amd64-darwin syscall: unix:464 (openat_nocancel) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Chris Wilson <chris+kde> |
| Component: | general | Assignee: | Rhys Kidd <rhyskidd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | chris+kde, pjfloyd, rhyskidd |
| Priority: | NOR | ||
| Version First Reported In: | 3.14 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | macOS | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Chris Wilson
2018-02-11 14:40:45 UTC
Thanks for the report Chris -- that unix syscall is openat_nocancel() on recent macOS kernels. Do you have a simple program that reproduces this bug report for you? Yes, it was mkstemp. This example:
int main(int argc, char** argv)
{
char buffer[] = "boxbackup.recombinetemp.1.XXXXXX";
if(mkstemp(buffer) < 0)
{
perror("mkstemp");
}
return 0;
}
Outputs:
--7593-- WARNING: unhandled amd64-darwin syscall: unix:464
--7593-- You may be able to write your own handler.
--7593-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--7593-- Nevertheless we consider this a bug. Please report
--7593-- it at http://valgrind.org/support/bug_reports.html.
mkstemp: Function not implemented
Plus a few commits following the main one below commit d79897e0aff3f5f3cf3e77760761ace3bb847d0f Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Mon Nov 20 12:59:12 2023 +0100 Bug 390269 - unhandled amd64-darwin syscall: unix:464 (openat_nocancel) Copied from https://github.com/LouisBrunner/valgrind-macos.git Regtest to come shortly |