|
|
Choosing A Webhost: |
RE: mod_perl 1.99_09 core dumps: msg#00015apache.mod-perl.devel
Hi It doesn't look there is a core file: castle# find . -name core -type f -print ./t/core castle# find . -name core -type f -exec ls -al {} \; -rw------- 1 nobody nobody 9449820 Jun 23 09:54 ./t/core castle# find . -name core -type f -exec file {} \; ./t/core: ELF 32-bit MSB core file SPARC Version 1, from 'httpd' I run the make test at the 25th. I removed the t/core file and run the make test again: castle# \rm t/core castle# make test cd "src/modules/perl" && make -f Makefile.modperl ... preconnection/note.t 1 1 100.00% 1 *** server localhost:8529 shutdown *** port 8529 still in use... done !!! error running tests (please examine t/logs/error_log) make: *** [run_tests] Error 1 castle# find . -name core -type f -print I even checked the complete /usr/local/ partition. I did not find any core file related to mod_perl. I also get those kind of segmentation fault from time to time, if I stop apache (without mod_perl) using apachectl, see e.g. the stop / start I did this morning: [Wed Jul 02 09:13:16 2003] [notice] child pid 20704 exit signal Segmentation fault (11) [Wed Jul 02 09:13:18 2003] [notice] child pid 20712 exit signal Segmentation fault (11) [Wed Jul 02 09:13:18 2003] [notice] child pid 20705 exit signal Segmentation fault (11) [Wed Jul 02 09:13:20 2003] [notice] child pid 20706 exit signal Segmentation fault (11) [Wed Jul 02 09:13:27 2003] [notice] child pid 20713 exit signal Segmentation fault (11) [Wed Jul 02 09:14:25 2003] [notice] child pid 20708 exit signal Segmentation fault (11) [Wed Jul 02 09:14:25 2003] [notice] child pid 20707 exit signal Segmentation fault (11) [Wed Jul 02 09:14:25 2003] [notice] child pid 20715 exit signal Segmentation fault (11) [Wed Jul 02 09:14:25 2003] [notice] child pid 20716 exit signal Segmentation fault (11) [Wed Jul 02 09:14:25 2003] [notice] child pid 20714 exit signal Segmentation fault (11) [Wed Jul 02 09:14:26 2003] [notice] child pid 20722 exit signal Segmentation fault (11) [Wed Jul 02 09:14:26 2003] [notice] child pid 20721 exit signal Segmentation fault (11) [Wed Jul 02 09:14:27 2003] [notice] child pid 20724 exit signal Segmentation fault (11) [Wed Jul 02 09:14:27 2003] [notice] child pid 20723 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20732 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20731 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20727 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20726 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20730 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20729 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20728 exit signal Segmentation fault (11) [Wed Jul 02 09:14:30 2003] [notice] child pid 20725 exit signal Segmentation fault (11) [Wed Jul 02 09:14:31 2003] [notice] child pid 20733 exit signal Segmentation fault (11) [Wed Jul 02 09:14:34 2003] [notice] child pid 20749 exit signal Segmentation fault (11) [Wed Jul 02 09:14:34 2003] [notice] child pid 20747 exit signal Segmentation fault (11) [Wed Jul 02 09:15:16 2003] [warn] child process 20741 still did not exit, sending a SIGTERM [Wed Jul 02 09:15:16 2003] [notice] caught SIGTERM, shutting down [Wed Jul 02 09:15:23 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) [Wed Jul 02 09:15:28 2003] [notice] Digest: generating secret for digest authentication ... [Wed Jul 02 09:15:28 2003] [notice] Digest: done [Wed Jul 02 09:15:28 2003] [notice] Apache/2.0.45 (Unix) PHP/4.3.2 DAV/2 mod_ssl/2.0.45 OpenSSL/0.9.7b configured -- resuming normal operations But why failed most of the tests? BR /Hans-Ruodi -----Original Message----- From: Philippe M. Chiasson [mailto:gozer@xxxxxxxx] Sent: Mittwoch, 2. Juli 2003 09:10 To: Hans-Ruodi Burch (EA/EAS) Cc: 'dev@xxxxxxxxxxxxxxx' Subject: RE: mod_perl 1.99_09 core dumps On Fri, 2003-06-27 at 22:47, Hans-Ruodi Burch (EAS) wrote: > Hi Philippe > > I got an error from perl.apache.org as answer of my last email, because the > attachments have been to big. Did you get yourself my last email? Yes I did, and from the output of the error_logs, I can see that httpd is still segfaulting. Could you please try and find those cores (or run in debugging mode) and post a stack trace like last time. Most lilely looks like my little duct-tape patch simply plugged one segfault that's a symptom of something bigger being broken (as I feared). > BR /Hans-Ruodi > > -----Original Message----- > From: Hans-Ruodi Burch (EAS) > Sent: Mittwoch, 25. Juni 2003 08:00 > To: 'Philippe M. Chiasson' > Cc: 'dev@xxxxxxxxxxxxxxx' > Subject: RE: mod_perl 1.99_09 core dumps > > > Hi > > It did not any more core dumped, but most of the tests failed. Please find > attached the following files: > > - make_test : log from the make test > - t_conf.orig.tar: requested files t/conf/* with original files > - t_conf.tar : requested files t/conf/* after the change of modperl_pcw.c > - error_log : error log > > BR /Hans-Ruodi > > -----Original Message----- > From: Philippe M. Chiasson [mailto:gozer@xxxxxxxx] > Sent: Dienstag, 24. Juni 2003 16:26 > To: Hans-Ruodi Burch (EAS) > Cc: 'dev@xxxxxxxxxxxxxxx' > Subject: RE: mod_perl 1.99_09 core dumps > > > Can you at least try this patch for now? It should make it easier to > assess if this is _really_ your problem, or just the first symptom of > something else > > diff -u -I$Id -r1.3 modperl_pcw.c > --- src/modules/perl/modperl_pcw.c 25 Aug 2001 18:02:42 -0000 1.3 > +++ src/modules/perl/modperl_pcw.c 24 Jun 2003 14:24:16 -0000 > @@ -49,7 +49,13 @@ > ap_pcw_dir_cb_t dir_cb, void *data) > { > int i; > - ap_conf_vector_t **dirs = (ap_conf_vector_t **)dconf->sec_file->elts; > + ap_conf_vector_t **dirs; > + > + if(!dconf->sec_file) { > + return; > + } > + > + dirs = (ap_conf_vector_t **)dconf->sec_file->elts; > > for (i = 0; i < dconf->sec_file->nelts; i++) { > core_dir_config *conf = > > > Could you also possible send me the content of t/conf/* so I can see > what the generated configuration looks like. > > Thanks! > > On Mon, 2003-06-23 at 18:32, Hans-Ruodi Burch (EAS) wrote: > > Hi > > > > It's empty!? > > > > (gdb) display *dconf > > (gdb) display *(dconf->sec_file) > > (gdb) > > > > I used the core file from the make test. Does I have to run the program > > again in order to get a result? Sorry, but I'm not a debug expert. > > > > BR /Hans-Ruodi > > > > -----Original Message----- > > From: Philippe M. Chiasson [mailto:gozer@xxxxxxxx] > > Sent: Montag, 23. Juni 2003 11:13 > > To: Hans-Ruodi Burch (EAS) > > Cc: 'dev@xxxxxxxxxxxxxxx' > > Subject: RE: mod_perl 1.99_09 core dumps > > > > > > On Mon, 2003-06-23 at 16:04, Hans-Ruodi Burch (EAS) wrote: > > > Hi Philippe > > > > Hi, quite usefull now, but could you also > > > > gdb> display *dconf > > gdb> display *(dconf->sec_file) > > > > Thanks a lot! > > > > > make test: > > > > > > /usr/local/bin/perl -Iblib/arch -Iblib/lib \ > > > t/TEST -clean > > > APACHE_USER= APACHE_GROUP= APACHE_PORT= APACHE= APXS= \ > > > /usr/local/bin/perl -Iblib/arch -Iblib/lib \ > > > t/TEST -verbose=0 > > > *** root mode: changing the fs ownership to 'nobody' (60001:60001) > > > /usr/local/apache/bin/httpd -d > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/t -f > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/t/conf/httpd.conf > > > -DAPACHE2 > > > using Apache/2.0.45 (prefork MPM) > > > > > > waiting for server to start: .......[Mon Jun 23 09:54:04 2003] [info] 19 > > > Apache:: modules loaded > > > [Mon Jun 23 09:54:04 2003] [info] 3 APR:: modules loaded > > > [Mon Jun 23 09:54:04 2003] [info] base server + 8 vhosts ready to run > > > tests > > > ....................................................... > > > waiting for server to start: giving up after 61 secs > > > !!! server failed to start! (please examine t/logs/error_log) > > > !!! oh dangnabit, server dumped core > > > !!! for stacktrace, run: gdb /usr/local/apache/bin/httpd -core > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/t/core > > > make: *** [run_tests] Error 1 > > > > > > ls-al t/logs/error_log > > > -rw-r--r-- 1 root other 0 Jun 23 09:54 t/logs/error_log > > > > > > gdb /usr/local/apache/bin/httpd -core > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/t/core > > > GNU gdb 5.0 > > > Copyright 2000 Free Software Foundation, Inc. > > > GDB is free software, covered by the GNU General Public License, and you > > > are > > > welcome to change it and/or distribute copies of it under certain > > > conditions. > > > Type "show copying" to see the conditions. > > > There is absolutely no warranty for GDB. Type "show warranty" for > > > details. > > > This GDB was configured as "sparc-sun-solaris2.8"... > > > Core was generated by `/usr/local/apache/bin/httpd -d > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.'. > > > Program terminated with signal 9, Killed. > > > Reading symbols from /usr/local/ssl/lib/libssl.so.0.9.7...done. > > > Loaded symbols for /usr/local/ssl/lib/libssl.so.0.9.7 > > > Reading symbols from /usr/local/ssl/lib/libcrypto.so.0.9.7...done. > > > Loaded symbols for /usr/local/ssl/lib/libcrypto.so.0.9.7 > > > Reading symbols from /usr/local/apache/lib/libaprutil-0.so.0...done. > > > Loaded symbols for /usr/local/apache/lib/libaprutil-0.so.0 > > > Reading symbols from /usr/local/lib/libgdbm.so.3...done. > > > Loaded symbols for /usr/local/lib/libgdbm.so.3 > > > Reading symbols from /usr/local/lib/libexpat.so.0...done. > > > Loaded symbols for /usr/local/lib/libexpat.so.0 > > > Reading symbols from /usr/local/apache/lib/libapr-0.so.0...done. > > > Loaded symbols for /usr/local/apache/lib/libapr-0.so.0 > > > Reading symbols from /usr/lib/librt.so.1...done. > > > Loaded symbols for /usr/lib/librt.so.1 > > > Reading symbols from /usr/lib/libm.so.1...done. > > > Loaded symbols for /usr/lib/libm.so.1 > > > Reading symbols from /usr/lib/libsocket.so.1...done. > > > Loaded symbols for /usr/lib/libsocket.so.1 > > > Reading symbols from /usr/lib/libnsl.so.1...done. > > > Loaded symbols for /usr/lib/libnsl.so.1 > > > Reading symbols from /usr/lib/libresolv.so.2...done. > > > Loaded symbols for /usr/lib/libresolv.so.2 > > > Reading symbols from /usr/lib/libdl.so.1...done. > > > Loaded symbols for /usr/lib/libdl.so.1 > > > Reading symbols from /usr/lib/libpthread.so.1...done. > > > Loaded symbols for /usr/lib/libpthread.so.1 > > > ---Type <return> to continue, or q <return> to quit--- > > > Reading symbols from /usr/lib/libc.so.1...done. > > > Loaded symbols for /usr/lib/libc.so.1 > > > Reading symbols from /usr/local/lib/libgcc_s.so.1...done. > > > Loaded symbols for /usr/local/lib/libgcc_s.so.1 > > > Reading symbols from /usr/lib/libaio.so.1...done. > > > Loaded symbols for /usr/lib/libaio.so.1 > > > Reading symbols from /usr/lib/libmp.so.2...done. > > > Loaded symbols for /usr/lib/libmp.so.2 > > > Reading symbols from > > > /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1...done. > > > Loaded symbols for /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 > > > Reading symbols from /usr/lib/libthread.so.1...done. > > > Loaded symbols for /usr/lib/libthread.so.1 > > > Reading symbols from /usr/local/apache/modules/mod_access.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_access.so > > > Reading symbols from /usr/local/apache/modules/mod_auth.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_auth.so > > > Reading symbols from /usr/local/apache/modules/mod_auth_anon.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_auth_anon.so > > > Reading symbols from /usr/local/apache/modules/mod_auth_dbm.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_auth_dbm.so > > > Reading symbols from /usr/local/apache/modules/mod_auth_digest.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_auth_digest.so > > > Reading symbols from /usr/local/apache/modules/mod_ext_filter.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_ext_filter.so > > > Reading symbols from /usr/local/apache/modules/mod_include.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_include.so > > > Reading symbols from /usr/local/apache/modules/mod_log_config.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_log_config.so > > > Reading symbols from /usr/local/apache/modules/mod_env.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_env.so > > > Reading symbols from /usr/local/apache/modules/mod_mime_magic.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_mime_magic.so > > > Reading symbols from /usr/local/apache/modules/mod_cern_meta.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_cern_meta.so > > > Reading symbols from /usr/local/apache/modules/mod_expires.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_expires.so > > > Reading symbols from /usr/local/apache/modules/mod_headers.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_headers.so > > > Reading symbols from /usr/local/apache/modules/mod_usertrack.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_usertrack.so > > > Reading symbols from /usr/local/apache/modules/mod_unique_id.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_unique_id.so > > > Reading symbols from /usr/local/apache/modules/mod_setenvif.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_setenvif.so > > > Reading symbols from /usr/local/apache/modules/mod_ssl.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_ssl.so > > > ---Type <return> to continue, or q <return> to quit--- > > > Reading symbols from /usr/local/apache/modules/mod_mime.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_mime.so > > > Reading symbols from /usr/local/apache/modules/mod_dav.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_dav.so > > > Reading symbols from /usr/local/apache/modules/mod_status.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_status.so > > > Reading symbols from /usr/local/apache/modules/mod_autoindex.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_autoindex.so > > > Reading symbols from /usr/local/apache/modules/mod_asis.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_asis.so > > > Reading symbols from /usr/local/apache/modules/mod_info.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_info.so > > > Reading symbols from /usr/local/apache/modules/mod_suexec.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_suexec.so > > > Reading symbols from /usr/local/apache/modules/mod_cgi.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_cgi.so > > > Reading symbols from /usr/local/apache/modules/mod_dav_fs.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_dav_fs.so > > > Reading symbols from /usr/local/apache/modules/mod_vhost_alias.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_vhost_alias.so > > > Reading symbols from /usr/local/apache/modules/mod_negotiation.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_negotiation.so > > > Reading symbols from /usr/local/apache/modules/mod_dir.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_dir.so > > > Reading symbols from /usr/local/apache/modules/mod_imap.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_imap.so > > > Reading symbols from /usr/local/apache/modules/mod_actions.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_actions.so > > > Reading symbols from /usr/local/apache/modules/mod_speling.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_speling.so > > > Reading symbols from /usr/local/apache/modules/mod_userdir.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_userdir.so > > > Reading symbols from /usr/local/apache/modules/mod_alias.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_alias.so > > > Reading symbols from /usr/local/apache/modules/mod_rewrite.so...done. > > > Loaded symbols for /usr/local/apache/modules/mod_rewrite.so > > > Reading symbols from /usr/local/apache/modules/libphp4.so... > > > done. > > > Loaded symbols for /usr/local/apache/modules/libphp4.so > > > Reading symbols from > > > /usr/local/mysql/lib/mysql/libmysqlclient.so.10...done. > > > Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.10 > > > Reading symbols from /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so...done. > > > Loaded symbols for /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so > > > Reading symbols from /usr/local/lib/libz.so...done. > > > Loaded symbols for /usr/local/lib/libz.so > > > Reading symbols from /usr/local/lib/libcurl.so.2...done. > > > Loaded symbols for /usr/local/lib/libcurl.so.2 > > > ---Type <return> to continue, or q <return> to quit--- > > > > > > Reading symbols from /usr/lib/libcrypt_i.so.1...done. > > > Loaded symbols for /usr/lib/libcrypt_i.so.1 > > > Reading symbols from /usr/lib/libgen.so.1...done. > > > Loaded symbols for /usr/lib/libgen.so.1 > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/src/modules/perl/mod_perl.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/src/modules/perl/mod_perl.so > > > Reading symbols from > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Socket/Socket.so...done. > > > Loaded symbols for > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Socket/Socket.so > > > Reading symbols from > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/IO/IO.so... > > > done. > > > Loaded symbols for /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/IO/IO.so > > > Reading symbols from > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Fcntl/Fcntl.so...done. > > > Loaded symbols for > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Fcntl/Fcntl.so > > > Reading symbols from > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Cwd/Cwd.so... > > > done. > > > Loaded symbols for /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Cwd/Cwd.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/ModPerl/Util/Util.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/ModPerl/Util/Util.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/RequestRec/RequestRec.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/RequestRec/RequestRec.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/RequestIO/RequestIO.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/RequestIO/RequestIO.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/RequestUtil/RequestUtil.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/RequestUtil/RequestUtil.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Server/Server.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Server/Server.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/---Type > > > <return> to continue, or q <return> to quit--- > > > arch/auto/Apache/ServerUtil/ServerUtil.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/ServerUtil/ServerUtil.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Connection/Connection.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Connection/Connection.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Log/Log.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Log/Log.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Const/Const.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Const/Const.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Const/Const.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Const/Const.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Table/Table.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Table/Table.so > > > Reading symbols from > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Data/Dumper/Dumper.so...done. > > > Loaded symbols for > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/Data/Dumper/Dumper.so > > > Reading symbols from > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/File/Glob/Glob.so...done. > > > Loaded symbols for > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/File/Glob/Glob.so > > > Reading symbols from > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/List/Util/Util.so...done. > > > Loaded symbols for > > > /usr/local/lib/perl5/5.8.0/sun4-solaris/auto/List/Util/Util.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/CmdParms/CmdParms.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/CmdParms/CmdParms.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Directive/Directive.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Directive/Directive.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Access/Access.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Access/Access.so > > > ---Type <return> to continue, or q <return> to quit--- > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Filter/Filter.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Filter/Filter.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Brigade/Brigade.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Brigade/Brigade.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Bucket/Bucket.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Bucket/Bucket.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/FilterRec/FilterRec.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/FilterRec/FilterRec.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Util/Util.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/APR/Util/Util.so > > > Reading symbols from > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Module/Module.so...done. > > > Loaded symbols for > > > /usr/local/source/perl-5.8.0-modules/mod_perl-1.99_09/blib/arch/auto/Apache/Module/Module.so > > > #0 0xfdbc6b74 in ap_pcw_walk_files_config (pconf=0x9a030, s=0xb4210, > > > dconf=0xb48d0, modp=0xfdcc9670, > > > dir_cb=0xfdbc6680 <modperl_hash_handlers_dir>, data=0x0) > > > at modperl_pcw.c:52 > > > 52 ap_conf_vector_t **dirs = (ap_conf_vector_t > > > **)dconf->sec_file->elts; > > > > > > I also made a truss of httpd (already the last time, sorry I forgot to > > > send it): > > > > > > ... > > > 1559: fcntl(5, F_GETFL, 0x00000000) = 2 > > > 1559: fstat64(5, 0xFFBEF820) = 0 > > > 1559: fstat64(5, 0xFFBEF820) = 0 > > > 1559: fcntl(5, F_SETFL, 0x00000082) = 0 > > > 1559: brk(0x0012C050) = 0 > > > 1559: brk(0x0012E050) = 0 > > > 1559: open64("/tmp/error_log", O_RDWR|O_APPEND|O_CREAT, 0666) = 7 > > > 1559: fcntl(7, F_DUP2FD, 0x00000002) = 2 > > > 1559: open64("/tmp/access_log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 8 > > > 1559: Incurred fault #5, FLTACCESS %pc = 0xFDBBBDD4 > > > 1559: siginfo: SIGBUS BUS_ADRALN addr=0x0000000B > > > 1559: Received signal #10, SIGBUS [default] > > > 1559: siginfo: SIGBUS BUS_ADRALN addr=0x0000000B > > > 1559: *** process killed *** > > > > > > Does this already help? The web server should be up and running 24h a > > > day, therefore I prefer not to rebuild httpd with the maintainer mode as > > > suggested on the link you refered. But if there is no other way to solve > > > the core dump, no problem I will do it. > > > > > > Thanks > > > /Hans-Ruodi > > > > > > > > > -----Original Message----- > > > From: Philippe M. Chiasson [mailto:gozer@xxxxxxxx] > > > Sent: Montag, 23. Juni 2003 06:55 > > > To: Hans-Ruodi Burch (EAS) > > > Cc: 'dev@xxxxxxxxxxxxxxx' > > > Subject: Re: mod_perl 1.99_09 core dumps > > > > > > > > > This stacktrace isn't much help without debugging symbols. > > > > > > Can you please recompile mod_perl with MP_DEBUG=1 and repost the stack > > > trace ? > > > > > > What was the output of make test ? Did all test pass? > > > > > > For more information on submitting segfaults problems, you can also > > > read this: > > > > > > http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults > > > > > > On Thu, 2003-06-19 at 15:10, Hans-Ruodi Burch (EAS) wrote: > > > > -------------8<---------- Start Bug Report ------------8<---------- > > > > 1. Problem Description: > > > > > > > > httpd core dumps if mod_perl is used: > > > > > > > > castle# bin/httpd -f conf/httpd.conf > > > > Bus Error(coredump) > > > > > > > > gdb shows the following information: > > > > > > > > castle# gdb bin/httpd > > > > GNU gdb 5.0 > > > > Copyright 2000 Free Software Foundation, Inc. > > > > GDB is free software, covered by the GNU General Public License, and > > > > you are > > > > welcome to change it and/or distribute copies of it under certain > > > > conditions. > > > > Type "show copying" to see the conditions. > > > > There is absolutely no warranty for GDB. Type "show warranty" for > > > > details. > > > > This GDB was configured as "sparc-sun-solaris2.8"... > > > > (gdb) run > > > > Starting program: /usr/local/apache/bin/httpd > > > > [New LWP 1] > > > > [New LWP 2] > > > > [New LWP 3] > > > > [New LWP 4] > > > > [New LWP 5] > > > > > > > > Program received signal SIGSEGV, Segmentation fault. > > > > 0xfdbbbdd4 in ap_pcw_walk_files_config () > > > > from /usr/local/apache/modules/mod_perl.so > > > > (gdb) bt > > > > #0 0xfdbbbdd4 in ap_pcw_walk_files_config () > > > > from /usr/local/apache/modules/mod_perl.so > > > > #1 0xfdbbbf94 in ap_pcw_walk_config () > > > > from /usr/local/apache/modules/mod_perl.so > > > > #2 0xfdbb3924 in modperl_hook_post_config () > > > > from /usr/local/apache/modules/mod_perl.so > > > > #3 0x37328 in ap_run_post_config () > > > > #4 0x40090 in main () > > > > (gdb) quit > > > > The program is running. Exit anyway? (y or n) y > > > > > > > > The following additional perl modules are installed: > > > > > > > > Apache-DB-0.06 > > > > Apache-Perldoc-1.11 > > > > Astro-FITS-Header-2.6.2 > > > > BerkeleyDB-0.22 > > > > Cache-Cache-1.02 > > > > CGI.pm-2.93 > > > > CGI-WML-0.09 > > > > checkbot-1.72 > > > > Class-Container-0.10 > > > > Class-Data-Inheritable-0.02 > > > > DB_File-1.806 > > > > DBI-1.37 > > > > DBD-mysql-2.1027 > > > > Devel-StackTrace-1.03 > > > > Devel-Symdump-2.03 > > > > Digest-MD5-2.24 > > > > Digest-SHA1-2.02 > > > > Error-0.15 > > > > Exception-Class-1.12 > > > > ExtUtils-F77-1.14 > > > > File-Path-Expand-1.01 > > > > File-Spec-0.82 > > > > Geo-IP-1.15 > > > > Filter-1.29 > > > > Filter-Simple-0.78 > > > > HTML-Mason-1.20 > > > > HTML-Parser-3.28 > > > > HTML-TableExtract-1.08 > > > > HTML-Tagset-3.03 > > > > Inline-0.44 > > > > IPC-ShareLite-0.09 > > > > libnet-1.13 > > > > libwww-perl-5.69 > > > > MailTools-1.58 > > > > MIME-Base64-2.20 > > > > MLDBM-2.01 > > > > mod_perl-1.99_09 > > > > Net_SSLeay.pm-1.22 > > > > Params-Validate-0.59 > > > > Parse-RecDescent-1.94 > > > > PDL-2.3.4 > > > > PGPLOT-2.18 > > > > Scalar-List-Utils-1.11 > > > > Storable-2.07 > > > > Test-Simple-0.47 > > > > Time-HiRes-1.47 > > > > URI-1.23 > > > > XML-Parser-2.31 > > > > XML-Writer-0.4 > > > > > > > > 2. Used Components and their Configuration: > > > > > > > > *** using lib/Apache/BuildConfig.pm > > > > *** Makefile.PL options: > > > > MP_AP_PREFIX => /usr/local/apache > > > > MP_COMPAT_1X => 1 > > > > MP_GENERATE_XS => 1 > > > > MP_LIBNAME => mod_perl > > > > MP_USE_DSO => 1 > > > > MP_USE_STATIC => 1 > > > > > > > > > > > > *** /usr/local/apache/bin/httpd -V > > > > Server version: Apache/2.0.45 > > > > Server built: Jun 17 2003 08:13:42 > > > > Server's Module Magic Number: 20020903:0 > > > > Architecture: 32-bit > > > > Server compiled with.... > > > > -D APACHE_MPM_DIR="server/mpm/prefork" > > > > -D APR_HAS_MMAP > > > > -D APR_USE_PROC_PTHREAD_SERIALIZE > > > > -D APR_USE_PTHREAD_SERIALIZE > > > > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > > > > -D APR_HAS_OTHER_CHILD > > > > -D AP_HAVE_RELIABLE_PIPED_LOGS > > > > -D HTTPD_ROOT="/usr/local/apache" > > > > -D SUEXEC_BIN="/usr/local/apache/bin/suexec" > > > > -D DEFAULT_PIDLOG="logs/httpd.pid" > > > > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > > > > -D DEFAULT_LOCKFILE="logs/accept.lock" > > > > -D DEFAULT_ERRORLOG="logs/error_log" > > > > -D AP_TYPES_CONFIG_FILE="conf/mime.types" > > > > -D SERVER_CONFIG_FILE="conf/httpd.conf" > > > > > > > > > > > > *** /usr/local/bin/perl -V > > > > Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: > > > > Platform: > > > > osname=solaris, osvers=2.8, archname=sun4-solaris > > > > uname='sunos castle 5.8 generic_108528-21 sun4u sparc > > > > sunw,ultra-5_10 ' > > > > config_args='-Dcc=gcc -B/usr/ccs/bin/' > > > > hint=recommended, useposix=true, d_sigaction=define > > > > usethreads=undef use5005threads=undef useithreads=undef > > > > usemultiplicity=undef > > > > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > > > > use64bitint=undef use64bitall=undef uselongdouble=undef > > > > usemymalloc=n, bincompat5005=undef > > > > Compiler: > > > > cc='gcc -B/usr/ccs/bin/', ccflags ='-fno-strict-aliasing > > > > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > > > > optimize='-O2', > > > > cppflags='-fno-strict-aliasing -I/usr/local/include' > > > > ccversion='', gccversion='3.2.3', gccosandvers='solaris2.8' > > > > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 > > > > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > > > > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', > > > > lseeksize=8 > > > > alignbytes=8, prototype=define > > > > Linker and Libraries: > > > > ld='gcc -B/usr/ccs/bin/', ldflags =' -L/usr/local/lib ' > > > > libpth=/usr/local/lib /usr/lib /usr/ccs/lib > > > > libs=-lsocket -lnsl -lgdbm -ldl -lm -lc > > > > perllibs=-lsocket -lnsl -ldl -lm -lc > > > > libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a > > > > gnulibc_version='' > > > > Dynamic Linking: > > > > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' > > > > cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' > > > > > > > > > > > > Characteristics of this binary (from libperl): > > > > Compile-time options: USE_LARGE_FILES > > > > Built under solaris > > > > Compiled at Jun 18 2003 16:40:35 > > > > %ENV: > > > > PERL_LWP_USE_HTTP_10="1" > > > > @INC: > > > > /usr/local/lib/perl5/5.8.0/sun4-solaris > > > > /usr/local/lib/perl5/5.8.0 > > > > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris > > > > /usr/local/lib/perl5/site_perl/5.8.0 > > > > /usr/local/lib/perl5/site_perl > > > > . > > > > > > > > > > > > 3. This is the core dump trace: (if you get a core dump): > > > > > > > > see above > > > > > > > > This report was generated by t/REPORT on Thu Jun 19 06:57:44 2003 GMT. > > > > > > > > -------------8<---------- End Bug Report --------------8<---------- > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxx > > > > For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxx -- -------------------------------------------------------------------------------- Philippe M. Chiasson /gozer\@(cpan|ectoplasm)\.org/ 88C3A5A5 (122FF51B/C634E37B) http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3 A5A5 Q: It is impossible to make anything foolproof because fools are so ingenious. perl -e'$$=\${gozer};{$_=unpack(P7,pack(L,$$));/^JAm_pH\n$/&&print||$$++&&redo}'
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mp1] Win32 build, Randy Kobes |
|---|---|
| Next by Date: | Re: [ANNOUNCE] mod_perl-1.28, Randy Kobes |
| Previous by Thread: | RE: mod_perl 1.99_09 core dumps, Philippe M. Chiasson |
| Next by Thread: | Re: mod_perl 1.99_09 core dumps, Stas Bekman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |