ID: 47473
Updated by: [email protected]
Reported By: typo3 at maltejansen dot de
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: win32 only - Windows Vista
PHP Version: 5.3.0beta1
New Comment:
This is what I get:
C:\php-sdk\php53\vc9\x86\PHP_5_3>release\php 47473.php
Warning: set_error_handler() expects the argument
(ErrorHandler::handleError) to be a valid callback in
C:\php-sdk\php53\vc9\x86\PHP_5_3\47473.php on line 4
Notice: foo in C:\php-sdk\php53\vc9\x86\PHP_5_3\47473.php on line 9
using:
<?php
class ErrorHandler {
public function __construct() {
set_error_handler(array($this, 'handleError'));
}
}
$a = new ErrorHandler;
trigger_error('foo');
Please provide a full working script to reproduce the crash. A full
working script I can copy/paste and use it directly.
Please try with 5.3.0RC4 as well :)
Previous Comments:
------------------------------------------------------------------------
[2009-03-03 19:38:59] typo3 at maltejansen dot de
The max path length is just an example, which is treated differently on
the OS.
I have tried to setup fastcgi in my xampp installation. But I always
get in 500 error. I tried the nearly every thing from google, but every
where there seems to be missing something.
Do you have a complete example of including fastcgi in the apache-conf
for windows?
On Max und Linux is working. So this is realy just a windows bug.
------------------------------------------------------------------------
[2009-02-25 14:45:05] [email protected]
I don't see why the max path lenght limit (which can affect other
systems as well) is related to this backtrace.
Can you try it using a threaded SAPI under linux or using fastcgi on
windows please?
------------------------------------------------------------------------
[2009-02-25 10:21:26] typo3 at maltejansen dot de
No, on Linux it's running smoothly (with SAPI I don't know, but it
should), because otherwise Robert or Karsten (Project-Leader) would
already be in contact, what there a with other bugs.
It's just on windows, they using mac/linux.
It seems to be something like the length of a filename on windows with
just 260 characters.
The first time the crash occured, switching from alpha1 to alpha2. In
alpha3 it seems to be solved, because we thought it was connected to
this bug [1] and it was not crashing anymore. In beta1 it was there
again.
[1] http://bugs.php.net/bug.php?id=46241
------------------------------------------------------------------------
[2009-02-25 10:06:18] [email protected]
Do you mean that you can't reproduce this bug on Linux/Unix (and thread
safe SAPI)?
We still a self contained script to reproduce the problem.
------------------------------------------------------------------------
[2009-02-25 10:00:33] typo3 at maltejansen dot de
It's just a problem on Windows Vista (and properbly on Windows XP):
So I have made the backtrace of the apache. The just using the php.exe
does not work right now. (There is somewhere a bug in the CLI-version of
the FLOW3-controller) So this one will follow, tomorrow. But for now:
PHP-Version: Wed Feb 25 09:04:13 2009
apache__PID__4956__Date__02_25_2009__Time_10_26_11AM__627__Second_Chance_Exception_C0000005.dmp
Type of Analysis Performed Crash Analysis
Machine Name ~...~
Operating System Windows Vista Service Pack 1
Number Of Processors 2
Process ID 4956
Process Image ~\workspaces\flow3\xampplite\apache\bin\apache.exe
System Up-Time 1 day(s) 01:42:07
Process Up-Time 00:06:50
Thread 240 - System ID 5404
Entry point msvcr71!endthreadex+31
Create time 25.02.2009 10:19:23
Time spent in user mode 0 Days 0:0:2.59
Time spent in kernel mode 0 Days 0:0:8.954
Function Arg 1 Arg 2 Arg 3 Source
php5ts!zend_hash_apply+37 08702778 01aa0070 03d68fc0
php5ts!zval_mark_grey+8c 08707b78 03d68fc0 769c9d32
php5ts!gc_mark_roots+95 03d68fc0 769c9d32 0792fa54
php5ts!gc_collect_cycles+64 03d68fc0 03d68fc0 00000013
php5ts!zend_deactivate+12d 00000000 00000000 00000000
PHP5TS!ZEND_HASH_APPLY+37In
apache__PID__4956__Date__02_25_2009__Time_10_26_11AM__627__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!zend_hash_apply+37 in
~\workspaces\flow3\xampplite\apache\bin\php5ts.dll from The PHP Group
has caused an access violation exception (0xC0000005) when trying to
read from memory location 0x0000000d on thread 240
This is my first time with bug-backtrace. So, tell me, if there is
something else to adjust, except from the manual.
I have include php like this in the apache:
LoadModule php5_module
"~/workspaces/flow3/xampplite/apache/bin/php5apache2_2.dll"
------------------------------------------------------------------------
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/47473
--
Edit this bug report at http://bugs.php.net/?id=47473&edit=1