Bug 311544 - sys_fork() calls VG_(do_atfork_pre)() AFTER forking()
Summary: sys_fork() calls VG_(do_atfork_pre)() AFTER forking()
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR minor
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 21:46 UTC by Colin Burgess
Modified: 2025-04-09 13:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Burgess 2012-12-11 21:46:20 UTC
Luckily no-one actually is registering a pre handler, but nonetheless....
Comment 1 Julian Seward 2013-09-20 11:13:36 UTC
Hmm, you're not wrong :)
Comment 2 Daniel Fahlgren 2025-04-08 22:23:32 UTC
This seems to have been fixed in commit ac60633d65 in 2015-07-21
Comment 3 Mark Wielaard 2025-04-09 13:17:43 UTC
(In reply to Daniel Fahlgren from comment #2)
> This seems to have been fixed in commit ac60633d65 in 2015-07-21

Thanks for noticing that. It was the solaris port commit, but it did indeed fix the do_atfork_pre call for other oses.