Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1627 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30905 invoked from network); 17 May 2003 07:24:56 -0000 Received: from unknown (HELO deathstar.de-punkt.de) (62.4.81.205) by pb1.pair.com with SMTP; 17 May 2003 07:24:56 -0000 Received: (qmail 22154 invoked by uid 508); 17 May 2003 07:26:32 -0000 Received: from sb@sebastian-bergmann.de by webby by uid 511 with qmail-scanner-1.16 (f-prot: 3.12. spamassassin: 2.53. Clear:. Processed in 1.632117 secs); 17 May 2003 07:26:32 -0000 Received: from unknown (HELO wopr) (sb%de-punkt.de@80.142.29.185) by 62.4.81.226 with SMTP; 17 May 2003 07:26:30 -0000 Received: from wopr [127.0.0.1] by wopr (192.168.2.100) (userid 2) with Hamster-NewsToMail-Gate (Classic Hamster Version 2.0 Build 2.0.2.1) ; Sat, 17 May 2003 09:23:28 +0200 Date: Sat, 17 May 2003 09:23:28 +0200 Organization: www.sebastian-bergmann.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: de, en References: In-Reply-To: To: internals@lists.php.net Sender: admin Lines: 320 X-Qmail-Scanner-Message-ID: <105315639153022147@webby> Subject: Re: [PHP-DEV] PHP 4.3.2RC3 released. From: sebastian@php.net (Sebastian Bergmann) Message-ID: Sebastian Bergmann wrote: > Gotta run now, so no backtrace. I hopefully find the time tonight to > investigate. For some reason I cannot get a backtrace, but 1.) When using SAPI/CLI to execute the script in question I get sb@wopr-mobile:/home/httpd/htdocs/phpOpenTracker/test/ > php phpOpenTracker.php [Sat May 17 09:20:04 2003] Script: 'phpOpenTracker.php' --------------------------------------- /usr/src/php4/Zend/zend_language_scanner.l(217) : Block 0xBFFF83E4 status: Beginning: Overrun (magic=0x0822667C, expected=0x7312F8DC) End: Unknown --------------------------------------- [Sat May 17 09:20:04 2003] Script: 'phpOpenTracker.php' --------------------------------------- /usr/src/php4/Zend/zend_execute_API.c(291) : Block 0x08398168 status: /usr/src/php4/Zend/zend_variables.c(44) : Actual location (location was relayed) Beginning: Cached (allocated on /usr/src/php4/Zend/zend_operators.c:1056, 73 bytes) End: OK --------------------------------------- 2.) Valgrind tells the following: ==20004== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==20004== Copyright (C) 2002, and GNU GPL'd, by Julian Seward. ==20004== Using valgrind-1.9.6, a program instrumentation system for x86-linux. ==20004== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward. ==20004== ==20004== My PID = 20004, parent PID = 25872. Prog and args are: ==20004== php ==20004== phpOpenTracker.php ==20004== ==20004== Startup, with flags: ==20004== --suppressions=/usr/lib/valgrind/default.supp ==20004== --logfile=valgrind ==20004== -v ==20004== Reading suppressions file: /usr/lib/valgrind/default.supp ==20004== Estimated CPU clock rate is 828 MHz ==20004== ==20004== Reading syms from /usr/local/bin/php ==20004== Reading syms from /lib/ld-2.3.1.so ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/lib/valgrind/valgrind.so ==20004== object doesn't have any debug info ==20004== Reading syms from /lib/libcrypt-2.3.1.so ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/lib/libz.so.1.1.4 ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/lib/libfreetype.so.6.3.3 ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/X11R6/lib/libX11.so.6.2 ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/X11R6/lib/libXpm.so.4.11 ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/lib/libpng.so.3.1.2.5 ==20004== object doesn't have any debug info ==20004== Reading syms from /usr/lib/libjpeg.so.62.0.0 ==20004== object doesn't have any debug info ==20004== Reading syms from /lib/libresolv-2.3.1.so ==20004== object doesn't have any debug info ==20004== Reading syms from /lib/libm-2.3.1.so ==20004== object doesn't have any debug info ==20004== Reading syms from /lib/libdl-2.3.1.so ==20004== object doesn't have any debug info ==20004== Reading syms from /lib/libnsl-2.3.1.so ==20004== object doesn't have any debug info ==20004== Reading syms from /lib/libc-2.3.1.so ==20004== object doesn't have any debug info ==20004== Reading syms from /lib/libnss_files-2.3.1.so ==20004== object doesn't have any debug info ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x816D5C5: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:216) ==20004== by 0x81739B4: zend_parse_ini_file (/usr/src/php4/Zend/zend_ini_parser.y:166) ==20004== by 0x80C7E95: zif_parse_ini_file (/usr/src/php4/ext/standard/basic_functions.c:2894) ==20004== by 0x819DFD1: execute (/usr/src/php4/Zend/zend_execute.c:1606) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x8175E2E: _efree (/usr/src/php4/Zend/zend_alloc.c:241) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== by 0x81739B4: zend_parse_ini_file (/usr/src/php4/Zend/zend_ini_parser.y:166) ==20004== by 0x80C7E95: zif_parse_ini_file (/usr/src/php4/ext/standard/basic_functions.c:2894) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x8176B0F: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== by 0x81739B4: zend_parse_ini_file (/usr/src/php4/Zend/zend_ini_parser.y:166) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x8176B1B: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== by 0x81739B4: zend_parse_ini_file (/usr/src/php4/Zend/zend_ini_parser.y:166) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x8176B28: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== by 0x81739B4: zend_parse_ini_file (/usr/src/php4/Zend/zend_ini_parser.y:166) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x8176B3F: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== by 0x81739B4: zend_parse_ini_file (/usr/src/php4/Zend/zend_ini_parser.y:166) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x4048F268: _IO_vfprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x404AA1AB: _IO_vsprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x8176A01: zend_debug_alloc_output (/usr/src/php4/Zend/zend_alloc.c:600) ==20004== by 0x8176AD1: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:630) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x4048EB29: _IO_vfprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x404AA1AB: _IO_vsprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x8176A01: zend_debug_alloc_output (/usr/src/php4/Zend/zend_alloc.c:600) ==20004== by 0x8176AD1: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:630) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x4048EB87: _IO_vfprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x404AA1AB: _IO_vsprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x8176A01: zend_debug_alloc_output (/usr/src/php4/Zend/zend_alloc.c:600) ==20004== by 0x8176AD1: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:630) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x4048EC15: _IO_vfprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x404AA1AB: _IO_vsprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x8176A01: zend_debug_alloc_output (/usr/src/php4/Zend/zend_alloc.c:600) ==20004== by 0x8176AD1: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:630) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x8176B0F: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x8176B1B: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x8176B28: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x8176B3F: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:637) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x8176C7C: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:665) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x4048F268: _IO_vfprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x404AA1AB: _IO_vsprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x8176A01: zend_debug_alloc_output (/usr/src/php4/Zend/zend_alloc.c:600) ==20004== by 0x8176C8F: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:665) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x4048EB87: _IO_vfprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x404AA1AB: _IO_vsprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x8176A01: zend_debug_alloc_output (/usr/src/php4/Zend/zend_alloc.c:600) ==20004== by 0x8176C8F: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:665) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x4048EC15: _IO_vfprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x404AA1AB: _IO_vsprintf_internal (in /lib/libc-2.3.1.so) ==20004== by 0x8176A01: zend_debug_alloc_output (/usr/src/php4/Zend/zend_alloc.c:600) ==20004== by 0x8176C8F: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:665) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x8176CE2: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:675) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== by 0x816D5F6: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:217) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x4016212A: memcpy (in /usr/lib/valgrind/valgrind.so) ==20004== by 0x8176CFE: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:675) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x40162174: memcpy (in /usr/lib/valgrind/valgrind.so) ==20004== by 0x8176CFE: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:675) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x4016217F: memcpy (in /usr/lib/valgrind/valgrind.so) ==20004== by 0x8176CFE: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:675) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x40162186: memcpy (in /usr/lib/valgrind/valgrind.so) ==20004== by 0x8176CFE: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:675) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x4016218D: memcpy (in /usr/lib/valgrind/valgrind.so) ==20004== by 0x8176CFE: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:675) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== ==20004== Use of uninitialised value of size 4 ==20004== at 0x40162194: memcpy (in /usr/lib/valgrind/valgrind.so) ==20004== by 0x8176CFE: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:675) ==20004== by 0x8176CC0: _mem_block_check (/usr/src/php4/Zend/zend_alloc.c:667) ==20004== by 0x8175E76: _efree (/usr/src/php4/Zend/zend_alloc.c:243) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x816D608: zend_file_handle_dtor (/usr/src/php4/Zend/zend_language_scanner.l:220) ==20004== by 0x81739B4: zend_parse_ini_file (/usr/src/php4/Zend/zend_ini_parser.y:166) ==20004== by 0x80C7E95: zif_parse_ini_file (/usr/src/php4/ext/standard/basic_functions.c:2894) ==20004== by 0x819DFD1: execute (/usr/src/php4/Zend/zend_execute.c:1606) ==20004== ==20004== Conditional jump or move depends on uninitialised value(s) ==20004== at 0x40162037: strlen (in /usr/lib/valgrind/valgrind.so) ==20004== by 0x8151792: xbuf_format_converter (/usr/src/php4/main/spprintf.c:438) ==20004== by 0x8151D4F: vspprintf (/usr/src/php4/main/spprintf.c:622) ==20004== by 0x814D33D: php_error_cb (/usr/src/php4/main/main.c:604) ==20004== ==20004== Invalid read of size 1 ==20004== at 0x4054D2F4: __GI__dl_close (in /lib/libc-2.3.1.so) ==20004== by 0x4054DEEB: do_dlclose (in /lib/libc-2.3.1.so) ==20004== by 0x4000ADF5: _dl_catch_error_internal (in /lib/ld-2.3.1.so) ==20004== by 0x4054DDFD: dlerror_run (in /lib/libc-2.3.1.so) ==20004== Address 0x1E7 is not stack'd, malloc'd or free'd Maybe this helps, maybe it doesn't, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/