2996Re: [soaplite] Segfault
- Sep 15 9:01 AMMark,
The only things that comes to mind is to look at the "Apache is
crashing with segfaults" section:
Best wishes, Paul.
--- Mark Cance <mark@...> wrote:
> I've gone back and done a clean install of everything. Once again
> mod_perl and my other apps work fine but when I issue a request to
> service via Apache::SOAP I get a seg fault in my apache logs.
> I have no idea what's the cause. Byrne I tried to hook into a http
> and debug without much luck; I did a 'top', got a PID of a httpd
> process and
> tried to run it, either the process STATE=stop or gdb returned 'No
> executable file specified' after typing run... Forgive me for
> stupid but I'm a gdb newbie!!
> Any ideas on the cause would be really welcome as this has me
> scratching my head!!
> Here's how I compiled apache/mod_ssl and mod_perl, (this setup has
> for me many times in the past)
> #config mod_ssl
> $ cd mod_ssl-2.8.x-1.3.x
> $ ./configure --with-apache=../apache_1.3.26
> $ cd..
> $ cd mod_perl-1.27
> $ perl Makefile.PL \
> #EVERYTHING=1 \
> #USE_APACI=1 \
> #DYNAMIC=1 \
> #APACHE_PREFIX=/usr/local/apache \
> #APACHE_SRC=../apache_1.3.26/src \
> #DO_HTTPD=1 \
> #APACI_ARGS="--enable-module=so --enable-shared=info
> --enable-shared=rewrite --enable-shared=log_agent"
> $ make
> $ make install
> $ cd ../apache_1.3.26
> $ SSL_BASE=SYSTEM \
> ./configure \
> --prefix=/usr/local/apache \
> --enable-module=ssl \
> --activate-module=src/modules/perl/libperl.a \
> --enable-module=perl \
> --enable-module=so \
> --enable-shared=info \
> --enable-shared=proxy \
> --enable-shared=rewrite \
> $ make
> $ make install
> On 11/9/03 2:49 pm, "Byrne Reese" <byrne@...> wrote:
> > I am not necessarily saying you are wrong - but I am not
> convinced that
> > SOAP::Lite is causing the segfault - in my experience, segfaults
> > come from compiled code, which SOAP::Lite it not. Chances are,
> mod_perl is
> > coring.
> > Check your config - and gdb on your httpd process. It's easy:
> > * start apache and wait for the httpd processes to spin up
> > * do a `ps -aef` and find the pid number of one of the httpd
> > * run `gdb <pid>`
> > * then type 'run'
> > * hit your apache server with .NET until the process you attached
> > to cores, then type 'bt'
> > You will most likely see that mod_perl is the culprit - when it
> is, it is
> > usually due to a bad install... try recompiling mod_perl (make
> > first)...
> >> SOAP::Lite is working really well on our development servers.
> However I�ve
> >> just moved the code to our production machines and it seems to
> be causing
> >> a
> >> segfault.
> >> I�m using, BSD, mod_perl-1.27, perl-5.8.0 and SOAP-Lite-0.55,
> >> Apache::SOAP providing the transport. My apache error logs show;
> [Wed Sep
> >> 10
> >> 17:26:19 2003] [notice] child pid 27240 exit signal Segmentation
> >> (11)
> >> My SOAP client (.NET WebService Studio), returns the exception;
> >> System.Reflection.TargetInvocationException: Exception has been
> thrown by
> >> the target of an invocation. ---> System.Net.WebException: The
> >> connection was closed: An unexpected error occurred on a
> >> This seems confirm the segfault. Any ideas on the cause would be
> >> very
> >> welcome!
> >> Mark
> > ^byrne :/
> ------------------------ Yahoo! Groups Sponsor
> To unsubscribe from this group, send an email to:
> Your use of Yahoo! Groups is subject to
- << Previous post in topic Next post in topic >>