[PHP-DEV] PHP 4.0 Bug #8083 Updated: 3.0.17 causes segm. faults with --enable-versioning From: php <email protected>
Date: 12/02/00

ID: 8083
User Update by: php <email protected>
Status: Open
Old-Bug Type: Installation problem
Bug Type: *General Issues
Description: 3.0.17 causes segm. faults with --enable-versioning

huh .. took some time 2 install the debugger .. so here is the backtrace:

Core was generated by `/usr/local/apache_php/bin/httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /usr/local/apache_php/libexec/mod_env.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_log_config.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_mime.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_negotiation.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_status.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_include.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_autoindex.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_dir.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_cgi.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_asis.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_imap.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_actions.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_userdir.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_alias.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_access.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_auth.so...done.
Reading symbols from /usr/local/apache_php/libexec/mod_setenvif.so...done.
Reading symbols from /usr/local/apache_php/libexec/libphp3.so...done.
Reading symbols from /usr/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/lib/libttf.so.2...done.
Reading symbols from /usr/lib/libgdbm.so.2...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libresolv.so.2...done.
#0 0x400092df in _dl_relocate_object () at dl-reloc.c:135
135 dl-reloc.c: No such file or directory.

(gdb) bt

#0 0x400092df in _dl_relocate_object () at dl-reloc.c:135
#1 0x40133ed4 in dl_open_worker (a=0xbfffd43c) at dl-open.c:182
#2 0x4000a801 in _dl_catch_error () at dl-error.c:117
#3 0x4013403f in _dl_open () at dl-open.c:210
#4 0x4006436e in dlopen_doit (a=0xbfffd58c) at dlopen.c:41
#5 0x4000a801 in _dl_catch_error () at dl-error.c:117
#6 0x400649c1 in _dlerror_run (operate=0x40064340 <dlopen_doit>, args=0xbfffd58c)
    at dlerror.c:125
#7 0x400643b3 in __dlopen_check (
    file=0x80b3e4c "/usr/local/apache_php/libexec/libphp3.so", mode=258) at dlopen.c:53
#8 0x8072c57 in ap_os_dso_load ()
#9 0x804f4ed in load_module ()
#10 0x805557e in invoke_cmd ()
#11 0x8055ee2 in ap_handle_command ()
#12 0x8055f8d in ap_srm_command_loop ()
#13 0x80566b9 in ap_process_resource_config ()
#14 0x8057058 in ap_read_config ()
#15 0x8061fac in main ()
#16 0x4007fa8e in __libc_start_main () at ../sysdeps/generic/libc-start.c:93

Previous Comments:
---------------------------------------------------------------------------

[2000-12-02 22:22:23] php <email protected>
oups .. forgot apache-version: 1.3.14

---------------------------------------------------------------------------

[2000-12-02 22:14:18] php <email protected>
I can't get php3-mod 3.0.17 to work with --enable-versioning.

kernel: 2.2.16
gcc: 2.95.2
binutils: 2.9.5

Did Apache with:
./configure --prefix=/blah
  --enable-shared=max
make
make install

Did Php3 3.0.17 with:
./configure --with-apxs=/blah/bin/apxs --enable-versioning
make
make install

copied php3.ini-dist as is

When i did apachectrl start i only saw a segmentation fault.
Php4-mod is running fine with --enable-versioning.

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=8083

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>