From:             techtonik at tut dot by
Operating system: NT 4.0 SP6a
PHP version:      4.3.4
PHP Bug Type:     *Mail Related
Bug description:  Apache2 hangs when working with mail.

Description:
------------
I'm trying to parse a lot of msges in pop3 mailbox using IMAP functions.
Unfortunately I can't find debug biuld for PHP 4.3.4 and I can't compile
it myself, so I'll try to descript what is wrong in general.

First of all Apache in hung state is endlessly munching file with name
like msg77 or msg6 and so on, which it creates in the root! directory on
my drive. Figured by Filemon. This file contains full email message, which
I'm trying to send via mail() function. Message is random size.
Now munching one with size about 1687 bytes.

Apache works about hour and couldn't output anything even though I have
timeout set to 180 seconds. So I can't even figure the line, where it
hangs. 

My script reads all msgs from 1st till last by one. When msg fetched, an
attach in tar.gz format is taked out of it, decompressed by gzinflate()
and parsed by preg_match_all().
After that parsed letters remailed to another email.

It all began with gzinflate() reporting buffer error and then data error
after parsing some amount of msgs. These errors in turn appeared after I
have added imap_delete() and imap_expunge() to erase successfully parsed
messages.
Now it just hangs and that is all.

If I can fugure out which function makes Apache 2.0.48 hang
 I can do a more detailed report.


-- 
Edit bug report at http://bugs.php.net/?id=26894&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26894&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26894&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26894&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26894&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26894&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26894&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26894&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26894&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26894&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26894&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26894&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26894&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26894&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26894&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26894&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26894&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26894&r=float

Reply via email to