You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bill Stoddard <st...@raleigh.ibm.com> on 2000/02/03 01:43:26 UTC
Apache 2.0 DSO...
Do we really want to register a module cleanup (for unloading DSOs) in the
pconf pool? I'm seeing a segfault because of this. _hooks.link_pre_config
(and it's elements) are allocated from the global process pool.
ap_read_config loads the DSOs and adds entries to the table. Then, we call
ap_clear_pool(pconf), which proceeds to unload the DSOs (and invalidates all
the pointers in _hooks.link_pre_config). The second call to
ap_run_pre_config seg faults because all the pointers are bad.
________________________________________________
Bill Stoddard stoddard@raleigh.ibm.com
Come to the first official Apache Software Foundation
Conference! <http://ApacheCon.Com/>