Here's what I get with PHP 5.2.1 archives from your website, after it
builds OK, it segfaults while running.  Can anyone explain this?

[EMAIL PROTECTED]:/srv/www/org/dyndns/cjsoftuk/domain_public$ php -v
PHP 5.2.1 (cgi) (built: Apr 24 2007 07:00:45)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
[EMAIL PROTECTED]:/srv/www/org/dyndns/cjsoftuk/domain_public$ php index.php
Status: 302
X-Powered-By: PHP/5.2.1
Location: /modx/
Content-type: text/html

[EMAIL PROTECTED]:/srv/www/org/dyndns/cjsoftuk/domain_public$ php modx/index.php
Segmentation fault
[EMAIL PROTECTED]:/srv/www/org/dyndns/cjsoftuk/domain_public$ gdb php
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run modx/index.php
Starting program: /usr/local/bin/php modx/index.php
[Thread debugging using libthread_db enabled]
[New Thread -1213458752 (LWP 27138)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213458752 (LWP 27138)]
0x0823a1cf in strx_printv (ccp=0xbf1221c4, buf=0xbf122208 "", len=100,
format=0x8373688 "%.8F %ld", ap=0xbf1221dc "\212[\0051е�?P�-F")
    at /home/chrism/php-5.2.1/main/snprintf.c:1136
1136    {
(gdb) bt
#0  0x0823a1cf in strx_printv (ccp=0xbf1221c4, buf=0xbf122208 "",
len=100, format=0x8373688 "%.8F %ld", ap=0xbf1221dc "\212[\0051е�?P�-F")
    at /home/chrism/php-5.2.1/main/snprintf.c:1136
#1  0x0823afe4 in ap_php_snprintf (buf=0xbf122208 "", len=100,
format=0x8373688 "%.8F %ld") at /home/chrism/php-5.2.1/main/snprintf.c:1170
#2  0x081f2a45 in _php_gettimeofday (ht=<value optimized out>,
return_value=0x906b4b0, return_value_ptr=<value optimized out>,
this_ptr=0x0,
    return_value_used=1, mode=0) at
/home/chrism/php-5.2.1/ext/standard/microtime.c:87
#3  0x08295bd8 in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12243c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:200
#4  0x08294d49 in execute (op_array=0x849dd90) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#5  0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12298c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#6  0x08294d49 in execute (op_array=0x856d240) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#7  0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf122e4c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#8  0x08294d49 in execute (op_array=0x8570ac8) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#9  0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf122fdc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#10 0x08294d49 in execute (op_array=0x84a467c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#11 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12338c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#12 0x08294d49 in execute (op_array=0x84da584) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#13 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf123bac) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#14 0x08294d49 in execute (op_array=0x85538ac) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#15 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf1240fc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#16 0x08294d49 in execute (op_array=0x856d240) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#17 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf1245bc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#18 0x08294d49 in execute (op_array=0x8570ac8) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#19 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12474c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#20 0x08294d49 in execute (op_array=0x84a467c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#21 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf124afc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#22 0x08294d49 in execute (op_array=0x84da584) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#23 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12531c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#24 0x08294d49 in execute (op_array=0x85538ac) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#25 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12586c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#26 0x08294d49 in execute (op_array=0x856d240) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#27 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf125d2c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#28 0x08294d49 in execute (op_array=0x8570ac8) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#29 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf125ebc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#30 0x08294d49 in execute (op_array=0x84a467c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#31 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12626c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#32 0x08294d49 in execute (op_array=0x84da584) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#33 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf126a8c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#34 0x08294d49 in execute (op_array=0x85538ac) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#35 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf126fdc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#36 0x08294d49 in execute (op_array=0x856d240) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#37 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12749c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#38 0x08294d49 in execute (op_array=0x8570ac8) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#39 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12762c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#40 0x08294d49 in execute (op_array=0x84a467c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#41 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf1279dc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#42 0x08294d49 in execute (op_array=0x84da584) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#43 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf1281fc) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#44 0x08294d49 in execute (op_array=0x85538ac) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#45 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf12874c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#46 0x08294d49 in execute (op_array=0x856d240) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#47 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf128c0c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#48 0x08294d49 in execute (op_array=0x8570ac8) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
#49 0x0829564c in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf128d9c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:234
#50 0x08294d49 in execute (op_array=0x84a467c) at
/home/chrism/php-5.2.1/Zend/zend_vm_execute.h:92
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb)


Should I start using PHP6?

Chris

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to