[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache/PHP/imap, Segfault.



Yes, i know this is an old problem, but has a resolution been found? I my apache segfaults when i try to have the imap module loaded in php4?
 
cookiemonster:/var/www/stuff# dpkg -l | grep -i apache
ii  apache         1.3.29.0.1-3   Versatile, high-performance HTTP server
ii  apache-common  1.3.29.0.1-3   Support files for all Apache webservers
ii  apache-ssl     1.3.29.0.1-3   Versatile, high-performance HTTP server with
ii  apache-utils   1.3.29.0.1-3   Utility programs for webservers
cookiemonster:/var/www/stuff# dpkg -l | grep -i php  
ii  libphp-adodb   4.05-1         The 'adodb' database abstraction layer for p
ii  libphp-phplot  4.4.6-2        The graphic library for php.
ii  php4           4.3.3-4        A server-side, HTML-embedded scripting langu
ii  php4-cgi       4.3.3-4        A server-side, HTML-embedded scripting langu
ii  php4-gd        4.3.3-4        GD module for php4
ii  php4-imap      4.3.3-4        IMAP module for php4
ii  php4-mcal      4.3.3-4        MCAL calendar module for php4
ii  php4-mysql     4.3.3-4        MySQL module for php4
ii  php4-pear      4.3.3-4        PEAR - PHP Extension and Application Reposit
ii  php4-pear-log  1.6.0-1        Log module for PEAR
ii  phpmyadmin     2.5.4-2        A set of PHP-scripts to administrate MySQL o
 
cookiemonster:/var/www/stuff# grep extens /etc/php4/apache/php.ini | grep so
;   extension=msql.so
;extension=php_sockets.dll
extension=mysql.so
;extension=imap.so
extension=mcal.so
extension=gd.so
 
alarm(0)                                = 0
getuid32()                              = 0
stat64("/etc/krb5.conf", 0xbfff8e6c)    = -1 ENOENT (No such file or directory)
stat64("/usr/etc/krb5.conf", 0xbfff8e6c) = -1 ENOENT (No such file or directory)
open("/dev/urandom", O_RDONLY)          = 6
fstat64(6, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
read(6, "U\311\343!\317\366\256jZ\340\244P\304O\240\7r\235\10\10"..., 20) = 20
close(6)                                = 0
getpid()                                = 27002
getpid()                                = 27002
gettimeofday({1072583163, 992357}, NULL) = 0
getpid()                                = 27002
getpid()                                = 27002
socket(PF_UNIX, SOCK_STREAM, 0)         = 6
connect(6, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/hosts", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=320, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
read(6, "127.0.0.1\tlocalhost\n192.168.0.13"..., 4096) = 320
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x4001b000, 4096)                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 6
connect(6, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(6)                                = 0
open("/etc/hosts", O_RDONLY)            = 6
fcntl64(6, F_GETFD)                     = 0
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=320, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
read(6, "127.0.0.1\tlocalhost\n192.168.0.13"..., 4096) = 320
close(6)                                = 0
munmap(0x4001b000, 4096)                = 0
getuid32()                              = 0
stat64("/etc/krb5.conf", 0xbfff8ecc)    = -1 ENOENT (No such file or directory)
stat64("/usr/etc/krb5.conf", 0xbfff8ecc) = -1 ENOENT (No such file or directory)
open("/dev/urandom", O_RDONLY)          = 6
fstat64(6, {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
read(6, "M\v\10X\347\240`\206\223\7\366T\312\201)y\350X\236<", 20) = 20
close(6)                                = 0
getpid()                                = 27002
gettimeofday({1072583164, 476}, NULL)   = 0
getpid()                                = 27002
getpid()                                = 27002
open("/etc/krb5.keytab", O_RDONLY)      = -1 ENOENT (No such file or directory)
stat64("/dev/urandom", {st_mode=S_IFCHR|0444, st_rdev=makedev(1, 9), ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Reply to: