https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290330
--- Comment #5 from [email protected] --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=f44ac8cc9c10d7305223a10b8dbd8e234388cc73 commit f44ac8cc9c10d7305223a10b8dbd8e234388cc73 Author: Jilles Tjoelker <[email protected]> AuthorDate: 2025-11-17 17:42:01 +0000 Commit: Jilles Tjoelker <[email protected]> CommitDate: 2025-11-19 20:30:39 +0000 sh: Fix job pointer invalidation with trapsasync Calling dotrap() can do almost anything, including reallocating the jobtab array. Convert the job pointer to an index before calling dotrap() and then restore a proper job pointer afterwards. PR: 290330 Reported by: bdrewery Reviewed by: bdrewery Differential Revision: https://reviews.freebsd.org/D53793 bin/sh/jobs.c | 6 +++++- bin/sh/tests/execution/Makefile | 1 + bin/sh/tests/execution/bg14.0 (new) | 9 +++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) -- You are receiving this mail because: You are the assignee for the bug.
