httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romero Guerrero H├ęctor (Casa Matriz) <HRom...@stgo.codelco.cl>
Subject Segmentation fault (11)
Date Fri, 07 Dec 2001 14:32:02 GMT
Hi,

I have installed redhat 7.1 kernel 2.4.9-12 and Oracle HTTPD powered by
Apache.  All seems to work fine but suddenly i get a message in the log file
error_log that indicates possible generation of a coredump file. (actually
the files are generated)  This situation slow down my Apache Server and we
are taking the decision if we use a NT Server or a Linux Server.

I'm getting the following message in error_log file:
[Fri Dec  7 10:40:49 2001] [notice] child pid 550 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:40:51 2001] [notice] child pid 549 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:40:53 2001] [notice] child pid 548 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:40:55 2001] [notice] child pid 541 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:40:57 2001] [notice] child pid 540 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:40:59 2001] [notice] child pid 537 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:41:05 2001] [notice] child pid 561 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:41:06 2001] [notice] child pid 566 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:41:08 2001] [notice] child pid 560 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache
[Fri Dec  7 10:41:10 2001] [notice] child pid 557 exit signal Segmentation
fault (11), possible coredump in /orasw/iAS/Apache/Apache


+When i look at the core file i see:

$ file core.3909
core.3909: ELF 32-bit LSB core file of 'httpd' (signal 11), Intel 80386,
version 1, from 'httpd'

+I have generated a stack file from the core, it looks as follow:

[root@asperso Apache]# gdb /orasw/iAS/Apache/Apache/bin/httpd savecore.3909
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 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 "i386-redhat-linux"...
Core was generated by `/orasw/iAS/Apache/Apache/bin/httpd -d
/orasw/iAS/Apache/Apache'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/i686/libpthread.so.0...done.

warning: Unable to set global thread event mask: generic error
[New Thread 1024 (LWP 3909)]
Error while reading shared library symbols:
Cannot enable thread event reporting for Thread 1024 (LWP 3909): generic
error
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libdb.so.3...done.
Loaded symbols for /usr/lib/libdb.so.3
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /orasw/iAS/lib/libclntsh.so.8.0...done.
Loaded symbols for /orasw/iAS/lib/libclntsh.so.8.0
Reading symbols from /orasw/iAS/lib/libwtc8.so...done.
Loaded symbols for /orasw/iAS/lib/libwtc8.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_mmap_static.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_mmap_static.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_vhost_alias.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_vhost_alias.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_env.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_env.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_log_config.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_log_config.so
---Type <return> to continue, or q <return> to quit---
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_log_agent.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_log_agent.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_log_referer.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_log_referer.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_mime_magic.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_mime_magic.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_mime.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_mime.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_negotiation.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_negotiation.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_status.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_status.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_info.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_info.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_include.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_include.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_autoindex.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_autoindex.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_dir.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_dir.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_cgi.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_cgi.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_asis.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_asis.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_imap.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_imap.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_actions.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_actions.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_speling.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_speling.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_userdir.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_userdir.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_alias.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_alias.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_rewrite.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_rewrite.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_access.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_access.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_auth.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_auth.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_auth_anon.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_auth_anon.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_auth_dbm.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_auth_dbm.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_digest.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_digest.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/libproxy.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/libproxy.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_cern_meta.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_cern_meta.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_expires.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_expires.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_headers.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_headers.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_usertrack.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_usertrack.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_example.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_example.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_unique_id.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_unique_id.so
Reading symbols from
/orasw/iAS/Apache/Apache/libexec/mod_setenvif.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_setenvif.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/liboprocmgr.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/liboprocmgr.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_define.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_define.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_dms.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_dms.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/libperl.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/libperl.so
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /orasw/iAS/Apache/Apache/libexec/mod_fastcgi.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/mod_fastcgi.so
Reading symbols from /orasw/iAS/Apache/Jserv/libexec/mod_jserv.so...done.
Loaded symbols for /orasw/iAS/Apache/Jserv/libexec/mod_jserv.so
Reading symbols from /orasw/iAS/Apache/Apache/libexec/libjipa8i.so...done.
Loaded symbols for /orasw/iAS/Apache/Apache/libexec/libjipa8i.so
Reading symbols from /orasw/iAS/lib/libjip8.so...done.
Loaded symbols for /orasw/iAS/lib/libjip8.so
Reading symbols from /orasw/iAS/Apache/modplsql/bin/modplsql.so...done.
Loaded symbols for /orasw/iAS/Apache/modplsql/bin/modplsql.so
#0  0x4060fb8f in kpudtch () from /orasw/iAS/lib/libclntsh.so.8.0
(gdb) bt
#0  0x4060fb8f in kpudtch () from /orasw/iAS/lib/libclntsh.so.8.0
#1  0x4065b40e in OCIServerDetach () from /orasw/iAS/lib/libclntsh.so.8.0
#2  0x40b323ed in wwwods_DetachServer () from
/orasw/iAS/Apache/modplsql/bin/modplsql.so
#3  0x40b2d85d in wwccpfcr_FreeConnectionList () from
/orasw/iAS/Apache/modplsql/bin/modplsql.so
#4  0x40b351e6 in wwwapgdg_DeinitGlobals () from
/orasw/iAS/Apache/modplsql/bin/modplsql.so
#5  0x40b34eb9 in wwwapmd_MainDeinit () from
/orasw/iAS/Apache/modplsql/bin/modplsql.so
#6  0x40b3737e in plsql_exit () from
/orasw/iAS/Apache/modplsql/bin/modplsql.so
#7  0x080596d1 in ap_child_exit_modules () at eval.c:41
#8  0x0805f575 in clean_child_exit () at eval.c:41
#9  0x08061407 in just_die () at eval.c:41
#10 0x08061429 in usr1_handler () at eval.c:41
#11 0x4002ca85 in pthread_sighandler (signo=10, ctx=
      {gs = 7, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 43,
__dsh = 0, edi = 134972020, esi = 0, ebp = 3221223316, esp = 3221223288, ebx
= 1, edx = 1, ecx = 393216, eax = 4294967292, trapno = 0, err = 0, eip =
1075545410, cs = 35, __csh = 0, eflags = 582, esp_at_signal = 3221223288, ss
= 43, __ssh = 0, fpstate = 0x0, oldmask = 2147483648, cr2 = 0}) at
signals.c:97
#12 <signal handler called>
#13 0x401b8542 in semop (semid=393216, sops=0x80b8274, nsops=1) at
../sysdeps/unix/sysv/linux/semop.c:36
#14 0x0805f706 in accept_mutex_on () at eval.c:41
#15 0x0806277c in child_main () at eval.c:41
#16 0x08062dcc in make_child () at eval.c:41
#17 0x08063146 in perform_idle_server_maintenance () at eval.c:41
#18 0x08063695 in standalone_main () at eval.c:41
#19 0x08063c63 in main () at eval.c:41
#20 0x400e6627 in __libc_start_main (main=0x806390c <main>, argc=3,
ubp_av=0xbffff994, init=0x8050f6c <_init>, 
    fini=0x80a120c <_fini>, rtld_fini=0x4000dcd4 <_dl_fini>,
stack_end=0xbffff98c) at ../sysdeps/generic/libc-start.c:129
(gdb) quit
[root@asperso Apache]# exit
Script done on Thu Dec  6 11:09:18 2001


+ Any idea about what is the problem ???  

Regards,
Hector Romero.

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message