Re: httpd coredumps

2000-04-02 Thread Tobias Brox

 was everything compiled from scratch with the same compiler?

Yeah, I've tried "make clean" some times.

-- 
Tobias Brox (alias TobiX) - +4722925871 - _urgent_ emails to
[EMAIL PROTECTED]  Check our upcoming MMORPG at 
http://www.anarchy-online.com/ (Qt) and play multiplayer Spades, 
Backgammon, Poker etc for free at http://www.funcom.com/ (Java)





Re: httpd coredumps

2000-04-02 Thread Tobias Brox

 if you could follow the hints in the SUPPORT doc for getting a stacktrace,
 that would help a great deal.

Here we are ... hm ... it doesn't seem to tell much.  The request is after
the server root, and I haven't set up any perl handlers ... so then it
shouldn't call perl_handler() ... or what?

Program received signal SIGSEGV, Segmentation fault.
0x8081882 in perl_handler ()
(gdb) bt
#0  0x8081882 in perl_handler ()
#1  0x80dbbc3 in ap_invoke_handler ()
#2  0x80ef579 in process_request_internal ()
#3  0x80ef5dc in ap_process_request ()
#4  0x80e6dee in child_main ()
#5  0x80e704c in make_child ()
#6  0x80e73c6 in perform_idle_server_maintenance ()
#7  0x80e78f5 in standalone_main ()
#8  0x80e7ec3 in main ()
#9  0x400a71eb in __libc_start_main (main=0x80e7b6c main, argc=1, 
argv=0xba44, init=0x807ebec _init, fini=0x81f9f7c _fini, 
rtld_fini=0x4000a610 _dl_fini, stack_end=0xba3c)
at ../sysdeps/generic/libc-start.c:90
(gdb) 




Re: httpd coredumps

2000-04-02 Thread Doug MacEachern

On Mon, 3 Apr 2000, Tobias Brox wrote:

  if you could follow the hints in the SUPPORT doc for getting a stacktrace,
  that would help a great deal.
 
 Here we are ... hm ... it doesn't seem to tell much.  The request is after
 the server root, and I haven't set up any perl handlers ... so then it
 shouldn't call perl_handler() ... or what?

the stacktrace looks right.  it would be more useful to see the line
number, which you can see if you follow this tip for building mod_perl 
from the SUPPORT doc:

=item CORE DUMPS

If you get a core dump, please send a backtrace if possible.
Before you try, build mod_perl with perl Makefile.PL PERL_DEBUG=1
which will:
 -add `-g' to EXTRA_CFLAGS
 -turn on PERL_TRACE
 -set PERL_DESTRUCT_LEVEL=2 (additional checks during Perl cleanup)
 -link against libperld if it exists





Re: httpd coredumps

2000-03-31 Thread Cliff Rayman

was everything compiled from scratch with the same compiler?

cliff rayman
genwax.com

Tobias Brox wrote:

 I've installed perl 5.6.0 + Apache 1.3.12 + modperl 1.22.

 An arbitrary request causes the httpd to core dump:

 $ telnet localhost 80
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 GET / HTTP/1.0

 Connection closed by foreign host.

 This gets into the error log:
 [Fri Mar 31 16:23:31 2000] [notice] child pid 19804 exit signal Segmentation fault 
(11)

 pid 19804 belonged to an httpd-instance.

 This happens with a clean installation, so it can't be in any of my
 scripts.  I've tried building without any other modules than mod_perl,
 and I've tried building with all the modules I want except mod_perl.
 Turning on and off the "AddModule mod_perl.c" line also affects this
 issue ... so it must be a mod_perl issue as far as I can see.

 Any suggestions?  I've been fighting with this issue for several days
 now, if I can't resolve this one fairly quick I'll go for fastcgi
 instead...

 --
 Tobias Brox (alias TobiX) - sysguy - +4722925871 - http://www.funcom.com/
 If an _urgent_ email is not acted upon within 10 minutes, you might try
 a _short_ mail to [EMAIL PROTECTED]




Re: httpd coredumps

2000-03-31 Thread Andrew Wyllie


Hi Tobias,

I ran into something like this which was being caused by a bug
in one of my scripts.  In the previous versions of Apache and
mod_perl the script just didn't work quite right, but now it
core dumped.  If you have tried this already, I would suggest
turning of all of your handlers, scripts, etc. and see what
happens.  If the server doesn't dump, start adding things back
in one at a time to see if you can nail down the problem script
or handler. 


see ya
andrew


On Fri, 31 Mar 2000, Tobias Brox wrote:

 I've installed perl 5.6.0 + Apache 1.3.12 + modperl 1.22.
 
 An arbitrary request causes the httpd to core dump:
 
 $ telnet localhost 80
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 GET / HTTP/1.0
 
 Connection closed by foreign host.
 
 This gets into the error log:
 [Fri Mar 31 16:23:31 2000] [notice] child pid 19804 exit signal Segmentation fault 
(11)
 
 pid 19804 belonged to an httpd-instance.
 
 This happens with a clean installation, so it can't be in any of my
 scripts.  I've tried building without any other modules than mod_perl,
 and I've tried building with all the modules I want except mod_perl.
 Turning on and off the "AddModule mod_perl.c" line also affects this
 issue ... so it must be a mod_perl issue as far as I can see.
 
 Any suggestions?  I've been fighting with this issue for several days
 now, if I can't resolve this one fairly quick I'll go for fastcgi
 instead...
 
 -- 
 Tobias Brox (alias TobiX) - sysguy - +4722925871 - http://www.funcom.com/
 If an _urgent_ email is not acted upon within 10 minutes, you might try
 a _short_ mail to [EMAIL PROTECTED]

...
Andrew  Wyllie   [EMAIL PROTECTED]Open Source Integrator
v.206.729.7439  __We can catify or stringify,
c.206.851.9876separately or together!__ perl-5.005_03