I tried to compiled mod_fcgid myself to see if I can replicate the problem.
I can't even compiled it against 2.2.6.
I get a lot of link errors agains APR.

--- complete buildlog availble on request but nothing odd until this ---
1>fcgid_spawn_ctl.obj : error LNK2019: unresolved external symbol __imp__ap_log_error referenced in function _spawn_control_init
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_pm_win.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_proctbl_win.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_protocol.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_bridge.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_filter.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__ap_log_error
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_time_now@0 referenced in function _bucket_ctx_cleanup
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__apr_time_now@0
1>fcgid_spawn_ctl.obj : error LNK2001: unresolved external symbol __imp__apr_time_now@0
1>fcgid_bridge.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_type_immortal
1>fcgid_filter.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_type_immortal
1>fcgid_bridge.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_type_eos
1>fcgid_filter.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_type_eos
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_bucket_type_eos referenced in function _proc_spawn_process
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__ap_pass_brigade@8 referenced in function _handle_request
1>fcgid_filter.obj : error LNK2001: unresolved external symbol __imp__ap_pass_brigade@8
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__ap_internal_redirect_handler@8 referenced in function _handle_request
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_table_unset@8 referenced in function _handle_request
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_table_unset@8
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_pstrdup@8 referenced in function _handle_request
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_table_get@8 referenced in function _handle_request
1>fcgid_conf.obj : error LNK2001: unresolved external symbol __imp__apr_table_get@8
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_table_get@8
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__ap_scan_script_header_err_core@16 referenced in function _handle_request
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_brigade_create@8 referenced in function _handle_request
1>fcgid_filter.obj : error LNK2001: unresolved external symbol __imp__apr_brigade_create@8
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_sleep@8 referenced in function _handle_request
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__apr_sleep@8
1>fcgid_pm_win.obj : error LNK2001: unresolved external symbol __imp__apr_sleep@8
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_pool_cleanup_register@16 referenced in function _handle_request
1>fcgid_pm_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_register@16
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_register@16
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_null
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_null
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_pool_cleanup_null referenced in function _handle_request
1>fcgid_conf.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_null
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_null
1>fcgid_pm_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_null
1>fcgid_spawn_ctl.obj : error LNK2001: unresolved external symbol __imp__apr_palloc@8
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_palloc@8
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_palloc@8 referenced in function _handle_request
1>fcgid_conf.obj : error LNK2001: unresolved external symbol __imp__apr_palloc@8
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_palloc@8
1>fcgid_proctbl_win.obj : error LNK2001: unresolved external symbol __imp__apr_palloc@8
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_bucket_eos_create@4 referenced in function _bridge_request
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_brigade_destroy@4 referenced in function _bridge_request
1>fcgid_bridge.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_type_heap
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_bucket_heap_create@16 referenced in function _bridge_request
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_heap_create@16
1>fcgid_protocol.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_heap_create@16
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_bucket_free referenced in function _bridge_request
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_free
1>fcgid_protocol.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_free
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__apr_bucket_alloc referenced in function _bridge_request
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_alloc
1>fcgid_protocol.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_alloc
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__ap_get_brigade@24 referenced in function _bridge_request
1>fcgid_bridge.obj : error LNK2019: unresolved external symbol __imp__ap_create_environment@8 referenced in function _bridge_request
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__ap_create_environment@8
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol _apr_bucket_copy_notimpl
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol _apr_bucket_split_notimpl
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol _apr_bucket_setaside_notimpl
1>fcgid_bucket.obj : error LNK2001: unresolved external symbol _apr_bucket_destroy_noop
1>fcgid_bucket.obj : error LNK2019: unresolved external symbol __imp__apr_bucket_immortal_make@12 referenced in function _fcgid_header_bucket_read
1>fcgid_bucket.obj : error LNK2019: unresolved external symbol __imp__apr_pool_cleanup_run@12 referenced in function _fcgid_header_bucket_read
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_cleanup_run@12
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__ap_server_root_relative@8 referenced in function _create_fcgid_server_config
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_table_make@8 referenced in function _create_fcgid_server_config
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__apr_table_make@8
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_table_set@12 referenced in function _merge_fcgid_server_config
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__apr_table_set@12
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_table_elts@4 referenced in function _merge_fcgid_server_config
1>fcgid_pm_win.obj : error LNK2001: unresolved external symbol __imp__apr_table_elts@4
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_hash_make@4 referenced in function _create_fcgid_dir_config
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_psprintf referenced in function _set_authenticator_info
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_psprintf
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_stat@16 referenced in function _set_authenticator_info
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_stat@16
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__ap_getword_white@8 referenced in function _set_wrapper_config
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__ap_getword_white@8
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_hash_set@16 referenced in function _set_wrapper_config
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_hash_get@12 referenced in function _set_wrapper_config
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_pool_userdata_set@16 referenced in function _set_wrapper_config
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__apr_pool_userdata_set@16
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_userdata_set@16
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_pool_userdata_set@16
1>fcgid_conf.obj : error LNK2019: unresolved external symbol __imp__apr_pool_userdata_get@12 referenced in function _set_wrapper_config
1>fcgid_pm_main.obj : error LNK2001: unresolved external symbol __imp__apr_pool_userdata_get@12
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_userdata_get@12
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_pool_userdata_get@12
1>fcgid_filter.obj : error LNK2019: unresolved external symbol __imp__ap_remove_output_filter@4 referenced in function _fcgid_filter
1>fcgid_filter.obj : error LNK2019: unresolved external symbol __imp__apr_bucket_flush_create@4 referenced in function _fcgid_filter
1>fcgid_pm_main.obj : error LNK2019: unresolved external symbol __imp__apr_proc_wait@16 referenced in function _kill_all_subprocess
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_proc_wait@16
1>fcgid_pm_main.obj : error LNK2019: unresolved external symbol __imp__apr_pool_destroy@4 referenced in function _kill_all_subprocess
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_destroy@4
1>fcgid_pm_main.obj : error LNK2019: unresolved external symbol __imp__apr_pool_create_ex@16 referenced in function _fastcgi_spawn
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_pool_create_ex@16
1>fcgid_spawn_ctl.obj : error LNK2001: unresolved external symbol __imp__apr_pool_create_ex@16
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_queue_trypush@8 referenced in function _wakeup_thread@8
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_thread_create@20 referenced in function _procmgr_post_config
1>fcgid_pm_win.obj : error LNK2001: unresolved external symbol __imp__ap_real_exit_code
1>fcgid_proctbl_win.obj : error LNK2019: unresolved external symbol __imp__ap_real_exit_code referenced in function _proctable_lock_table
1>fcgid_spawn_ctl.obj : error LNK2001: unresolved external symbol __imp__ap_real_exit_code
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_thread_mutex_create@12 referenced in function _procmgr_post_config
1>fcgid_proctbl_win.obj : error LNK2001: unresolved external symbol __imp__apr_thread_mutex_create@12
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_queue_create@12 referenced in function _procmgr_post_config
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_queue_pop@8 referenced in function _procmgr_post_spawn_cmd
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_thread_mutex_unlock@4 referenced in function _procmgr_post_spawn_cmd
1>fcgid_proctbl_win.obj : error LNK2001: unresolved external symbol __imp__apr_thread_mutex_unlock@4
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_queue_push@8 referenced in function _procmgr_post_spawn_cmd
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_thread_mutex_lock@4 referenced in function _procmgr_post_spawn_cmd
1>fcgid_proctbl_win.obj : error LNK2001: unresolved external symbol __imp__apr_thread_mutex_lock@4
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_queue_trypop@8 referenced in function _procmgr_stop_procmgr
1>fcgid_pm_win.obj : error LNK2019: unresolved external symbol __imp__apr_thread_join@8 referenced in function _procmgr_stop_procmgr
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_proc_create@24 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_procattr_child_in_set@12 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_os_file_put@16 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_procattr_detach_set@8 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_procattr_cmdtype_set@8 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_procattr_dir_set@8 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__ap_make_dirstr_parent@8 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_procattr_create@8 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_snprintf referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_table_setn@12 referenced in function _proc_spawn_process
1>mod_fcgid.obj : error LNK2001: unresolved external symbol __imp__apr_table_setn@12
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_ltoa@8 referenced in function _proc_spawn_process
1>fcgid_proc_win.obj : error LNK2019: unresolved external symbol __imp__apr_proc_kill@8 referenced in function _proc_kill_force
1>fcgid_proc_win.obj : error LNK2001: unresolved external symbol __imp__apr_bucket_type_flush
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_escape_shell_cmd@8 referenced in function _default_build_command
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_unescape_url@4 referenced in function _default_build_command
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_getword_nulls@12 referenced in function _default_build_command
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__apr_filepath_merge@20 referenced in function _fcgid_add_cgi_vars
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_add_output_filter_handle@16 referenced in function _fcgid_handler
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_add_cgi_vars@4 referenced in function _fcgid_handler
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_add_common_vars@4 referenced in function _fcgid_handler
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_log_rerror referenced in function _fcgid_handler
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_allow_options@4 referenced in function _fcgid_handler
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_note_basic_auth_failure@4 referenced in function _mod_fcgid_authenticator
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__apr_table_do referenced in function _mod_fcgid_authenticator
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__apr_table_copy@8 referenced in function _mod_fcgid_authenticator
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_get_basic_auth_pw@8 referenced in function _mod_fcgid_authenticator
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__apr_dynamic_fn_retrieve@4 referenced in function _fcgid_init
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_register_output_filter@16 referenced in function _register_hooks
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_hook_access_checker@16 referenced in function _register_hooks
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_hook_auth_checker@16 referenced in function _register_hooks
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_hook_check_user_id@16 referenced in function _register_hooks
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_hook_handler@16 referenced in function _register_hooks
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_hook_child_init@16 referenced in function _register_hooks
1>mod_fcgid.obj : error LNK2019: unresolved external symbol __imp__ap_hook_post_config@16 referenced in function _register_hooks
--- end of snip ---

I'm not sure if this is helpful but I do vaguely remember wrowe doing something in apr related to log_error.
I can provide my vc8 project that I converted and modified from the older dsp.

~ Jorge

On 9/6/07, William A. Rowe, Jr. <wrowe@rowe-clan.net> wrote:
Steffen wrote:
>
> I the meantime we have to advise the users not to use 2.2.6 because  is
> not compatible with some mods (not just mod_fcgid). We shall advise to
> stay on 2.2.4 or 2.2.5 RC.

If you would like to clear up FUD ("some mods") with "explicit mods" that
would be productive.  It would also be productive to discuss your concern
with the mod_fcgid maintainers, as the apr behavior is not likely to be
regressed to the previous behavior of leaking file handles (which I suspect
mod_fcgid had leveraged).

If I understand your later post;

> mod_fcgid is not working for me, either with Perl or with my own FCGI
> test program.

your issues with mod_perl were in conjunction -with- mod_fcgid?  Just trying
to narrow down the focus.

Bill



--
~Jorge