axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjaya Ratnaweera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-756) Axis2c segfaults when axis2c ran with apache worker mpm which is a threaded module
Date Fri, 09 Nov 2007 10:28:52 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sanjaya Ratnaweera resolved AXIS2C-756.
---------------------------------------

    Resolution: Fixed

> 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)
>
>         Attachments: patch_file
>
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message