php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #411 Segmentation fault w/fopen wrappers (update)
Submitted: 1998-05-28 12:49 UTC Modified: 1998-06-26 10:51 UTC
From: ccurtis at ee dot fit dot edu Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0 Release Candidate 5 OS: Solaris 2.4
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: ccurtis at ee dot fit dot edu
New email:
PHP Version: OS:

 

 [1998-05-28 12:49 UTC] ccurtis at ee dot fit dot edu
This is in update to bug #383 -- I cannot compile PHP after
compiling Apache, but this appears to be an Apache problem.
I downloaded Apache 1.3b7 and PHP 3RC5 and the system
appears to run mostly with fopen wrappers enabled.
However, it still dumps core in some situations.  Here is
the end portion of a truss:

read(3, " G E T   / l a b /   H T".., 4096)     = 197
sigaction(SIGUSR1, 0xEFFFD7A0, 0xEFFFD820)      = 0
time()                                          = 896373269
alarm(300)                                      = 300
alarm(0)                                        = 300
stat("/usr/local/apache/htdocs/lab", 0x000FDEF8) = 0
open("/.htaccess", O_RDONLY)                    Err#2 ENOENT
open("/usr/.htaccess", O_RDONLY)                Err#2 ENOENT
open("/usr/local/.htaccess", O_RDONLY)          Err#2 ENOENT
open("/usr/local/apache/.htaccess", O_RDONLY)   Err#2 ENOENT
open("/usr/local/apache/htdocs/.htaccess", O_RDONLY) Err#2 ENOENT
open("/usr/local/apache/htdocs/lab/.htaccess", O_RDONLY) Err#2 ENOENT
stat("/usr/local/apache/htdocs/lab/index.html", 0x000FFF10) Err#2 ENOENT
stat("/usr/local/apache/htdocs/lab", 0x000FFF10) = 0
stat("/usr/local/apache/htdocs/lab/index.php3", 0x000FFF10) = 0
stat("/usr/local/apache/htdocs/lab/index.php3", 0x000FEAE8) = 0
open("/usr/local/apache/htdocs/lab/index.php3", O_RDONLY) = 5
fcntl(5, F_DUPFD, 0x0000000F)                   = 19
close(5)                                        = 0
alarm(300)                                      = 0
umask(077)                                      = 022
umask(022)                                      = 077
chdir("/usr/local/apache/htdocs/lab")           = 0
setitimer(ITIMER_PROF, 0xEFFFF468, 0x00000000)  = 0
sigaction(SIGPROF, 0xEFFFF338, 0xEFFFF3B8)      = 0
brk(0x0011C378)                                 = 0
brk(0x00132378)                                 = 0
brk(0x00132378)                                 = 0
brk(0x00136378)                                 = 0
ioctl(19, TCGETA, 0xEFFFF394)                   Err#25 ENOTTY
ioctl(19, TCGETA, 0xEFFFF404)                   Err#25 ENOTTY
ioctl(19, TCGETA, 0xEFFFF304)                   Err#25 ENOTTY
fstat(19, 0xEFFFE288)                           = 0
brk(0x00136378)                                 = 0
brk(0x00138378)                                 = 0
ioctl(19, TCGETA, 0xEFFFE214)                   Err#25 ENOTTY
read(19, " < ? p h p\n\t R e q u i".., 8192)    = 1560
read(19, 0x00135E5C, 8192)                      = 0
    Incurred fault #6, FLTBOUNDS  %pc = 0xEF657E9C
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
        *** process killed ***

There is no core file to examine.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-06-26 10:51 UTC] rasmus
This bug has gone away - probably not PHP-related to begin with.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC