php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3843 seg fault when recieving headers
Submitted: 2000-03-16 01:14 UTC Modified: 2005-03-31 16:13 UTC
From: mike dot s at telecom dot co dot nz Assigned:
Status: Wont fix Package: IMAP related
PHP Version: 3.0.15 OS: solaris 2.7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2000-03-16 01:14 UTC] mike dot s at telecom dot co dot nz
tried with php3.0.14 and 3.10.15, imap4.4 and 4.7b imp/horde also  twig running on solaris 2.7 I get  a seg. fault when my server starts to recieve headers, us ing snoop I can see that I have successfully logged in, I get the message count back but upon the reception of the headers things break.

The imap server is groupwise based.

using a diferent package (roxen web server-no it does not have a problem, but I wnat to use PHP) below is a sample header from its debug file

IMHO line: * 26 FETCH (INTERNALDATE "26-Jan-2000 16:43:21 +1300" ENVELOPE ("Wed, 26 Jan 2000 16:43:21 +1300" "Hi Mike" (("Tim Sillay" NIL "tim.sillay" "telecom.
co.nz")) (("Tim Sillay" NIL "tim.sillay" "telecom.co.nz")) (("Tim Sillay" NIL "tim.sillay" "telecom.co.nz")) (("Mike Stevenson" NIL "Mike.Stevenson" "telecom.co
.nz")) NIL NIL NIL "<000082DF@akldap1.telecom.co.nz>") UID 33503 FLAGS (\Answered \Seen) RFC822.SIZE 765)

the next part is from GDB using a backtrace as described in your FAQ.
Starting program: /usr/local/apache/bin/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)...
Program received signal SIGSEGV, Segmentation fault.
0x1873bc in imap_parse_string ()
(gdb) bt
#0  0x1873bc in imap_parse_string ()
#1  0x1850ac in imap_parse_unsolicited ()
#2  0x184578 in imap_reply ()
#3  0x18447c in imap_sout ()
#4  0x1834a4 in imap_send ()
#5  0x181518 in imap_msgdata ()
#6  0x1602d8 in mail_fetch_header ()
#7  0x944e8 in php3_imap_headerinfo ()
#8  0xbd878 in phpparse ()
#9  0x76c58 in _php3_build_argv ()
#10 0x76f80 in apache_php3_module_main ()
#11 0x73a94 in send_php3 ()
#12 0x73b24 in send_parsed_php3 ()
#13 0xef864 in ap_invoke_handler ()
#14 0x10c39c in ap_some_auth_required ()
#15 0x10c420 in ap_process_request ()
#16 0xfff04 in ap_child_terminate ()
#17 0x1001c0 in ap_child_terminate ()
#18 0x1003dc in ap_child_terminate ()
#19 0x100dcc in ap_child_terminate ()
#20 0x1019e0 in main ()





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC