ID:               35751
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lehmann at ans-netz dot de
-Status:           Assigned
+Status:           Closed
 Bug Type:         Date/time related
 Operating System: FreeBSD 6.0/alpha
 PHP Version:      5.1.1
 Assigned To:      derick
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2005-12-28 17:13:55] [EMAIL PROTECTED]

Please send account details to Derick, you got the email.

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

[2005-12-28 16:49:08] lehmann at ans-netz dot de

If there are some problems with getting an account on that machine I
could give you one on mine as well.

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

[2005-12-28 10:28:23] [EMAIL PROTECTED]

An account on your machine would be helpful for debugging and fixing
this. Can you provide this? (Use [EMAIL PROTECTED] to send details to)

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

[2005-12-28 08:33:17] pablomh at gmail dot com

Here's the backtrace:

# php -r "echo date('Y',10000);"
Segmentation fault (core dumped)
# gdb /usr/local/bin/php -c php.core
GNU gdb 6.3
Copyright 2004 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 "sparc64-unknown-openbsd3.8"...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libstdc++.so.40.0...done.
Loaded symbols for /usr/lib/libstdc++.so.40.0
Reading symbols from /usr/lib/libm.so.2.1...done.
Loaded symbols for /usr/lib/libm.so.2.1
Reading symbols from /usr/local/lib/libintl.so.3.0...done.
Loaded symbols for /usr/local/lib/libintl.so.3.0
Reading symbols from /usr/lib/libssl.so.10.0...done.
Loaded symbols for /usr/lib/libssl.so.10.0
Reading symbols from /usr/lib/libcrypto.so.12.0...done.
Loaded symbols for /usr/lib/libcrypto.so.12.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/local/lib/libxml2.so.9.0...done.
Loaded symbols for /usr/local/lib/libxml2.so.9.0
Reading symbols from /usr/local/lib/libiconv.so.4.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.4.0
Reading symbols from /usr/lib/libc.so.38.4...done.
Loaded symbols for /usr/lib/libc.so.38.4
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
#0  0x000000000017b324 in date_format (format=0x4e2046d8 "Y",
format_len=10000, t=0x4909dd00, localtime=1)
    at
/home/ciph3r/OpenBSD/ports/mystuff/php5/core/w-php5-core-5.1.1/php-5.1.1/ext/date/php_date.c:467
467                     switch (format[i]) {
(gdb) bt
#0  0x000000000017b324 in date_format (format=0x4e2046d8 "Y",
format_len=10000, t=0x4909dd00, localtime=1)
    at
/home/ciph3r/OpenBSD/ports/mystuff/php5/core/w-php5-core-5.1.1/php-5.1.1/ext/date/php_date.c:467
#1  0x000000000017bdb8 in php_format_date (format=0x4e2046d8 "Y",
format_len=10000, ts=0, localtime=1)
    at
/home/ciph3r/OpenBSD/ports/mystuff/php5/core/w-php5-core-5.1.1/php-5.1.1/ext/date/php_date.c:590
#2  0x000000000017bd18 in php_date (ht=2, return_value=0x4dd938d8,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=1, localtime=1)
    at
/home/ciph3r/OpenBSD/ports/mystuff/php5/core/w-php5-core-5.1.1/php-5.1.1/ext/date/php_date.c:568
#3  0x000000000031ecdc in zend_do_fcall_common_helper_SPEC
(execute_data=0xffffffffffff0b30) at zend_vm_execute.h:188
#4  0x000000000031e490 in execute (op_array=0x4909d018) at
zend_vm_execute.h:88
#5  0x00000000002e8d14 in zend_eval_string (str=0xffffffffffffffff
<Address 0xffffffffffffffff out of bounds>, retval_ptr=0x0,
    string_name=0x4909d018 "\004ÐÐÐÐÐÐÐ") at
/home/ciph3r/OpenBSD/ports/mystuff/php5/core/w-php5-core-5.1.1/php-5.1.1/Zend/zend_execute_API.c:1056
#6  0x00000000002e8e80 in zend_eval_string_ex (str=0xffffffffffffffff
<Address 0xffffffffffffffff out of bounds>, retval_ptr=0x0,
    string_name=0x4909d018 "\004ÐÐÐÐÐÐÐ", handle_exceptions=1)
    at
/home/ciph3r/OpenBSD/ports/mystuff/php5/core/w-php5-core-5.1.1/php-5.1.1/Zend/zend_execute_API.c:1090
#7  0x0000000000378d78 in main (argc=3, argv=0xffffffffffff1148)
    at
/home/ciph3r/OpenBSD/ports/mystuff/php5/core/w-php5-core-5.1.1/php-5.1.1/sapi/cli/php_cli.c:1078
(gdb)


Hope it helps.

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

[2005-12-27 20:51:09] [EMAIL PROTECTED]

Please provide a backtrace with full debugging symbols...

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/35751

-- 
Edit this bug report at http://bugs.php.net/?id=35751&edit=1

Reply via email to