ID:               48346
 Updated by:       j...@php.net
 Reported By:      adriano at guiadohardware dot net
 Status:           Closed
 Bug Type:         Date/time related
 Operating System: AMD64 Gentoo Hardened, glibc 2.3
 PHP Version:      5.2.9
 New Comment:

Thanks Arnaud. I should have read the man page a bit more carefully..


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

[2009-05-21 14:22:09] lbarn...@php.net

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.

(Both linux, posix and solaris man pages say the second argument of
gettimeofday() should be set to NULL because it is deprecated /
undefined result if not NULL / ignored.)

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

[2009-05-20 22:52:42] adriano at guiadohardware dot net

The system has been updated today and rebuild all system twice to
ensure that every lib/program was linked against the last available
version.

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

[2009-05-20 22:47:44] adriano at guiadohardware dot net

* Note the server use the 64 bit AMD64 stable branch of Gentoo.

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

[2009-05-20 22:44:56] adriano at guiadohardware dot net

This is very strange, because the system IS updated on stable branch of
Gentoo. Very stable too, never crashed any common daemon or kernel.
Lastest monster hardware server (16 cores, 16gb RAM, etc).  Can be
related with some security features of Gentoo Hardened Kernel on AMD64,
Pax or userland SSP, etc.

sys-libs/glibc-2.8_p20080602-r1, sys-devel/gcc-3.4.6-r2, kernel
hardened-sources-2.6.28-r7, sys-devel/gcc-3.4.6-r2.

I can reproduce this error on another hardware using same Gentoo
configs. But I can't reproduce on my workstation Gentoo Hardened
(32bits). Anyway, kept the recommendation of manpages is always a good
code rules. I don't see any reason to use this useless struct timezone
against the documentation too, waste of bytes.

Thanks for look it.

Regards,
Adriano

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

[2009-05-20 21:57:47] j...@php.net

You really need to update your server. In modern systems I can't 
reproduce either crash.

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

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/48346

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

Reply via email to