httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahan Gamage" <sah...@gmail.com>
Subject Module problem in Win32
Date Wed, 22 Mar 2006 19:34:24 GMT
Hi all,

If I am writing to incorrect mailing list then thousand apologies.
Here's my problem :

I am writing a module to host Apache Axis2C inside Apache2 server.
Axis2C heavily uses dynamic loaded libraries. I have compiled the
module and ran successfully on Linux platform. But in Win32 platform
the module crashes. It seems that the crash occurs when the process
tries to load libxml2.dll (which is the xml parser used in Axis2C). 
Here's the stack trace for the crash

NTDLL! 77f51baa()
NTDLL! 77f7561d()
axis2_http_transport_utils_process_http_post_request(axis2_environment
* * 0x1001a514 _axis2_env, axis2_msg_ctx * 0x00dc6d00, axis2_stream *
0x00dc65b0, axis2_stream * 0x00dc5350, char * 0x0097c246, int 595,
char * 0x0097c1a4, char * 0x00dc53a0) line 201 + 24 bytes
axis2_apache2_worker_process_request(axis2_apache2_worker *
0x00d91940, axis2_environment * * 0x1001a514 _axis2_env, request_rec *
0x0097b390) line 260 + 37 bytes
axis2_handler(request_rec * 0x0097b390) line 109 + 27 bytes
ap_run_handler(request_rec * 0x0097b390) line 153 + 78 bytes
ap_invoke_handler(request_rec * 0x0097b390) line 364 + 9 bytes
ap_process_request(request_rec * 0x0097b390) line 249 + 9 bytes
ap_process_http_connection(conn_rec * 0x009773d0) line 251 + 9 bytes
ap_run_process_connection(conn_rec * 0x009773d0) line 43 + 78 bytes
ap_process_connection(conn_rec * 0x009773d0, void * 0x00977300) line 178
worker_main(void * 0x000000f1) line 733
_threadstartex(void * 0x0029c580) line 212 + 13 bytes
KERNEL32! 77e7d33b()

Using Rational purify I got more info and the error given by purify was
[W] PAR: Attempt to enter uninitialized critical section at address
0x57c2dac702c00534. {1 occurrence}

at    EnterCriticalSection [C:\WINDOWS\System32\KERNEL32.dll]
at    axis2_xml_reader_create_for_memory  
[f:\projects\axis2c\latest\modules\xml\parser\libxml2\libxml2_reader_wrapper.c:338]
.........

Any thoughts about this perticular scenario ? I am suspecting the
issue is beacuse of dll loading mechanism in windows. pls help me

- Sahan

Mime
View raw message