Bug #16021 Updated: imap_bodystruct call generates signal (via abort())
| From: | php-bugs at lists dot php dot net | Date: | Thu, 13 Jun 2002 05:00:06 +0000 |
| Subject: | Bug #16021 Updated: imap_bodystruct call generates signal (via abort()) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10304@lists.php.net to get a copy of this message | ||
ID: 16021
Updated by: php-bugs@lists.php.net
Reported By: reinke@e-softinc.com
-Status: Feedback
+Status: No Feedback
Bug Type: Reproducible crash
Operating System: Linux (RedHat 6.2)
PHP Version: 4.1.2
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-03-12 18:23:13] sniper@php.net
Try first using the latest c-client. 4.7c is really old
and the new ones have lot of bug fixes..
------------------------------------------------------------------------
[2002-03-12 10:43:27] reinke@e-softinc.com
While this may have been used incorrectly causing a problem (don't
know
since I've not been able to get it to work properly),
Consider the following steps:
a) Create a message with two attachments (in this case .doc files)
b) Mail the message to an account.
c) Read the email (in this case, with Netscape) and forward the
message as an attachment to an account from where you will
access it via PHP.
d) Now try to read and process the file.
The problem comes in dealin with the multipart/mixed portion that
represents the original message that is now an attachment.
When the call imap_bodystruct($stream, $msgno, $partno) is
invoked, where $partno can actually be any value at all (tested values
from
0 to 5), each case causes the Apache process handling the request to
croak.
The configure line from phpinfo() reads
'./configure' '--with-apache=../apache_1.3.23' '--enable-debug=no'
'--prefix=/usr/local/apache' '--with-zlib'
'--with-imap=/home/thomas/imap-4.7c' '--with-mcrypt' '--with-mhash'
'--with-pgsql' '--with-gd=/home/thomas/gd1.2'
The apache error log shows a single line
[Tue Mar 12 00:09:13 2002] [notice] child pid 10813 exit signal Aborted
(6)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16021&edit=1