UMR still there

From: Date: Tue, 01 Feb 2000 15:51:19 +0000
Subject: UMR still there
Groups: php.version4 
Request: Send a blank email to php-version4+get-9627@lists.php.net to get a copy of this message
<?php function hallo($a) { } hallo(1); ?> still causes a UMR (see purify-log) the opcode is 62 that should be info enough? tc

**** Purify instrumented ./php (pid 11811 at Tue Feb 1 16:49:16 2000) * Purify 4.5 Solaris 2, Copyright (C) 1992-1999 Rational Software Corp. All rights reserved. * For contact information type: "purify -help" * For TTY output, use the option "-windows=no" * Command-line: ./php UMR * Options settings: -purify \ -purify-home=/dot/utility/pure/purify-4.5-solaris2 -threads=yes \ -use-internal-locks=yes -thread_stack_change=0x4000 -mt_safe_malloc=yes **** Purify instrumented ./php (pid 11811) **** UMR: Uninitialized memory read: * This is occurring while in: destroy_op_array [zend_opcode.c:172] destroy_zend_function [zend_opcode.c:112] zend_hash_apply_deleter [zend_hash.c:622] zend_hash_apply [zend_hash.c:695] shutdown_compiler [zend_compile.c:128] zend_deactivate [zend.c:465] * Reading 4 bytes from 0x38e490 in the heap. * Address 0x38e490 is 192 bytes into a malloc'd block at 0x38e3d0 of 6188 bytes. * This block was allocated from: malloc [rtlib.o] _emalloc [zend_alloc.c:129] _erealloc [zend_alloc.c:221] op_array_alloc_ops [zend_opcode.c:58] init_op_array [zend_opcode.c:86] do_begin_function_declaration [zend_compile.c:692] **** Purify instrumented ./php (pid 11811) **** Current file descriptors in use: 5 FIU: file descriptor 0: <stdin> FIU: file descriptor 1: <stdout> FIU: file descriptor 2: <stderr> FIU: file descriptor 26: <reserved for Purify internal use> FIU: file descriptor 27: <reserved for Purify internal use> **** Purify instrumented ./php (pid 11811) **** Purify: Searching for all memory leaks... Memory leaked: 591 bytes (1.38%); potentially leaked: 0 bytes (0%) MLK: 380 bytes leaked in 5 blocks * This memory was allocated from: malloc [rtlib.o] zend_hash_add_or_update [zend_hash.c:242] zend_register_functions [zend_API.c:733] register_internal_class [zend_API.c:886] php_minit_oci [oci8.c:365] zend_startup_module [zend_API.c:677] * Block of 76 bytes (5 times); last block at 0x371500 MLK: 211 bytes leaked in 5 blocks * This memory was allocated from: malloc [rtlib.o] zend_hash_add_or_update [zend_hash.c:232] zend_register_functions [zend_API.c:733] register_internal_class [zend_API.c:886] php_minit_oci [oci8.c:365] zend_startup_module [zend_API.c:677] * Block of 47 bytes at 0x371118 * Block of 44 bytes at 0x371360 * Block of 40 bytes (3 times); last block at 0x371480 Purify Heap Analysis (combining suppressed and unsuppressed blocks) Blocks Bytes Leaked 10 591 Potentially Leaked 0 0 In-Use 20 42088 ---------------------------------------- Total Allocated 30 42679 **** Purify instrumented ./php (pid 11811) **** Thread Summary : 1 threads in existence * Thread 0 [main thread] Stack: (0xeffff7b8 0xf0000000), size = 0x848 **** Purify instrumented ./php (pid 11811) **** * Program exited with status code 0. * 1 access error, 1 total occurrence. * 591 bytes leaked. * 0 bytes potentially leaked. * Basic memory usage (including Purify overhead): 2939623 code 248476 data/bss 417796 heap (peak use) 1848 stack * Shared library memory usage (including Purify overhead): 2196 solaris2_threads.so_pure_p3_c0_450_56 (shared code) 8556 solaris2_threads.so_pure_p3_c0_450_56 (private data) 8252504 libclntsh.so.1.0_pure_p3_c0_450_56 (shared code) 468880 libclntsh.so.1.0_pure_p3_c0_450_56 (private data) 140125 libm.so.1_pure_p3_c0_450_56 (shared code) 1332 libm.so.1_pure_p3_c0_450_56 (private data) 28919 libpam.so.1_pure_p3_c0_450_56 (shared code) 3172 libpam.so.1_pure_p3_c0_450_56 (private data) 2036 libdl.so.1_pure_p3_c0_450_56 (shared code) 4 libdl.so.1_pure_p3_c0_450_56 (private data) 82251 libresolv.so.2_pure_p3_c0_450_56 (shared code) 16296 libresolv.so.2_pure_p3_c0_450_56 (private data) 41730 libsocket.so.1_pure_p3_c0_450_56 (shared code) 3312 libsocket.so.1_pure_p3_c0_450_56 (private data) 733710 libnsl.so.1_pure_p3_c0_450_56 (shared code) 54408 libnsl.so.1_pure_p3_c0_450_56 (private data) 961297 libc.so.1_pure_p3_c0_450_56 (shared code) 30916 libc.so.1_pure_p3_c0_450_56 (private data) 11766 libinternal_stubs.so.1 (shared code) 832 libinternal_stubs.so.1 (private data) 35730 libaio.so.1_pure_p3_c0_450_56 (shared code) 6388 libaio.so.1_pure_p3_c0_450_56 (private data) 16272 libmp.so.2_pure_p3_c0_450_56 (shared code) 836 libmp.so.2_pure_p3_c0_450_56 (private data)
« previous php.version4 (#9627) next »