PHP  
 PHP_5_5
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/gd/tests/xpm2png.phpt ('xpm --> png conversion test')

Script

1: <?php
2:     $cwd 
dirname(__FILE__);
3:
4:     echo 
"XPM to PNG conversion: ";
5:     echo 
imagepng(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test_xpm.png") ? 'ok' 'failed';
6:     echo 
"\n";
7:
8:     @
unlink($cwd "/test_xpm.png");
9:
?>
10:

Report

==27386== Conditional jump or move depends on uninitialised value(s)
==27386==    at 0x729AFE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x7293C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x755869: gdImageCreateFromXpm (gdxpm.c:30)
==27386==    by 0x7317A7: _php_image_create_from (gd.c:2424)
==27386==    by 0x731C3E: zif_imagecreatefromxpm (gd.c:2509)
==27386==    by 0xEAC389: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27386==    by 0xEB6458: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==27386==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==27386==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==27386==    by 0xE4713C: zend_execute_scripts (zend.c:1330)
==27386==    by 0xD6A0EC: php_execute_script (main.c:2506)
==27386==    by 0x102B755: do_cli (php_cli.c:994)
==27386== 
==27386== Conditional jump or move depends on uninitialised value(s)
==27386==    at 0x729B0E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x7293C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x755869: gdImageCreateFromXpm (gdxpm.c:30)
==27386==    by 0x7317A7: _php_image_create_from (gd.c:2424)
==27386==    by 0x731C3E: zif_imagecreatefromxpm (gd.c:2509)
==27386==    by 0xEAC389: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27386==    by 0xEB6458: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==27386==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==27386==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==27386==    by 0xE4713C: zend_execute_scripts (zend.c:1330)
==27386==    by 0xD6A0EC: php_execute_script (main.c:2506)
==27386==    by 0x102B755: do_cli (php_cli.c:994)
==27386== 
==27386== Conditional jump or move depends on uninitialised value(s)
==27386==    at 0x729B14D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x7293C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x755869: gdImageCreateFromXpm (gdxpm.c:30)
==27386==    by 0x7317A7: _php_image_create_from (gd.c:2424)
==27386==    by 0x731C3E: zif_imagecreatefromxpm (gd.c:2509)
==27386==    by 0xEAC389: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27386==    by 0xEB6458: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==27386==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==27386==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==27386==    by 0xE4713C: zend_execute_scripts (zend.c:1330)
==27386==    by 0xD6A0EC: php_execute_script (main.c:2506)
==27386==    by 0x102B755: do_cli (php_cli.c:994)
==27386== 
==27386== Conditional jump or move depends on uninitialised value(s)
==27386==    at 0x729B162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x7293C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x755869: gdImageCreateFromXpm (gdxpm.c:30)
==27386==    by 0x7317A7: _php_image_create_from (gd.c:2424)
==27386==    by 0x731C3E: zif_imagecreatefromxpm (gd.c:2509)
==27386==    by 0xEAC389: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27386==    by 0xEB6458: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==27386==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==27386==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==27386==    by 0xE4713C: zend_execute_scripts (zend.c:1330)
==27386==    by 0xD6A0EC: php_execute_script (main.c:2506)
==27386==    by 0x102B755: do_cli (php_cli.c:994)
==27386== 
==27386== Conditional jump or move depends on uninitialised value(s)
==27386==    at 0x729B1C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x7293C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x755869: gdImageCreateFromXpm (gdxpm.c:30)
==27386==    by 0x7317A7: _php_image_create_from (gd.c:2424)
==27386==    by 0x731C3E: zif_imagecreatefromxpm (gd.c:2509)
==27386==    by 0xEAC389: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27386==    by 0xEB6458: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==27386==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==27386==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==27386==    by 0xE4713C: zend_execute_scripts (zend.c:1330)
==27386==    by 0xD6A0EC: php_execute_script (main.c:2506)
==27386==    by 0x102B755: do_cli (php_cli.c:994)
==27386== 
==27386== Conditional jump or move depends on uninitialised value(s)
==27386==    at 0x729358F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x7563D4: gdImageCreateFromXpm (gdxpm.c:136)
==27386==    by 0x7317A7: _php_image_create_from (gd.c:2424)
==27386==    by 0x731C3E: zif_imagecreatefromxpm (gd.c:2509)
==27386==    by 0xEAC389: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27386==    by 0xEB6458: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==27386==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==27386==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==27386==    by 0xE4713C: zend_execute_scripts (zend.c:1330)
==27386==    by 0xD6A0EC: php_execute_script (main.c:2506)
==27386==    by 0x102B755: do_cli (php_cli.c:994)
==27386==    by 0x102CF02: main (php_cli.c:1378)
==27386== 
==27386== Conditional jump or move depends on uninitialised value(s)
==27386==    at 0x72935D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==27386==    by 0x7563D4: gdImageCreateFromXpm (gdxpm.c:136)
==27386==    by 0x7317A7: _php_image_create_from (gd.c:2424)
==27386==    by 0x731C3E: zif_imagecreatefromxpm (gd.c:2509)
==27386==    by 0xEAC389: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==27386==    by 0xEB6458: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2332)
==27386==    by 0xEA9FD8: execute_ex (zend_vm_execute.h:363)
==27386==    by 0xEAAB6A: zend_execute (zend_vm_execute.h:388)
==27386==    by 0xE4713C: zend_execute_scripts (zend.c:1330)
==27386==    by 0xD6A0EC: php_execute_script (main.c:2506)
==27386==    by 0x102B755: do_cli (php_cli.c:994)
==27386==    by 0x102CF02: main (php_cli.c:1378)
==27386== 

 

Generated at Sun, 26 Oct 2014 06:24:57 +0000 (5 days ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.