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

List:       apreq-dev
Subject:    Snow Leopard (10.6) 64bit segfault for libapreq2
From:       Zero Altitude <ed () abra ! ms>
Date:       2009-10-22 18:12:39
Message-ID: ce443abb0910221112l455a8aday546ed5779f673470 () mail ! gmail ! com
[Download RAW message or body]

Hello,

Just like this guy:

 * http://mail-archives.apache.org/mod_mbox/httpd-apreq-dev/200906.mbox/browser
(David Winter: "64 bit libapreq2 segfaults")

I am seeing segfaults in this snippet of code (c code in a custom
apache module):

~~
    handle = (apreq_handle_t *)apreq_handle_apache2(r);
    if ((handle == NULL) || (m == NULL) || (&m == NULL))
    {
		ABANDON(r, m, 1, "CRITICAL FAILURE: HANDLE OBJECT GONE, BAIL\n", "do_post");
    }

    fprintf(stderr, "++++++++apache handle (3: %#lx)++++++++++\n", handle);
    fflush(stderr);

    module = handle->module;
~~

Handle is (from the logs):

~~
++++++++apache handle (3: 0xa69498)++++++++++
[Thu Oct 22 13:49:11 2009] [notice] child pid 28389 exit signal
Segmentation fault (11)
~~

Version of apache and modules list:

~~
Server version: Apache/2.2.13 (Unix)
Server built:   Sep 11 2009 13:52:38

Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_expires.c
  mod_setenvif.c
  mod_version.c
  mod_proxy.c
  mod_proxy_connect.c
  mod_proxy_http.c
  mod_proxy_ajp.c
  mod_proxy_balancer.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c
~~

Looking for help, willing to work through the problem with someone
(can do GDB, etc in assistance).  Thank you in advance,

-Eddie
[prev in list] [next in list] [prev in thread] [next in thread] 

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