Axis2c segfaults when axis2c ran with apache worker mpm which is a threaded 
module
----------------------------------------------------------------------------------

                 Key: AXIS2C-756
                 URL: https://issues.apache.org/jira/browse/AXIS2C-756
             Project: Axis2-C
          Issue Type: Bug
          Components: build system (Unix/Linux)
    Affects Versions: Current (Nightly)
         Environment: Ubuntu
            Reporter: Lahiru Gunathilake
             Fix For: Current (Nightly)


I build Apache web server with a threaded MPM(worker) and tried to test 
performance of Axis2c.But  with this module it segfaults in different different 
places.This happened due to a bug in apache module in Axis2c.What happend when 
different threads create it simply initialize current pool of global 
environment variable's allocator to each pool of each request.Then this cause a 
segmentation fault.
In file mod_axis2.c
  axutil_env->allocator->current_pool = (void *) req->pool;
We have to create a new environment variable for each thread with a new 
allocator and assign current pool for each request pool.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to