| Summary: | Unhandled syscall 592 (exterrctl - FreeBSD) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | martin.i.oliveira |
| Component: | general | Assignee: | Paul Floyd <pjfloyd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pjfloyd |
| Priority: | NOR | ||
| Version First Reported In: | 3.25 GIT | ||
| Target Milestone: | --- | ||
| Platform: | FreeBSD Ports | ||
| OS: | FreeBSD | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
martin.i.oliveira
2025-07-02 19:21:59 UTC
Thanks for reporting this. I’ll try to make a quick fix over the next few days. I need to study the syscall more to see if there are cases where Valgrind needs to do more than just verify the arguments. For thread creation I need to look more at setting the uexterr member of struct pthread. https://github.com/freebsd/freebsd-src/blob/9d004de910bb7ea4d959dd3726318c4c6bdbd48c/lib/libthr/thread/thr_create.c#L296 I'll bump the valgrind-devel port with this change soonish. commit 36e090c39cbacf34425e199e77691c4e9d708fc2 (HEAD -> master, origin/master, origin/HEAD) Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Sat Jul 12 22:23:05 2025 +0200 Bug 506499 - Unhandled syscall 592 (exterrctl - FreeBSD) Also add wrapers for inotify_add_watch_at and inotify_rm_watch No specific tests for these yet. Hi Paul, thanks for fixing this issue so quickly. I just wanted to kindly follow-up and check if there were any issues updating the valgrind-devel port, I don't see it in https://github.com/freebsd/freebsd-ports/tree/main/devel/valgrind-devel. Thank you once again! Sorry I ran out of time before going on holiday. I’ll do it when I get back next week. I just opened a FreeBSD bugzilla item for valgriknd-devel. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288949 |