php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10094 Segfault in Apache
Submitted: 2001-03-31 11:51 UTC Modified: 2001-05-11 20:50 UTC
From: eugene at invision dot net Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0 Latest CVS (31/03/2001) OS: Rhat 6.2
Private report: No CVE-ID: None
 [2001-03-31 11:51 UTC] eugene at invision dot net
PHP Compile Options:
./configure' '--with-zlib' '--with-mm' '--with-mysql'
'--with-mcal=../libmcal' '--with-ldap' '--with-imap=../imap'
'--with-gettext' '--enable-ftp' '--with-mcrypt'
'--with-apxs=/usr/local/etc/apache/bin/apxs'

Apache Compile Opts:
EAPI_MM="../mm-1.1.3" \
SSL_BASE="SYSTEM" \
./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/etc/apache/" \
"--enable-module=ssl" \
"--enable-shared=ssl" \
"--enable-module=so" \
"--enable-module=rewrite" \
"--enable-module=proxy"

I'm trying to use IMP.  Apache receives sig(11)
Here is gdb backtrace:


[root@mail bin]# gdb httpd

(gdb) run -X -f conf/httpd
Starting program: /usr/local/etc/apache/bin/httpd -X -f
conf/httpd
fopen: No such file or directory
httpd: could not open document config file
/usr/local/etc/apache/conf/httpd

Program exited with code 01.
(gdb) run -X -f conf/httpd.conf
Starting program: /usr/local/etc/apache/bin/httpd -X -f
conf/httpd.conf
warning: find_solib: Can't read pathname for load map:
Input/output error


Program received signal SIGSEGV, Segmentation fault.
0x40330365 in php_if_imap_sort (ht=5,
return_value=0x81bfb24, this_ptr=0x0,
    return_value_used=1) at php_imap.c:2750
2750            for (sl = slst; *sl; sl++) {
(gdb) bt
#0  0x40330365 in php_if_imap_sort (ht=5,
return_value=0x81bfb24, this_ptr=0x0,
    return_value_used=1) at php_imap.c:2750
#1  0x402faad6 in execute (op_array=0x816056c) at
./zend_execute.c:1494
#2  0x40308850 in zend_execute_scripts (type=8,
file_count=3) at zend.c:743
#3  0x40319d51 in php_execute_script
(primary_file=0xbffff920) at main.c:1194
#4  0x403167c2 in apache_php_module_main (r=0x8143518,
display_source_mode=0)
    at sapi_apache.c:89
#5  0x403170e6 in send_php (r=0x8143518,
display_source_mode=0, filename=0x0)
    at mod_php4.c:521
#6  0x40317118 in send_parsed_php (r=0x8143518) at
mod_php4.c:532
#7  0x8083e33 in ap_invoke_handler () at mcrypt_modules.c:245
#8  0x8097df9 in process_request_internal () at
mcrypt_modules.c:245
#9  0x8097e5c in ap_process_request () at mcrypt_modules.c:245
#10 0x808f39e in child_main () at mcrypt_modules.c:245
#11 0x808f54c in make_child () at mcrypt_modules.c:245
#12 0x808f6a9 in startup_children () at mcrypt_modules.c:245
#13 0x808fce6 in standalone_main () at mcrypt_modules.c:245
#14 0x8090483 in main () at mcrypt_modules.c:245
#15 0x400c39cb in __libc_start_main (main=0x809012c <main>,
argc=4, argv=0xbffffae4,
    init=0x805063c <_init>, fini=0x80c6f7c <_fini>,
rtld_fini=0x4000aea0 <_dl_fini>,
    stack_end=0xbffffadc) at ../sysdeps/generic/libc-start.c:92

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-23 14:54 UTC] chagenbu@php.net
duplicate of 9908
 [2001-05-11 20:50 UTC] sniper@php.net
Fixed in CVS.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC