Bug #60167 [Opn]: Crash / memory corruption
| From: | thekid@php.net | Date: | Sat, 29 Oct 2011 12:39:25 +0000 |
| Subject: | Bug #60167 [Opn]: Crash / memory corruption | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164662@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60167&edit=1
ID: 60167
User updated by: thekid@php.net
Reported by: thekid@php.net
Summary: Crash / memory corruption
Status: Open
Type: Bug
Package: COM related
Operating System: Windows Vista
PHP Version: 5.4.0beta2
Block user comment: N
Private report: N
New Comment:
Might be related to #55715
Previous Comments:
------------------------------------------------------------------------
[2011-10-29 12:38:13] thekid@php.net
Description:
------------
Multiple calls to a COM function result in crash / memory corruption / weird behaviour.
Test script:
---------------
$ php -r '$com= new com("winmgmts:"); foreach (explode(",", $argv[1]) as
$pid) { $p= $com->get("//./root/cimv2:Win32_Process.Handle=$pid"); echo $pid, ":
", $p->executablePath, ": "; var_dump($p->commandLine); }' 3132,2760,3268
Expected result:
----------------
Something like:
3132: C:\...\GoogleToolbarNotifier.exe: string(74)
""C:\...\GoogleToolbarNotifier.exe" "
2760: F:\...\ONENOTEM.EXE: string(58) ""F:\...\ONENOTEM.EXE" /tsr"
3268: F:\...\XWin.exe: string(38) "F:\...\XWin.exe :0 -multiwindow"
Actual result:
--------------
Something like:
3132: C:\...\GoogleToolbarNotifier.exe: string(74)
""C:\...\GoogleToolbarNotifier.exe" "
3132: C:\...\GoogleToolbarNotifier.exe: string(74)
""C:\...\GoogleToolbarNotifier.exe" "
3132: C:\...\GoogleToolbarNotifier.exe: string(74)
""C:\...\GoogleToolbarNotifier.exe" "
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60167&edit=1