ID: 49893
User updated by: greubel at nkey dot de
Reported By: greubel at nkey dot de
-Status: Open
+Status: Closed
Bug Type: Reproducible crash
Operating System: Windows Vista
PHP Version: 5.3.0
New Comment:
Not reproducable
Previous Comments:
------------------------------------------------------------------------
[2009-10-20 20:11:41] greubel at nkey dot de
Please close. I'm not able to reproduce the problem with a small
script. I tried to strip down the code from ZF to provide the same
functionality but provoke the bug. This seems to be not possible on this
circumstances.
This code works well:
<?php
class foo
{
private $sock;
private $errno;
private $error;
public function __construct()
{
$this->sock = fsockopen('pop.gmx.net', 110, $this->errno,
$this->error);
$r = fgets($this->sock);
echo "$r<br/>";
fputs($this->sock, "USER [email protected]\r\n");
$r = fgets($this->sock);
echo "$r<br/>";
fputs($this->sock, "PASS \r\n");
$r = fgets($this->sock);
echo "$r<br/>";
fputs($this->sock, "QUIT\r\n");
$r = fgets($this->sock);
echo "$r<br/>";
}
public function close()
{
fclose($this->sock);
$this->sock = null;
}
}
$bar = new foo();
$bar->close();
?>
So please close.
------------------------------------------------------------------------
[2009-10-20 19:53:24] [email protected]
We *still* need a way to reproduce your problem. that means a small
script as described already in one of my comments.
------------------------------------------------------------------------
[2009-10-20 18:54:33] greubel at nkey dot de
The access violation has now moved to another place:
php5ts!gc_zobj_possible_root+57 038ffbc0 0273b270 038fe608
php5ts!gc_zval_possible_root+74 038ffbc0 0273b270 00000000
php5ts!ZEND_ASSIGN_SPEC_CV_VAR_HANDLER+69 0094fbc0 0273b270
0094fe3c
php5ts!execute+2fb 039310b0 0273b200 00000000
php5ts!zend_execute_scripts+f6 00000008 0273b270 00000000
php5ts!php_execute_script+233 0094fe3c 0273b270 00000004
php5apache2_2!php_handler+5d0 0275ead8 00a24208 0275ead8
libhttpd!ap_run_handler+21 0275ead8 0275ead8 0275ead8
libhttpd!ap_invoke_handler+ae 00000000 02847fc0 0094ff00
libhttpd!ap_die+29e 0275ead8 00000000 021b51c0
libhttpd!ap_get_request_note+1ccc 02847fc0 02847fc0
02847fc0
libhttpd!ap_run_process_connection+21 02847fc0 00974f20
0094ff48
libhttpd!ap_process_connection+33 02847fc0 021c81a8
00000000
libhttpd!ap_regkey_value_remove+c7c 02847fb8 a899cc42
00000000
msvcrt!_endthreadex+44 0094ff94 76bdd0e9 02746848
msvcrt!_endthreadex+ce 02746848 0094ffd4 775919bb
kernel32!BaseThreadInitThunk+e 02746848 7383fe36 00000000
ntdll!__RtlUserThreadStart+23 76b02670 02746848 00000000
ntdll!_RtlUserThreadStart+1b 76b02670 02746848 00000000
------------------------------------------------------------------------
[2009-10-20 08:34:21] [email protected]
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-10-20 05:42:03] greubel at nkey dot de
I do not have more than in the opening post. I believe, because of the
nature of the problem (garbage collector), it would be hard to find a
piece of code, where the same problem occurs. Finally to say, it is
possible, that it only happens on 32bit vista/xp/2000.
Why it is not possible to use the script I provided first?
Thank you and regards
Maik
------------------------------------------------------------------------
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/49893
--
Edit this bug report at http://bugs.php.net/?id=49893&edit=1