axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lahiru Gunathilake (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-756) Axis2c segfaults when axis2c ran with apache worker mpm which is a threaded module
Date Thu, 08 Nov 2007 05:46:50 GMT

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

Lahiru Gunathilake updated AXIS2C-756:
--------------------------------------

    Attachment: patch_file

As a solution to this problem created an environment each and every time method get called(for
each thread) and create a new allocator and assign it's current pool to the each request pool
and assign that allocator to newly created env.

> 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