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

 ID:                 55190
 User updated by:    jinmoku at hotmail dot com
 Reported by:        jinmoku at hotmail dot com
 Summary:            variant_add crash when two null parameters
-Status:             Feedback
+Status:             Open
 Type:               Bug
 Package:            COM related
 Operating System:   Win 7
 PHP Version:        5.3.6
 Block user comment: N
 Private report:     N

 New Comment:

Thread 0 - System ID 696
Entry point   php!mainCRTStartup 
Create time   13/07/2011 14:34:04 
Time spent in user mode   0 Days 0:0:0.795 
Time spent in kernel mode   0 Days 0:0:0.140 






Function     Arg 1     Arg 2     Arg 3   Source 
php5ts!php_com_variant_from_zval+6     009cf98c     00000000     00000000    
php5ts!zif_variant_set+203     00000000     02b2f9a8     02b60080    
php5ts!zif_variant_add+15     00000002     02b2f9a8     00000000    
php5ts!execute+1110     02b60080     012a1b00     012a1b80    
php5ts!execute+583a     012a1b80     009cfa9c     00000000    
php5ts!execute+2e8     02b2f450     012a1b00     012a1b80    
php5ts!zend_execute_scripts+fe     00000008     012a1b80     00000000    
php5ts!php_execute_script+24c     009cfd4c     012a1b80     0133642c    
php!main+b5b     00000002     012a1b10     012a1ef8    
php!memcpy+160     7efde000     009cfe8c     777f9ed2    
kernel32!BaseThreadInitThunk+e     7efde000     77c5e177     00000000    
ntdll!__RtlUserThreadStart+70     01332fa2     7efde000     00000000    
ntdll!_RtlUserThreadStart+1b     01332fa2     7efde000     00000000    




PHP5TS!PHP_COM_VARIANT_FROM_ZVAL+6In 
php__PID__2848__Date__07_13_2011__Time_02_34_37PM__7__Second_Chance_Exception_C0000005.dmp
 the assembly instruction at php5ts!php_com_variant_from_zval+6 in C:\Program 
Files (x86)\PHP\php5ts.dll from The PHP Group has caused an access violation 
exception (0xC0000005) when trying to read from memory location 0x0000000c on 
thread 0


Previous Comments:
------------------------------------------------------------------------
[2011-07-12 18:01:03] [email protected]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------
[2011-07-12 12:57:33] jinmoku at hotmail dot com

I think that touch many variant_* func

------------------------------------------------------------------------
[2011-07-12 12:42:30] jinmoku at hotmail dot com

Description:
------------
variant_add crash when two null parameters

Test script:
---------------
variant_add(null, null);

Expected result:
----------------
crash

Actual result:
--------------
a warning


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



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

Reply via email to