[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Bug report: #0  file_dup (new_file=0xbfd296d4, old_file=0x0,
From:       "A. Przygienda" <prz () mail ! zeta2 ! ch>
Date:       2011-05-05 14:24:36
Message-ID: 4DC2B324.7030400 () zeta2 ! ch
[Download RAW message or body]


After experimenting around, the reason is the global directive
I use (perfectly valid)

ErrorLog syslog:local6

that crashes

#ifdef MP_TRACE
    /* httpd core open_logs handler re-opens s->error_log, which might
     * change, even though it still points to the same physical file
     * (.e.g on win32 the filehandle will be different. Therefore
     * reset the tracing logfile setting here, since this is the
     * earliest place, happening after the open_logs phase.
     *
     * Moreover, we need to dup the filehandle so that when the server
     * shuts down, we will be able to log to error_log after Apache
     * has closed it (which happens too early for our likening).
     */
    {
        apr_file_t *dup;
        MP_RUN_CROAK(apr_file_dup(&dup, s->error_log, pconf),
                     "mod_perl core post_config");
        modperl_trace_logfile_set(dup);
    }
#endif


since s->error_log is NULL

not sure how to fix that one though

	-- tony



On 05/05/2011 03:58 PM, A. Przygienda wrote:
> Same problem on 2.0.5 and gentoo 2010
> 
> That's how I run it
> 
> r -D SSL -D SSL_DEFAULT_VHOST -D DEFAULT_VHOST -D INFO -D DAV -D DAV_FS
> -D CACHE -D MEM_CACHE -D PHP5 -D PERL_VHOST -D PYTHON -D STATUS -D PROXY
> -D PROXY_HTML -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -E
> /var/log/apache2/startuperror.log -k start
> 
> 
>  core_module (static)
>  mpm_itk_module (static)
>  http_module (static)
>  so_module (static)
>  actions_module (shared)
>  alias_module (shared)
>  auth_basic_module (shared)
>  authn_alias_module (shared)
>  authn_anon_module (shared)
>  authn_dbm_module (shared)
>  authn_default_module (shared)
>  authn_file_module (shared)
>  authz_dbm_module (shared)
>  authz_default_module (shared)
>  authz_groupfile_module (shared)
>  authz_host_module (shared)
>  authz_owner_module (shared)
>  authz_user_module (shared)
>  autoindex_module (shared)
>  cache_module (shared)
>  cgi_module (shared)
>  cgid_module (shared)
>  dav_module (shared)
>  dav_fs_module (shared)
>  dav_lock_module (shared)
>  deflate_module (shared)
>  dir_module (shared)
>  disk_cache_module (shared)
>  env_module (shared)
>  expires_module (shared)
>  ext_filter_module (shared)
>  file_cache_module (shared)
>  filter_module (shared)
>  headers_module (shared)
>  include_module (shared)
>  info_module (shared)
>  log_config_module (shared)
>  logio_module (shared)
>  mem_cache_module (shared)
>  mime_module (shared)
>  mime_magic_module (shared)
>  negotiation_module (shared)
>  proxy_module (shared)
>  proxy_connect_module (shared)
>  proxy_http_module (shared)
>  rewrite_module (shared)
>  setenvif_module (shared)
>  speling_module (shared)
>  ssl_module (shared)
>  status_module (shared)
>  unique_id_module (shared)
>  usertrack_module (shared)
>  vhost_alias_module (shared)
>  proxy_html_module (shared)
>  php5_module (shared)
>  python_module (shared)
>  perl_module (shared)
> 


["prz.vcf" (text/x-vcard)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic