Re: [PHP-DEV] Bus Error - Determining Script Name in GDB

2009-07-14 Thread Cristian Rodríguez
On 14/07/09 11:29, Bruce Bailey wrote: The problem appears to be in file_get_contents. Is there any way I can determine which script was being run at the time? yes, upgrade and: (gdb) source /path/to/php-src/.gdbinit (gdb) zbacktrace -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Bus Error - Determining Script Name in GDB

2009-07-14 Thread Derick Rethans
On Tue, 14 Jul 2009, Bruce Bailey wrote: > I am using PHP 5.2.3. In the Apache error log file I see: Please upgrade first. regards, Derick -- http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org twitter: @derickr -- PHP Internals - PHP Runtime Development Mailing List To u

[PHP-DEV] Bus Error - Determining Script Name in GDB

2009-07-14 Thread Bruce Bailey
Hi I am using PHP 5.2.3. In the Apache error log file I see: [Mon Jul 13 16:15:32 2009] [notice] child pid 21521 exit signal Bus error (7) After many attempts, I have caught the following backtrace: (gdb) bt #0 0xb73447bc in memcpy () from /lib/libc.so.6 #1 0xb70a76f3 in _php_stream_copy_t