Bug #2596: segfaulting on startup
| From: | xmatl at fi dot muni dot cz | Date: | Sun, 24 Oct 1999 11:30:53 +0000 |
| Subject: | Bug #2596: segfaulting on startup | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11855@lists.php.net to get a copy of this message | ||
From: xmatl@fi.muni.cz
Operating system: Linux 2.2.12
PHP version: 3.0.12
PHP Bug Type: Reproduceable crash
Bug description: segfaulting on startup
when i add php (or mysql support to php, i'm not really sure) into apache, it's
segfaulting. to make in more interesting, when i run apache without, php it's ok,
if i then uncomment php loading options, it runs....
./configure --prefix=$(PHP_DIR) \
--exec-prefix=$(PHP_DIR) \
--with-config-file-path=$(APACHE_DIR)/conf \
--with-apxs=$(APACHE_DIR)/bin/apxs \
--with-mysql=$(MYSQL_DIR) \
--with-zlib=$(ZLIB_DIR) \
--with-gd=$(GD_DIR) \
--with-gettext=$(GETTEXT_DIR) \
--with-ldap=$(OPENLDAP_DIR) \
--enable-memory-limit \
--enable-sysvsem \
--enable-sysvshm \
--enable-magic-quotes \
--enable-memory-limit \
--enable-track-vars; \
gdb backtrace:
#0 0x4000a6d1 in _dl_debug_state () at dl-debug.c:56
#1 0x4017d4e6 in _dl_close (map=0x80cc418) at dl-close.c:195
#2 0x4009e0c0 in dlclose_doit (handle=0x80cc418) at dlclose.c:26
#3 0x4000a3eb in _dl_catch_error (errstring=0x4009fd00, operate=0x4009e0a8 <dlclose_doit>,
args=0x80cc418)
at dl-error.c:141
#4 0x4009e549 in _dlerror_run (operate=0x4009e0a8 <dlclose_doit>, args=0x80cc418) at
dlerror.c:125
#5 0x4009e08e in dlclose (handle=0x80cc418) at dlclose.c:32
#6 0x8070430 in ap_os_dso_unload ()
#7 0x804fbd0 in unload_module ()
#8 0x80519de in run_cleanups ()
#9 0x80501fd in ap_clear_pool ()
#10 0x8060633 in standalone_main ()
#11 0x8060ed9 in main ()
#12 0x400b81eb in __libc_start_main (main=0x8060b8c <main>, argc=2, argv=0xbffff944,
init=0x804f1d0 <_init>, fini=0x8096d2c <_fini>, rtld_fini=0x4000a610
<_dl_fini>, stack_end=0xbffff93c)
at ../sysdeps/generic/libc-start.c:90
strace:
open("./php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/stow/apache/conf/php3.ini", O_RDONLY) = 6
ioctl(6, TCGETS, 0xbfffc6d4) = -1 ENOTTY (Inappropriate ioctl for device)
read(6, "", 8192) = 0
ioctl(6, TCGETS, 0xbfffc6c0) = -1 ENOTTY (Inappropriate ioctl for device)
--- SIGSEGV (Segmentation fault) ---