Skip to content

Instantly share code, notes, and snippets.

View pierrejoye's full-sized avatar

Pierre Joye pierrejoye

  • Thailand
View GitHub Profile
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index cfbcab7..5b12867 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -1309,8 +1309,26 @@ function EXTENSION(extname, file_list, shared, cflags, dllname, obj_dir)
MFO.WriteLine("# objects for EXT " + extname);
MFO.WriteBlankLines(1);
- ADD_SOURCES(configure_module_dirname, file_list, extname, obj_dir);
-
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(360) : error C2143: syntax error : missing ';' before 'type'
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(369) : error C2065: 'original_execute_data' : undeclared identifier
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(369) : warning C4047: '=' : '_zend_execute_data *' differs in levels of indirection from 'int'
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(372) : error C2143: syntax error : missing '{' before '*'
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(373) : error C2371: 'zend_generator_get_child' : redefinition; different basic types
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(160) : see declaration of 'zend_generator_get_child'
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(378) : warning C4133: 'return' : incompatible types - from 'zend_generator *' to 'int *'
c:\php-sdk\master\vc11\x86\php-src\zend\zend_generators.c(385) : warning C4133: 'return' : incompatib
#!/usr/bin/env php
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
Dr. Memory version 1.9.0 build 4 built on Oct 2 2015 13:13:14
Dr. Memory results for pid 10352: "php.exe"
Application cmdline: "Debug\php.exe Zend\tests\bug31102.phpt"
Recorded 116 suppression(s) from default c:\apps\DrMemory-Windows-1.9.0-4\bin\suppress-default.txt
Error #1: WARNING: heap allocation failed
# 0 replace_malloc [d:\drmemory_package\common\alloc_replace.c:2537]
# 1 php7_debug.dll!__zend_malloc [c:\php-sdk\master\vc11\x86\php-src\zend\zend_alloc.h:169]
# 2 php7_debug.dll!_safe_malloc [c:\php-sdk\master\vc11\x86\php-src\zend\zend_alloc.c:2253]
# 3 php7_debug.dll!_zend_hash_add_or_update_i [c:\php-sdk\master\vc11\x86\php-src\zend\zend_hash.c:273]
diff --git a/run-tests.php b/run-tests.php
index 15b7fe2..05a83e3 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -576,13 +576,22 @@ if (isset($argc) && $argc > 1) {
//case 'l'
case 'm':
$leak_check = true;
- $valgrind_cmd = "valgrind --version";
+ if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
UNINITIALIZED READ
name=system libs
ConEmuHk.dll!*
LEAK
name=system libs
ConEmuHk.dll!*
advapi32.dll!*
comdlg32.dll!*
crypt32.dll!*
#!/usr/bin/env php
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
#!/usr/bin/env php
<?php
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2010 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
Dr. Memory version 1.9.0 build 4 built on Oct 2 2015 13:13:14
Dr. Memory errors that are likely to be false positives, for pid 10796: "php.exe"
These errors matched the blacklist 'C:\Windows*.d??' for 4 frames.
Run with -lib_blacklist_frames 0 to treat these as regular errors.
If these are all false positives and your focus is unaddressable errors, consider running with -light to skip all uninitialized reads and leaks for higher performance.
Potential Error #1: POSSIBLE LEAK 768 direct bytes 0x033cadb0-0x033cb0b0 + 0 indirect bytes
# 0 replace_calloc [d:\drmemory_package\common\alloc_replace.c:2577]
# 1 MSVCR110D.dll!__init_ctype
# 2 MSVCR110D.dll!_wsetlocale
Dr. Memory version 1.9.0 build 4 built on Oct 2 2015 13:13:14
Dr. Memory results for pid 9336: "php.exe"
Application cmdline: "c:\apps\php702ntx86\php -n Zend\bench.php"
Recorded 116 suppression(s) from default c:\apps\DrMemory-Windows-1.9.0-4\bin\suppress-default.txt
Recorded 2 suppression(s) from user c:\php-sdk\master\vc11\x86\php-src\suppress.txt
WARNING: application is missing line number information.
Error #1: UNINITIALIZED READ: reading 0x06d3dcc0-0x06d3dcc1 1 byte(s)
# 0 php7.dll!zend_set_function_arg_flags +0x454 (0x5d523014 <php7.dll+0x23014>)