php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2031 crashes on include and require
Submitted: 1999-08-11 10:17 UTC Modified: 1999-08-11 14:42 UTC
From: caraman at nd dot edu Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: Linux Mandrake Cooker (19990810)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: caraman at nd dot edu
New email:
PHP Version: OS:

 

 [1999-08-11 10:17 UTC] caraman at nd dot edu
I couldn't get httpd to dump core, but gdb returned this backtrace:
  Program received signal SIGSEGV, Segmentation fault.
  0x2abacbf7 in fclose@@GLIBC_2.1 () from /lib/libc.so.6

libc.so.6 is a symlink for libc-2.1.1.so, which is glibc-2.1.1 (from glibc-2.1.1-12mdk).

The script that crashes:
  <?php
  include("shared/makestuff.php3");
  ?>

This happens whenever I include or require any file.  httpd has all proper permissions to read each included file.  These same scripts work in PHP 3.0.12.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-11 10:19 UTC] caraman at nd dot edu
Also...
If this is just a problem with the glibc2 package in Mandrake, I'll be happy to forward it to their dev list -- just let me know.

 [1999-08-11 14:42 UTC] caraman at nd dot edu
I read bug #1989, and I think it may be related.  The files I am including typically read and write to files.

I had compiled the PHP using the --with-apxs option (as well as --with-mysql and --with-imap).
I will wait for Apache 1.3.8.

Thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 04:01:29 2024 UTC