axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: [jira] Commented: (AXIS2C-756) Axis2c segfaults when axis2c ran with apache worker mpm which is a threaded module
Date Fri, 09 Nov 2007 09:55:49 GMT
Sanjaya,
    When you apply the patch, please resolve the issue.

Thanks,
Samisa...

Sanjaya Ratnaweera (JIRA) wrote:
>     [ https://issues.apache.org/jira/browse/AXIS2C-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541270
] 
>
> Sanjaya Ratnaweera commented on AXIS2C-756:
> -------------------------------------------
>
> Patch applied. 
>
>   
>> 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.
>>     
>
>   


---------------------------------------------------------------------
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