axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bernard <david.bern...@silverbrookresearch.com>
Subject [axis2c] Simple server seg faults on startup - debian 0.96
Date Tue, 09 Jan 2007 04:50:13 GMT
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


Mime
View raw message