Re: [PHP-DEV] PHP 5.1.2 segfaults in get_timezone_info

2006-03-17 Thread Derick Rethans
On Fri, 17 Mar 2006, Al Baker wrote: > Ok, I'm not sure what /etc/localtime was but when I copied > over /usr/share/zoneinfo/America/New_York to /etc/localtime the problem > went away and things are working gloriously-well. Now that doesn't make a single bit of sense as the new date support in P

Re: [PHP-DEV] PHP 5.1.2 segfaults in get_timezone_info

2006-03-16 Thread Al Baker
Ok, I'm not sure what /etc/localtime was but when I copied over /usr/share/zoneinfo/America/New_York to /etc/localtime the problem went away and things are working gloriously-well. Perhaps just a note for the future that if somehow the OS didn't setup the timezone properly, PHP should default to s

[PHP-DEV] PHP 5.1.2 segfaults in get_timezone_info

2006-03-16 Thread Al Baker
Hi, We're trying to run php 5.1.2 on Windriver Linux (PPC) -- unsupported I know -- and most things appear to be working. However when trying to use Smarty (which has calls to date functions for caching), PHP segfaults in time(). Running PHP in GDB shows the trace of failing in memcpy and malloc