https://bz.apache.org/bugzilla/show_bug.cgi?id=69110

--- Comment #19 from Joe Orton <[email protected]> ---
> inherited by fork in httpd we don't destroy pconf for children processes.

The mutexes are (all?) created in pglobal not pconf - the unixd.c atexit()
handler  installed by ap_unixd_mpm_set_signals is inherited into forked
children and destroys pglobal - no? So it looks to me like a double-destroy.

atm I'm working on a modified APR test case which tries to roughly replicate
what event does, will attach it.

I can trigger a EINVAL from pthread_mutex_unlock() and from
tracing/printf-debugging it is definitely calling pthread_mutex_destroy()
before all the users have gone away. Switching exit() for _exit() in the child
also stopped the crashes.

When I remove the extra cleanup, that seems to go away.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to