NetBSD Problem Report #8905
Received: (qmail 7219 invoked from network); 28 Nov 1999 20:03:40 -0000
Message-Id: <199911282003.VAA01117@arresum.inka.de>
Date: Sun, 28 Nov 1999 21:03:33 +0100 (MET)
From: Bernd Ernesti <bernd@arresum.inka.de>
Reply-To: bernd@arresum.inka.de
To: gnats-bugs@gnats.netbsd.org
Subject: apache core dumps with the current ld.so_elf
X-Send-Pr-Version: 3.95
>Number: 8905
>Category: port-i386
>Synopsis: apache core dumps with the current ld.so_elf
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: port-i386-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 28 12:06:01 +0000 1999
>Closed-Date: Mon Feb 07 19:03:02 +0000 2000
>Last-Modified: Mon Feb 07 19:03:22 +0000 2000
>Originator: Bernd Ernesti
>Release: NetBSD-current 28.11.1999 1800 GMT
>Organization:
>Environment:
System: NetBSD arresum.inka.de 1.4P NetBSD 1.4P (ARRESUM) #400: Sun Nov 28 14:00:57 MET 1999 bernd@arresum.inka.de:/home/work/obj_i386/src.i386/sys/arch/i386/compile/ARRESUM i386
>Description:
Try to run the apache on a -current system and notice the core dump.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/lib/libcrypt.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
Reading symbols from /usr/local/apache_1.3.9/libexec/mod_vhost_alias.so...done.
#0 0x4809de44 in _rtld_symlook_obj (name=0x4813129a "strcasecmp", hash=160306112, obj=0x480a7800,
in_plt=true) at /src/libexec/ld.elf_so/symbol.c:122
122 unsigned long symnum = obj->buckets[hash % obj->nbuckets];
(gdb) where
#0 0x4809de44 in _rtld_symlook_obj (name=0x4813129a "strcasecmp", hash=160306112, obj=0x480a7800,
in_plt=true) at /src/libexec/ld.elf_so/symbol.c:122
#1 0x4809dddd in _rtld_symlook_list (name=0x4813129a "strcasecmp", hash=160306112,
objlist=0x480a3aa4, defobj_out=0xefbfb480, in_plt=true) at /src/libexec/ld.elf_so/symbol.c:91
#2 0x4809e04b in _rtld_find_symdef (obj_list=0x480a7000, r_info=1287,
name=0x4813129a "strcasecmp", refobj=0x480a7600, defobj_out=0xefbfb4b4, in_plt=true)
at /src/libexec/ld.elf_so/symbol.c:217
#3 0x4809da37 in _rtld_relocate_plt_object (obj=0x480a7600, rela=0xefbfb4e4, addrp=0x0,
bind_now=true, dodebug=true) at /src/libexec/ld.elf_so/reloc.c:404
#4 0x4809dc86 in _rtld_relocate_objects (first=0x480a7600, bind_now=true, dodebug=true)
at /src/libexec/ld.elf_so/reloc.c:554
#5 0x4809d2be in _rtld_dlopen (
name=0x80a7854 "/usr/local/apache_1.3.9/libexec/mod_vhost_alias.so", mode=258)
at /src/libexec/ld.elf_so/rtld.c:671
#6 0x804e99e in dlopen ()
#7 0x806ea85 in ap_os_dso_load ()
#8 0x804ec42 in load_module ()
#9 0x80541bc in invoke_cmd ()
#10 0x8054a72 in ap_handle_command ()
#11 0x8054b08 in ap_srm_command_loop ()
#12 0x8054f04 in ap_process_resource_config ()
#13 0x80557ca in ap_read_config ()
#14 0x805eb21 in standalone_main ()
#15 0x805f46b in main ()
#16 0x804e8c5 in _start ()
>How-To-Repeat:
Simple start apache with modules in the config file.
Apache is compiled with "--enable-module=most --enable-shared=max".
Apache still works when I use the old ld.so_elf:
-r-xr-xr-x 1 bin bin 36586 Oct 31 13:05 ld.elf_so
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: kleink
State-Changed-When: Mon Feb 7 11:03:02 PST 2000
State-Changed-Why:
Fixed in rtld.c rev. 1.29.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.