php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5429 Crash with gzopen
Submitted: 2000-07-07 11:50 UTC Modified: 2000-07-07 13:23 UTC
From: vvtk at stealthcomp dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1pl2 OS: RedHat 6.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vvtk at stealthcomp dot com
New email:
PHP Version: OS:

 

 [2000-07-07 11:50 UTC] vvtk at stealthcomp dot com
configure line:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --enable-tack-vars --disable-debug --with-zlib --disable-pic --enable-inline-optimization --enable-sysvsem --enable-sysvshm

<?
$id='I123123';
$filename=("/home/technotes/$id.gz");
            $gz=gzopen($filename,"r");
                $contents = gzread( $gz, 100000);
            gzclose($gz);

?>

Segmantation fault

(gdb) bt
#0  0x403e4764 in ?? () from /usr/local/apache/libexec/libphp4.so
#1  0x403e2f07 in ?? () from /usr/local/apache/libexec/libphp4.so
#2  0x4045dce0 in ?? () from /usr/local/apache/libexec/libphp4.so
#3  0x4045e2a9 in ?? () from /usr/local/apache/libexec/libphp4.so
#4  0x403c553b in ?? () from /usr/local/apache/libexec/libphp4.so
#5  0x403e0533 in ?? () from /usr/local/apache/libexec/libphp4.so
#6  0x403dd5fc in ?? () from /usr/local/apache/libexec/libphp4.so
#7  0x403dde5f in ?? () from /usr/local/apache/libexec/libphp4.so
#8  0x403ddea4 in ?? () from /usr/local/apache/libexec/libphp4.so
#9  0x80736e7 in ap_invoke_handler ()
#10 0x808827d in process_request_internal ()
#11 0x80882f2 in ap_process_request ()
#12 0x807f360 in child_main ()
#13 0x807f515 in make_child ()
#14 0x807f694 in startup_children ()
#15 0x807fcfd in standalone_main ()
#16 0x808052c in main ()
#17 0x400b51eb in __libc_start_main (main=0x80801a0 <main>, argc=2, argv=0xbffffc14, init=0x804edb8 <_init>, 
    fini=0x80b607c <_fini>, rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffc0c) at ../sysdeps/generic/libc-start.c:90

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-07 13:23 UTC] thies at cvs dot php dot net
fixed in cvs
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 12:00:01 2026 UTC