https://issues.apache.org/bugzilla/show_bug.cgi?id=48759

           Summary: When trying a simple module on a 64bit Apache 2
                    machine, there is a segmentation fault at an early
                    spot
           Product: Apache httpd-2
           Version: 2.2.14
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Platform
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Hi,

   I save a similar issue with the one presented here :
http://marc.info/?l=apache-modules&m=115463732419493&q=raw. When migrating my
custom module from a Solaris10 machine (where I had the apache compiled on 32
bit) to a SuSE11 one (64 bit platform, gcc and apache build on 64 bit) my
module crashes in the post_config phase with a SIGSEGV:

Program received signal SIGSEGV, Segmentation fault.
dump_config_data (p=0x6ba138, plog=0x6fc348, ptemp=0x6c0168, s=0x0) at
idu_config.c:341
341         idu_config_t *config = get_idu_module_config(s->module_config);


In post_config hook:

    idu_config_t *config = get_idu_module_config( (ap_conf_vector_t *)
s->module_config);

     config->process_pool = p;

    /* Log the module configuration to idu.log  */
    dump_config_data(p, plog, ptemp, s);

and in the module I have declared :

module AP_MODULE_DECLARE_DATA idu_module;

idu_config_t* get_idu_module_config(ap_conf_vector_t *conf_vector) {
    return (idu_config_t*) ap_get_module_config(conf_vector, &idu_module);
}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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