php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55916 Installing PEAR segfaults when APC enabled
Submitted: 2003-11-11 15:42 UTC Modified: 2006-02-27 07:20 UTC
From: pear at sapphire dot no Assigned: gschlossnagle (profile)
Status: No Feedback Package: APC (PECL)
PHP Version: Irrelevant OS: Linux
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pear at sapphire dot no
New email:
PHP Version: OS:

 

 [2003-11-11 15:42 UTC] pear at sapphire dot no
Description:
------------
[root@aragorn etc]# lynx -source http://go-pear.org/ | php
[Tue Nov 11 21:23:47 2003] [apc-notice] APC version 2.0b -- startup complete
Segmentation fault
[root@aragorn etc]# 

Disabeling APC makes the install work.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-11 10:46 UTC] addw at phcomp dot co dot uk
Running horde/imp I get the error message:

[root@mint RFS]# httpd -X
*** glibc detected *** corrupted double-linked list: 0x08f55888 ***
Aborted
[root@mint RFS]#

This is running centos (redhat enterprise 4)

This is repeatable.
 [2005-05-11 11:01 UTC] addw at phcomp dot co dot uk
Digging further, here are the last few lines of stracing the httpd -X that is serving up an imp web page. It actually worked for a bit -- I started the web server w/out apc, logged in to imp, restarted the web server with apc, no problems.

I then removed the php session files which forced a re-login to imp .... and it just died.

stat64("./Log.php", 0xbff850bc)         = -1 ENOENT (No such file or directory)
stat64("/usr/share/pear/Log.php", {st_mode=S_IFREG|0644, st_size=18563, ...}) = 0
getcwd("/var/www/InternalFacing/html/horde-2.2.5/imp-3.2.5", 4096) = 51
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat64("/usr/share/pear", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/pear/Log.php", {st_mode=S_IFREG|0644, st_size=18563, ...}) = 0
open("/usr/share/pear/Log.php", O_RDONLY) = 23
fstat64(23, {st_mode=S_IFREG|0644, st_size=18563, ...}) = 0
fstat64(23, {st_mode=S_IFREG|0644, st_size=18563, ...}) = 0
lseek(23, 0, SEEK_CUR)                  = 0
lseek(23, 0, SEEK_SET)                  = 0
stat64("Log.php", 0xbff860ec)           = -1 ENOENT (No such file or directory)
stat64("./Log.php", 0xbff85cac)         = -1 ENOENT (No such file or directory)
stat64("/usr/share/pear/Log.php", {st_mode=S_IFREG|0644, st_size=18563, ...}) = 0
fcntl64(19, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
fcntl64(19, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0
close(23)                               = 0
fcntl64(19, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
fcntl64(19, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0
stat64("./Log/syslog.php", 0xbff8428c)  = -1 ENOENT (No such file or directory)
stat64("/usr/share/pear/Log/syslog.php", {st_mode=S_IFREG|0644, st_size=4875, ...}) = 0
getcwd("/var/www/InternalFacing/html/horde-2.2.5/imp-3.2.5", 4096) = 51
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
lstat64("/usr/share/pear", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/pear/Log", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/pear/Log/syslog.php", {st_mode=S_IFREG|0644, st_size=4875, ...}) = 0
open("/usr/share/pear/Log/syslog.php", O_RDONLY) = 23
fstat64(23, {st_mode=S_IFREG|0644, st_size=4875, ...}) = 0
fstat64(23, {st_mode=S_IFREG|0644, st_size=4875, ...}) = 0
lseek(23, 0, SEEK_CUR)                  = 0
lseek(23, 0, SEEK_SET)                  = 0
stat64("Log/syslog.php", 0xbff852bc)    = -1 ENOENT (No such file or directory)
stat64("./Log/syslog.php", 0xbff84e7c)  = -1 ENOENT (No such file or directory)
stat64("/usr/share/pear/Log/syslog.php", {st_mode=S_IFREG|0644, st_size=4875, ...}) = 0
fcntl64(19, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
fcntl64(19, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0
close(23)                               = 0
fcntl64(19, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0
fcntl64(19, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0
gettimeofday({1115823216, 883866}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
 [2005-05-11 12:17 UTC] rasmus@php.net
Try the current CVS version instead.
 [2005-10-23 09:38 UTC] mike@php.net
Please try the latest package version and report back if you're still experiencing this issue.
 [2006-02-27 07:20 UTC] mike@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 16:01:31 2024 UTC