You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Steve Harris <sh...@myra.com> on 2004/05/13 00:34:13 UTC

[users@httpd] Solaris 8, chroot, core dump

Hi all,

I'm running Apache 1.3.29 which is chrooted on Solaris 8.  Each day I have
a few httpd processes that core dump.  I've used mdb to look at the core
dumps - which are probably caused by a missing library - but I can't
identify the library in question.

I've ldd'd the httpd and all dependant .so's to check the libraries are in
place and they seem to be.

The mdb output of each of the core dumps is identical - which is
comforting in a way.  The dump is below - truncated for brevity sake.

Does anyone have any comments ?

Kind Regards - Steve Harris

# mdb core.httpd.6416.avalon.4011.10010.1084373741
Loading modules: [ ]
> $?
no process
SIGSEGV: Segmentation Fault
%g0 = 0x00000000                 %l0 = 0xff32a7f0 libnsl.so.1`h_errno
%g1 = 0xff3ef800                 %l1 = 0x00ff0000
%g2 = 0xff0c4000                 %l2 = 0x0000ff00
%g3 = 0x00000000                 %l3 = 0xef726e65
%g4 = 0x00000000                 %l4 = 0x00000070
%g5 = 0x00000000                 %l5 = 0x0000006c
%g6 = 0x00000000                 %l6 = 0x7efefeff
%g7 = 0x000d7e80                 %l7 = 0x81010100

%o0 = 0x00000015                 %i0 = 0xff3f3b98
%o1 = 0x00000005                 %i1 = 0x000ea194
%o2 = 0x6100ef28                 %i2 = 0x000ea1a8
%o3 = 0x7efefeff                 %i3 = 0x00000920
%o4 = 0x81010100                 %i4 = 0x000ea1a8
%o5 = 0x0000ff00                 %i5 = 0x000ea194
%o6 = 0xff3ef798                 %i6 = 0xff3f1808
%o7 = 0xff2b5e88 libnsl.so.1`_door_gethostbyname_r+0x3c %i7 = 0xff29b56c
libnsl.so.1`_get_hostserv_inetnetdir_byname+0x7a4

 %psr = 0xfe401003 impl=0xf ver=0xe icc=nZvc
                   ec=0 ef=4096 pil=0 s=0 ps=0 et=0 cwp=0x3
   %y = 0x00000000
  %pc = 0xff2b5eb0 libnsl.so.1`_door_gethostbyname_r+0x64
 %npc = 0xff2b5eb4 libnsl.so.1`_door_gethostbyname_r+0x68
  %sp = 0xff3ef798
  %fp = 0xff3f1808

 %wim = 0x00000000
 %tbr = 0x00000000

A stack trace ($c) shows the lead up to the problem ;

libnsl.so.1`_door_gethostbyname_r+0x64(ff3f3b98, ea194, ea1a8, 920, ea1a8,
ea194)
libnsl.so.1`_get_hostserv_inetnetdir_byname+0x7a4(ff3f1900, ff3f1908, 0,
ff3f1908, ff31ef28, ffffffff)
libnsl.so.1`gethostbyname_r+0xa0(15f770, ea194, ea1a8, 920, ea194,
ff31ef28)
mod_wl_ssl.so`connectSocket__3URL+0x1dc(ff3f2b98, 0, ff3f3b98, 61000000,
6100, 0)
mod_wl_ssl.so`connect__3URL+0x30(ff3f2b98, ff3f2b98, ff3f3ce8, 1b590000,
0, ff0c4294)
mod_wl_ssl.so`attemptConnect+0xd0c(106ba0, ffbee8e8, ecd98, 0, ff227284,
0)
mod_wl_ssl.so`attemptConnect+0x13b8(106ba0, ffbee8e8, ecd98, 0, ff227284,
0)
mod_wl_ssl.so`attemptConnect+0x13b8(106ba0, ffbee8e8, ecd98, 0, ff227284,
0)


> ::objects
    BASE    LIMIT     SIZE NAME
ff3b0000 ff3d8000    28000 /usr/lib/ld.so.1
   10000    c0000    b0000 /usr/local/apache/bin/httpd
ff380000 ff38a000     a000 /usr/lib/libsocket.so.1
ff280000 ff30e000    8e000 /usr/lib/libnsl.so.1
ff360000 ff366000     6000 /usr/lib/libpthread.so.1
ff340000 ff344000     4000 /usr/lib/libmm.so.13
ff3a0000 ff3a2000     2000 /usr/lib/libdl.so.1
ff180000 ff22c000    ac000 /usr/lib/libc.so.1
ff160000 ff164000     4000 /usr/lib/libmp.so.2
ff260000 ff262000     2000
/usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
ff120000 ff13c000    1c000 /usr/lib/libthread.so.1
ff0e0000 ff0e6000     6000 /usr/lib/nss_files.so.1
ff090000 ff0b4000    24000 /usr/local/apache/libexec/mod_wl_ssl.so



He didn't administer a reign of terror, just the occasional light shower.
 - Terry Pratchett, Sourcery

---------------------------------------------------------------------
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


Re: [users@httpd] Solaris 8, chroot, core dump

Posted by Joe Orton <jo...@redhat.com>.
On Wed, May 12, 2004 at 03:34:13PM -0700, Steve Harris wrote:
...
> mod_wl_ssl.so`connectSocket__3URL+0x1dc(ff3f2b98, 0, ff3f3b98, 61000000,
> 6100, 0)

The crash is in the WebLogic module, you need to contact BEA for
support.

joe

---------------------------------------------------------------------
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