php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10534 PHP 3.0.17 crashes when accessing remote IMAP server with IMP.
Submitted: 2001-04-28 09:29 UTC Modified: 2002-09-30 18:54 UTC
From: blovett at bsdguru dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 3.0.18 OS: FreeBSD 4.3-STABLE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: blovett at bsdguru dot com
New email:
PHP Version: OS:

 

 [2001-04-28 09:29 UTC] blovett at bsdguru dot com
I am currently running PHP 3.0.18 as a module under apache 1.3.19 on a FreeBSD 4.3-STABLE system.  When I attempt to login to my IMAP account on a remote system (not on the freebsd system running the webserver), I get a "Document contains no data" error from netscape, and I notice my httpd processes dying with a sig11.  This does not happen when logging into my IMAP account on that very same box using IMP.

Per instructions from the imp mailing list, I have completed a backtrace of this problem, and will submit here.

root-darkstar> gdb /usr/local/sbin/httpd
GNU gdb 4.18
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-unknown-freebsd"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /usr/local/sbin/httpd -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
---Type <return> to continue, or q <return> to quit---
0x28209c70 in php3_imap_sort () from /usr/local/libexec/apache/libphp3.so
(gdb) bt
#0  0x28209c70 in php3_imap_sort () from /usr/local/libexec/apache/libphp3.so
#1  0x28233cd9 in phpparse () from /usr/local/libexec/apache/libphp3.so
#2  0x281e787f in php3_parse () from /usr/local/libexec/apache/libphp3.so
#3  0x281e7bb6 in apache_php3_module_main ()
   from /usr/local/libexec/apache/libphp3.so
#4  0x281e4b79 in send_php3 () from /usr/local/libexec/apache/libphp3.so
#5  0x281e4c11 in send_parsed_php3 () from /usr/local/libexec/apache/libphp3.so
#6  0x80520e0 in ap_invoke_handler ()
#7  0x8060cfd in process_request_internal ()
#8  0x8060d5c in ap_process_request ()
#9  0x805a6b2 in child_main ()
#10 0x805a824 in make_child ()
#11 0x805a941 in startup_children ()
#12 0x805ae10 in standalone_main ()
#13 0x805b4b7 in main ()
#14 0x804ea11 in _start ()

Configure options include:
--with-apxs=/usr/local/sbin/apxs
--with-config-file-path=/usr/local/etc
--enable-versioning
--with-system-regex
--enable-track-vars
--without-gd
--with-zlib
--with-mhash=/usr/local
--with-imap=/usr/local
--with-mysql=/usr/local

Thats about it.. Hope this will help dig up this bug =)

-ben

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-28 10:46 UTC] blovett at bsdguru dot com
All references to 3.0.17 should be 3.0.18 instead.. Sorry for the error..
 [2002-09-30 18:54 UTC] hholzgra@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC