Bug 311544

Summary: sys_fork() calls VG_(do_atfork_pre)() AFTER forking()
Product: [Developer tools] valgrind Reporter: Colin Burgess <cburgess>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED FIXED    
Severity: minor CC: daniel, mark
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.