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

 ID:               49192
 Updated by:       s...@php.net
 Reported by:      circus2 at freenet dot de
 Summary:          PHP crashes with exception (reproduced with AdoDB and
                   Access)
-Status:           No Feedback
+Status:           Re-Opened
 Type:             Bug
 Package:          Reproducible crash
 Operating System: Win XP SP3 (german)
 PHP Version:      5.3SVN-2009-08-07 (snap)



Previous Comments:
------------------------------------------------------------------------
[2009-08-28 15:44:43] FelixStrauss at gmx dot de

In addition: My system is Windows 7 PR Build 7100

------------------------------------------------------------------------
[2009-08-28 15:38:19] FelixStrauss at gmx dot de

I can reproduce the problem with the following two lines:



<?php



$dbConnection = new Com('ADODB.Connection');

var_dump(gc_collect_cycles());



?>



My system:

Zend Extension Build API220090626,TS,VC9

PHP Extension Build API20090626,TS,VC9

------------------------------------------------------------------------
[2009-08-15 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------
[2009-08-07 17:08:17] paj...@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------
[2009-08-07 17:03:33] circus2 at freenet dot de

Description:
------------
When running the sample code PHP 5.3 and PHP 5.3 latest snapshot crash
with Win32 exception.



It was reproducable on two different machines. But you need the MS
Access Jet Engine to work with this sample code (means you probably need
MS Access).



With php 5.2.10 it runs like expected - no exceptions, no errors.

Reproduce code:
---------------
http://www.tahat.de/Error3.zip

Expected result:
----------------
nothing special here - just works with 5.2.10

Actual result:
--------------
Win32 exception crashes php.exe



Thread 0 - System ID 2984

Entry point   php+2fa2 

Create time   07.08.2009 18:25:36 

Time spent in user mode   0 Days 0:0:0.380 

Time spent in kernel mode   0 Days 0:0:0.140 



Function     Arg 1     Arg 2     Arg 3   Source 

php5ts!gc_remove_zval_from_buffer+365     00393128     0ac44ea0    
00000005    

php5ts!gc_remove_zval_from_buffer+425     0ac44ea0     01247500    
00393128    

php5ts!gc_collect_cycles+6a     00393128     00000001     0aa95fb0    

php5ts!gc_zval_possible_root+e9     0ac44ea0     00393128     00393128  
 

php5ts!zval_ptr_dtor+93     00c0fb90     00393128     01160548    

php5ts!execute+39293     00393128     00c0fc1c     00000000    

php5ts!execute+298     01132778     00393100     00393128    

php5ts!zend_execute_scripts+fe     00000008     00393128     00000000   


php5ts!php_execute_script+231     00397038     0138b8a0     00000099   


php5ts!zend_register_constant+a9     00c0fdf8     00393128     00404e60 
  

php+1780     1000c24e     00396028     004017d4    

php5ts!efree+9     00396028     004017d4     01131390    

php5ts!efree+2e     01131390     00393128     003930c4    

php+17d4     00c0fecc     00393128     0040742c    

php+24ab     0000006e     00000001     00000000    

msvcr90!_lock+177     2a644eb0     01ca1779     7ffd6000    

kernel32!BaseProcessStart+23     00402fa2     00000000     00000000    



PHP5TS!GC_REMOVE_ZVAL_FROM_BUFFER+365WARNING - DebugDiag was not able to
locate debug symbols for php5ts.dll, so the information below may be
incomplete.



In
php__PID__876__Date__08_07_2009__Time_06_25_58PM__40__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php5ts!gc_remove_zval_from_buffer+365 in
C:\[..]\php\php5ts.dll from The PHP Group has caused an access violation
exception (0xC0000005) when trying to read from memory location
0x00000014 on thread 0




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



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

Reply via email to