Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Ubuntu
Description
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.