PHP 4.0 Bug #8334 Updated: Segmentation faults on page load

From: Date: Wed, 20 Dec 2000 14:26:40 +0000
Subject: PHP 4.0 Bug #8334 Updated: Segmentation faults on page load
Groups: php.dev 
Request: Send a blank email to php-dev+get-41926@lists.php.net to get a copy of this message
ID: 8334 User Update by: augustz@bigfoot.com Status: Open Bug Type: *Install and Config Description: Segmentation faults on page load Not sure if this is usefull... changed compile to --with-debug and did not strip the debug symbols from the final lib, but I don't think it made much difference on the backtrace. [Wed Dec 20 09:24:27 2000] [warn] Loaded DSO modules/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Error while mapping shared library sections: h$: No such file or directory. Error while reading shared library symbols: h$: No such file or directory. warning: find_solib: Can't read pathname for load map: Input/output error Cannot access memory at address 0x706. (gdb) bt #0 0x4000adc0 in _dl_debug_state () at dl-debug.c:47 #1 0x4000aadb in _dl_catch_error () at dl-error.c:99 #2 0x40180345 in _dl_open () at dl-open.c:283 #3 0x4009e3d3 in dlopen_doit (a=0xbfffdeb4) at dlopen.c:41 #4 0x4000aadb in _dl_catch_error () at dl-error.c:99 #5 0x4009e8b9 in _dlerror_run (operate=0x4009e3a8 <dlopen_doit>, args=0xbfffdeb4) at dlerror.c:125 #6 0x4009e393 in __dlopen_check (file=0x8109688 "/usr/local/lib/libmcrypt/safer-sk64.so", mode=257) at dlopen.c:53 #7 0x40442f31 in ?? () from /usr/lib/libltdl.so.0 #8 0x4044344d in ?? () from /usr/lib/libltdl.so.0 #9 0x40443840 in ?? () from /usr/lib/libltdl.so.0 #10 0x4044427a in ?? () from /usr/lib/libltdl.so.0 #11 0x404443dc in ?? () from /usr/lib/libltdl.so.0 #12 0x403ea283 in mcrypt_module_get_algo_supported_key_sizes () from /usr/lib/libltdl.so.0 #13 0x403e9c16 in ?? () from /usr/local/lib/libmcrypt.so.4 #14 0x403e98fe in ?? () from /usr/local/lib/libmcrypt.so.4 #15 0x4029787d in php_info_mcrypt (zend_module=0x80b6980) at mcrypt.c:351 #16 0x402da938 in _display_module_info (module=0x80b6980, arg=0xbfffe93c) at info.c:50 #17 0x4027181a in zend_hash_apply_with_argument (ht=0x403cc900, apply_func=0x402da900 <_display_module_info>, argument=0xbfffe93c) at zend_hash.c:711 #18 0x402daf8a in php_print_info (flag=-1) at info.c:256 #19 0x402db6fd in php_if_phpinfo (ht=0, return_value=0x8106fec, this_ptr=0x0, return_value_used=0) at info.c:464 #20 0x402602b6 in execute (op_array=0x8106f84) at ./zend_execute.c:1519 #21 0x4026e2d0 in zend_execute_scripts (type=8, file_count=3) at zend.c:729 #22 0x4027f391 in php_execute_script (primary_file=0xbffffb34) at main.c:1221 #23 0x4027be32 in apache_php_module_main (r=0x80e4a14, display_source_mode=0) at sapi_apache.c:89 #24 0x4027c6fb in send_php (r=0x80e4a14, display_source_mode=0, filename=0x0) at mod_php4.c:506 #25 0x4027c72c in send_parsed_php (r=0x80e4a14) at mod_php4.c:517 #26 0x805345e in ap_invoke_handler () #27 0x80618fb in ap_some_auth_required () #28 0x8061958 in ap_process_request () #29 0x805b940 in ap_child_terminate () #30 0x805baa7 in ap_child_terminate () #31 0x805bba8 in ap_child_terminate () #32 0x805c058 in ap_child_terminate () #33 0x805c65f in main () #34 0x400b99ab in __libc_start_main () at ../sysdeps/generic/libc-start.c:122 Previous Comments: --------------------------------------------------------------------------- [2000-12-20 09:12:57] augustz@bigfoot.com Upgrading to 4.0.4 on a machine currently running 4.0.3pl1 seems to generate a seg fault in the apache logs on every page load. Copying the old 4.0.3pl1 libphp4.so back and huping Apache seems to solve the problem. No changes where made to the machine and the compile and ./configure options where identical and are included below between both versions. The opimizer was disabled in php.ini for both cases. ./configure --with-apxs --with-zlib=/root/distro/zlib-1.1.3 --with-imap --with-mcrypt=/root/distro/libmcrypt-2.4.5 --without-xml --disable-xml --without-gdb --disable-rpath --with-mysql --disable-debug --with-config-file-path=/home/httpd/conf [Wed Dec 20 09:02:18 2000] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/4.0.4 configured -- resuming normal operations [Wed Dec 20 09:02:34 2000] [notice] child pid 2006 exit signal Segmentation fault (11) [Wed Dec 20 09:02:36 2000] [notice] child pid 2007 exit signal Segmentation fault (11) [Wed Dec 20 09:02:37 2000] [notice] child pid 2071 exit signal Segmentation fault (11) [Wed Dec 20 09:02:40 2000] [notice] child pid 2009 exit signal Segmentation fault (11) [Wed Dec 20 09:02:43 2000] [notice] child pid 2074 exit signal Segmentation fault (11) [Wed Dec 20 09:02:43 2000] [notice] child pid 2019 exit signal Segmentation fault (11) --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8334

« previous php.dev (#41926) next »