Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 51044 invoked from network); 9 Jan 2007 05:08:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jan 2007 05:08:05 -0000 Received: (qmail 93368 invoked by uid 500); 9 Jan 2007 05:07:46 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 92665 invoked by uid 500); 9 Jan 2007 05:07:41 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 92231 invoked by uid 99); 9 Jan 2007 05:07:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 21:07:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [139.130.34.134] (HELO haides.silverbrookresearch.com) (139.130.34.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jan 2007 20:50:37 -0800 X-Spam-Checker-Version: SpamAssassin 3.1.0-gr0 (2005-09-13) on goose.silverbrookresearch.com X-Spam-Level: Message-ID: <200701090450.l094oFG5017517@haides.silverbrookresearch.com> Date: Tue, 09 Jan 2007 15:50:13 +1100 From: David Bernard User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-c-user@ws.apache.org Subject: [axis2c] Simple server seg faults on startup - debian 0.96 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-102.1 required=5.0 tests=ALL_TRUSTED,AWL, USER_IN_WHITELIST autolearn=unavailable version=3.1.0-gr0 G'day, I have build axis2c from the 0.96 source package with the samples and when I run the axis2_http_server the server segfaults on startup. Not modifications have been made to the original install files. Any suggestions? David Bernard dozer$ uname -a Linux dozer 2.4.28-gentoo-r9 #4 SMP Thu Dec 28 07:50:47 EST 2006 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux dozer$ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs Configured with: /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-multilib --disable-libgcj --enable-languages=c,c++ Thread model: posix gcc version 3.3.5 (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1) gdb axis2_http_server ... (gdb) r Starting program: /tmp/xx/axis2c-0.96/bin/axis2_http_server warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 9241)] [Tue Jan 9 15:43:48 2007] [info] Starting Axis2 HTTP server.... [Tue Jan 9 15:43:48 2007] [info] Server port : 9090 [Tue Jan 9 15:43:48 2007] [info] Repo location : ../ [Tue Jan 9 15:43:48 2007] [info] Read Timeout : 30000 ms [Tue Jan 9 15:43:48 2007] [debug] phase.c(280) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase TransportIn [Tue Jan 9 15:43:48 2007] [debug] phase.c(280) axis2_handler_t *addressing_based_dispatcher added to the index 0 of the phase Dispatch [Tue Jan 9 15:43:48 2007] [debug] phase.c(280) axis2_handler_t *request_uri_based_dispatcher added to the index 1 of the phase Dispatch [Tue Jan 9 15:43:48 2007] [debug] phase.c(280) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch [Tue Jan 9 15:43:48 2007] [debug] phase.c(280) axis2_handler_t *soap_message_body_based_dispatcher added to the index 3 of the phase Dispatch [Tue Jan 9 15:43:48 2007] [debug] phase.c(280) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch [Tue Jan 9 15:43:48 2007] [debug] phase.c(280) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch [Tue Jan 9 15:43:48 2007] [debug] conf_builder.c(285) no custom dispatching order found continue with default dispatcing order [Tue Jan 9 15:43:48 2007] [debug] conf_builder.c(378) module addressing found in axis2.xml [Tue Jan 9 15:43:48 2007] [debug] class_loader.c(218) transport sender loaded successfully [Tue Jan 9 15:43:48 2007] [debug] class_loader.c(201) transport receiver loaded successfully [Tue Jan 9 15:43:48 2007] [debug] dep_engine.c(1284) axis2_dep_engine_load_module_dll; dll path is : ..//modules/addressing/libaxis2_mod_addr.so [Tue Jan 9 15:43:48 2007] [debug] dep_engine.c(1284) axis2_dep_engine_load_module_dll; dll path is : ..//modules/logging/libaxis2_mod_log.so [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/Calculator/libCalculator.so [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:Calculator [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/echo/libecho.so [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:echo [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/math/libmath.so [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:math [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/mtom/libmtom.so [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:mtom [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/notify/libnotify.so [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:notify [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/sg_math/libadd.so [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/sg_math/libsub.so [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/sg_math/libmul.so [Tue Jan 9 15:43:48 2007] [debug] svc_builder.c(344) dll path is : ..//services/sg_math/libdiv.so [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:add [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:sub [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:mul [Tue Jan 9 15:43:48 2007] [debug] phase_resolver.c(218) svc name is:div Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 9241)] 0x4011e2d8 in axis2_dep_engine_load (dep_engine=0x804ade0, env=0x804ad68) at dep_engine.c:835 835 AXIS2_ARRAY_LIST_FREE(out_fault_phases, env); (gdb) bt #0 0x4011e2d8 in axis2_dep_engine_load (dep_engine=0x804ade0, env=0x804ad68) at dep_engine.c:835 #1 0x4012655e in build_conf_ctx (env=0x804ad68, repo_name=0x0) at conf_init.c:55 #2 0x401b7202 in axis2_http_server_create (env=0x804ad68, repo=0x80494ea "../", port=0) at http_server.c:126 #3 0x08048ed5 in main (argc=134517216, argv=0x804ad68) at http_server_main.c:166 (gdb) fr 0 #0 0x4011e2d8 in axis2_dep_engine_load (dep_engine=0x804ade0, env=0x804ad68) at dep_engine.c:835 835 AXIS2_ARRAY_LIST_FREE(out_fault_phases, env); (gdb) l 830 status = AXIS2_CONF_SET_PHASES_INFO(dep_engine_impl->conf, env, 831 dep_engine_impl->phases_info); 832 out_fault_phases = AXIS2_PHASES_INFO_GET_OP_OUT_FAULTPHASES( 833 dep_engine_impl->phases_info, env); 834 new_out_fault_phases = axis2_phases_info_copy_flow(env, out_fault_phases); 835 AXIS2_ARRAY_LIST_FREE(out_fault_phases, env); 836 AXIS2_CONF_SET_OUT_FAULT_PHASES(dep_engine_impl->conf, env, new_out_fault_phases); 837 if (AXIS2_SUCCESS != status) 838 { 839 AXIS2_REPOS_LISTENER_FREE(dep_engine_impl->repos_listener, env); (gdb) --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org