On Wednesday 22 March 2006 19:34, Sahan Gamage wrote: > Hi all, > > If I am writing to incorrect mailing list then thousand apologies.
The apache-modules mailinglist might be more ontopic. But you're not completely out of order here:-) > 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). It would be far better to use LoadFile to load libxml2. On all platforms! > 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 Erk! Loading a library within request processing raises all sorts of issues - and crashing seems a likely consequence. Don't do it. -- Nick Kew
