ID: 28162
Comment by: plumber at gnu-darwin dot org
Reported By: info at rhalff dot com
Status: Open
Bug Type: Compile Failure
Operating System: linux
PHP Version: 5CVS-2004-04-26 (dev)
New Comment:
platform : php 5.0.1 darwin-ppc-6.8 httpd 1.3 (apple-
natif)
--built-in modules works well
--built-shared modules works well with-myext=shared,/
usr for php-cli
--but it doesn't work for apache
load_module=php_anybundle.bundle
httpd output :
dyld: /usr/sbin/httpd Undefined symbols:
_OnUpdateLong
_OnUpdateString
_OnUpdateStringUnempty
__array_init
__convert_to_string
__ecalloc
__efree
__emalloc
__erealloc
__estrdup
__estrndup
__object_and_properties_init
__object_init
__object_init_ex
__php_stream_alloc
__php_stream_cast
__php_stream_free
__php_stream_open_wrapper_ex
__php_stream_read
__safe_emalloc
__zend_hash_add_or_update
__zend_hash_index_update_or_next_insert
__zend_hash_init
__zend_list_addref
__zend_list_delete
__zend_list_find
__zval_copy_ctor
__zval_dtor
__zval_ptr_dtor
_add_assoc_long_ex
_add_assoc_null_ex
_add_assoc_string_ex
_add_assoc_stringl_ex
_add_assoc_zval_ex
_add_index_long
_add_index_null
_add_index_string
_add_index_zval
_add_next_index_bool
_add_next_index_string
_add_next_index_stringl
_add_next_index_zval
_add_property_long_ex
_add_property_string_ex
_ap_php_snprintf
_call_user_function_ex
_convert_to_boolean
_convert_to_long
_core_globals
_display_ini_entries
_display_link_numbers
_empty_string
crash :
Command:httpd
PID:18385
Exception: EXC_BREAKPOINT (0x0006)
Code[0]:0x0001Code[1]:0x8fe01220
Thread 0 Crashed:
#0 0x8fe01220 in halt
#1 0x8fe0459c in unload_bundle_image
#2 0x8fe12308 in _dyld_unlink_module
#3 0x900b1c44 in NSUnLinkModule
#4 0x000234a4 in ap_os_dso_unload
#5 0x2b10 in unload_module
#6 0x000122cc in run_cleanups
#7 0x00010d8c in ap_clear_pool
#8 0x70c4 in standalone_main
#9 0x7a7c in main
#10 0x2820 in _start
#11 0x26a0 in start
PPC Thread State:
srr0: 0x8fe01220 srr1: 0x0002f030
vrsave: 0x
xer: 0x lr: 0x8fe09bd8 ctr: 0x8fe293ac
mq: 0x
r0: 0x0004 r1: 0xb810 r2: 0x8fe4b400
r3: 0x03f6
r4: 0x r5: 0x03f6 r6: 0xb82c
r7: 0x0002
r8: 0x6f6e005f r9: 0x r10: 0x
r11: 0x000b2e20
r12: 0x8fe71e0e r13: 0x r14: 0x
r15: 0x
r16: 0x r17: 0x r18: 0x
r19: 0x
r20: 0x r21: 0x r22: 0x00057048
r23: 0x
r24: 0x r25: 0x00057048 r26: 0x
r27: 0x
r28: 0x8fe4841c r29: 0x8fe484ec r30: 0x8fe484ec
r31: 0x8fe0995c
php runs well with apache if i remove (in the php.ini)
the dynamic load module.
Regards
Previous Comments:
[2004-05-29 04:36:12] ralph at maxsoft dot com
I also saw this bug when compiling the php4 FreeBSD port for version
4.3.6. Following the suggestion in the bug report, I removed
--with-freetype-dir=whatever
from the top level Makefile, and then everything compiled without
error, with make test reporting only 6 (presumably unrelated) errors,
as follows:
=
TIME END 2004-05-28 22:25:18
=
TEST RESULT SUMMARY
-
Exts skipped: 75
Exts tested : 13
-
Number of tests : 592
Tests skipped : 256 (43.2%)
Tests warned:0 ( 0.0%)
Tests failed:6 ( 1.0%)
Tests passed: 330 (55.7%)
-
Time taken : 274 seconds
=
=
FAILED TEST SUMMARY
-
Bug #24773 (unset() of integers treated as arrays causes a crash)
[tests/lang/bug24773.phpt]
Bug #24783 ($key not binary safe in foreach($arr as $key = $val))
[tests/lang/bug24783.phpt]
Bug #25547 (error_handler and array index with function call)
[tests/lang/bug25547.phpt]
Bug #27731 (error_reporing() call inside @ block does not work
correctly) [tests/lang/bug27731.phpt]
Bug #26862 (ob_flush() before output_reset_rewrite_vars() results in
data loss) [ext/session/tests/bug26862.phpt]
Bug #27780 (strtotime(+1 xxx) returns a wrong date/time)
[ext/standard/tests/time/bug27780.phpt]
=
Until today, I have been running the FreeBSD port for version 4.3.5,
which compiled without any problems