php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22106 Segmentation fault and IMAP
Submitted: 2003-02-07 05:43 UTC Modified: 2003-02-20 08:22 UTC
From: maxim at wl dot dn dot ua Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.3.0 OS: RedHat Linux 7.2
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: maxim at wl dot dn dot ua
New email:
PHP Version: OS:

 

 [2003-02-07 05:43 UTC] maxim at wl dot dn dot ua
Hello! 

I can't run httpd with mod_php4/IMAP support. Config lines there are:

PHP - 
./configure' --with-zlib --with-pgsql=/usr/local/pgsql --with-layout=GNU --with-dom=/usr/local/lib --without-mysql --with-imap=/usr/local --with-kerberos=/usr/local --with-xslt-sablot --enable-xslt --with-iconv=/usr/local/lib/ --with-curl=/usr/local/lib --with-apache=../apache_1.3.27 --enable-calendar --with-gettext=/bin --with-ming=/usr/lib --with-gd --enable-gd-native-ttf --with-png-dir=/usr --with-jpeg-dir=/usr --with-freetype-dir=/usr/local --with-bz2 --enable-debug=yes

Apache - SSL_BASE="/usr/src/openssl-0.9.6b" ./configure --with-layout=RedHat --enable-module=so --enable-module=auth --enable-module=ssl --enable-module=proxy --activate-module=src/modules/php4/libphp4.a

All things compiled successfully, but when I tried to run httpd with gdb, I get the following message:

(gdb) run -X
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x084c8100 in ?? () at eval.c:41
41      eval.c: No such file or directory.
        in eval.c

When I compiled this without IMAP support, all works perfectly.

php4-STABLE-200302071030
apache 1.3.27
imap-2001a-10

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-07 06:46 UTC] sniper@php.net
Using '/usr/local/lib' for any configure option is wrong.
Use '/usr/local' instead. (this can not cause the problem though)

And to get the backtrace for the crash:

(gdb) run -X
<segfault>
(gdb) bt

Please try minimizing the configure options and try this 
configure line for PHP:

./configure --disable-all --with-apache=../apache_1.3.27 --with-imap=/usr/local --with-kerberos


 [2003-02-20 08:10 UTC] sniper@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.


 [2003-02-20 08:22 UTC] maxim at wl dot dn dot ua
Thank you for your advices. I have solved this problem upgrading Apache to 2.0.44 and compiling PHP with this configuration line: --with-apxs2=/usr/local/apache2/bin/apxs2. In Apache 1.3.27 segmentation fault was appear when I compiled PHP with PostgreSQL and IMAP support. And now all works perfectly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 10:01:29 2024 UTC