You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Odhiambo Washington <wa...@wananchi.com> on 2003/02/20 12:03:31 UTC

[users@httpd] core dumps with modperl

Hello Apache likes,

I am getting core dumps with Apache-1.3.27 statically compiled with modperl.
This is modperl1. Here is a backtrace from gdb:

<cut>

#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x48e912dc in __do_global_dtors_aux () from /usr/local/lib/perl5/site_perl/5.8.0/mach/auto/HTML/Parser/Parser.so
#2  0x48e95ee1 in _fini () from /usr/local/lib/perl5/site_perl/5.8.0/mach/auto/HTML/Parser/Parser.so
#3  0x48175e5c in find_symdef () from /usr/libexec/ld-elf.so.1
#4  0x48271114 in exit () from /usr/lib/libc.so.5
#5  0x08090c47 in clean_parent_exit ()
#6  0x08093cbf in main ()
#7  0x08064f25 in _start ()
(gdb) quit

</cut>


beastie# httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c
  mod_perl.c
suexec: enabled; valid wrapper /usr/local/sbin/suexec


The relevant VirtualHost entry that causes this is:

<VirtualHost *:443>
    ServerName rt3.wananchi.com   
    DocumentRoot /opt/rt3/share/html  
    AddDefaultCharset UTF-8
  
   # this line applies to Apache2+mod_perl2 only
   #PerlModule Apache2 Apache::compat
  
   PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
  
    <Location />  
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>


When I compile modperl as DSO I don't get the core dumps!!


Any pointers, please??




-Wash

-- 
Odhiambo Washington   <wa...@wananchi.com>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)


Those who make peaceful revolution impossible will make violent
revolution inevitable.
		-- John F. Kennedy

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org