I'm attempting to convert working CGI applications to mod_gsoap libraries. I've started by trying to build and run the calculator example from mod_goap/apache1.3. I'm able to compile the library and call the "add" method. However, there is no response the the apache2 log indicates a segmentation fault. I ran httpd in GDB at got the following backtrace:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46935034230112 (LWP 2863)] 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00002aaff09d5569 in soap_faultcode (soap=0x2aaff84a68f8) at mod_gsoap.c:1257 #2 0x00002aaff859d3ab in soap_set_fault (soap=0x2aaff84a68f8) at stdsoap2_cpp.cpp:14455 #3 0x00002aaff85ade0f in soap_send_fault (soap=0x2aaff84a68f8) at stdsoap2_cpp.cpp:14671 #4 0x00002aaff859c63d in soap_serve (soap=0x2aaff84a68f8) at ../soapServer.cpp:41 #5 0x00002aaff8596e0b in apache_default_soap_serve (soap=0x2aaff84a68f8, r=0x2aaff849b918) at ../calculator.cpp:12 #6 0x00002aaff09d65ea in gsoap_handler (r=0x2aaff849b918) at mod_gsoap.c:946 #7 0x00002aafe5ab97ea in ap_run_handler () from /usr/sbin/httpd #8 0x00002aafe5abcc72 in ap_invoke_handler () from /usr/sbin/httpd #9 0x00002aafe5ac75e8 in ap_process_request () from /usr/sbin/httpd #10 0x00002aafe5ac4870 in ap_register_input_filter () from /usr/sbin/httpd #11 0x00002aafe5ac0a52 in ap_run_process_connection () from /usr/sbin/httpd #12 0x00002aafe5acb20b in ap_graceful_stop_signalled () from /usr/sbin/httpd #13 0x00002aafe5acb40e in ap_graceful_stop_signalled () from /usr/sbin/httpd #14 0x00002aafe5acbf11 in ap_mpm_run () from /usr/sbin/httpd #15 0x00002aafe5aa6e04 in main () from /usr/sbin/httpd (gdb) The only change I make to the calculator example was the web address (localhost --> my domain). I'm running CentOS 5.2, gsoap2.7.11, mod_gsoap0.7 and apache/2.2.3. Has anyone else encountered this issue? Is there a known fix?
