From:             [EMAIL PROTECTED]
Operating system: linux redhdat 6.2
PHP version:      4.1.2
PHP Bug Type:     *Compile Issues
Bug description:  segmentation fault --with-imap

i`m having dificulties getting imap support into php. When i compiled it
--with-imap it compiles fine but when i restart apache it seg. faults.  I
tried imap-2000c and imap-2001a versions but all without luck. I at first
tryed to compile 4.0.6 which gave me the exact output as 4.1.2 which i
tryed later on. If i recompile without imap it works again. 
 
----Sys info---
Apache = 1.3.24 (mod_ssl)
php 4.1.2
Linux RED-Hat 6.2 
Kernel  2.4.18 #1 SMP Wed Mar 6 08:54:04 CET 2002 i686
----------------
php compiled with:
==================================================
./configure   --with-mysql=/usr --enable-sysvsem --enable-sysvshm
--with-gd=yes --with-zlib --with-ttf --with-zlib-dir=/usr
--enable-versioning --with-gd-dir=/usr --with-jpeg-dir=/usr/
--enable-gd-imgstrttf --with-config-file-path=/etc/httpd/conf/
--enable-trans-sid --with-png-dir=/usr/ --with-freetype --with-recode
--with-apxs  --with-openssl --with-imap=/usr/local/src/imap-2000c/
==================================================
apache 1.3.24 (with mod_ssl) compiled:
================================================
./configure \
"--prefix=/usr" \
"--with-layout=RedHat" \
"--enable-module=rewrite" \
"--enable-module=expires" \
"--disable-rule=WANTHSREGEX" \
"--enable-shared=max" \
"--enable-module=ssl" \
"--enable-module=proxy" \
================================================
When i run apache:
================================================
httpd 
Segmentation fault

GDB :
===============================================
[root php-4.1.2]# gdb /usr/sbin/httpd
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x403a4237 in object.8 () at lstat.c:45
45      lstat.c: No such file or directory.
(gdb)
================================================
-- 
Edit bug report at http://bugs.php.net/?id=16616&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16616&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16616&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16616&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16616&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16616&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16616&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16616&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16616&r=submittedtwice

Reply via email to