php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29223 PHP.exe crash after hundreads of requests of IMAP
Submitted: 2004-07-17 12:05 UTC Modified: 2004-12-21 01:00 UTC
Votes:4
Avg. Score:3.8 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (50.0%)
From: lkp857 at yahoo dot com Assigned:
Status: No Feedback Package: IMAP related
PHP Version: 4.3.9 OS: Windows XP Pro
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lkp857 at yahoo dot com
New email:
PHP Version: OS:

 

 [2004-07-17 12:05 UTC] lkp857 at yahoo dot com
Description:
------------
Currently im develping a script that can grab emails from pop3 server with PHP_IMAP.dll. A program written in C++ was created to automatically make 5 request at a time to PHP server that contain that script...

1)  The bug that i discover is not from the C++ program that i wrote, the requests fine at 2-3 hours fetching, after a time when the network connection become slow, the IMAP seem not working properly, it crash the PHP.exe an error said that NTDLL.DLL :
-------------------------------------------------------
Faulting application php.exe, version 4.3.9.9, faulting module ntdll.dll, version 5.1.2600.114, fault address 0x0000b13b.
--------------------------------------------------------
2)   Is it the PHP error or the NTDLL.DLL got bugs in it?
3)   I already set the IMAP_TIMEOUT for open, read, write, close but i seem not working after all.
4)   Is it the memory buffer overflowed in PHP after a hundred of request to the PHP Server that running using WindowsXP Pro, Apache 2 and MySQL.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-20 22:42 UTC] sniper@php.net
Can you provide some trace of the crash?

 [2004-07-21 18:22 UTC] lkp857 at yahoo dot com
what kind of trace? C++ debuging?? or the source code of php script?
 [2004-07-22 08:23 UTC] tony2001@php.net
How to generate a gdb backtrace:
http://bugs.php.net/bugs-generating-backtrace.php
 [2004-07-22 17:58 UTC] lkp857 at yahoo dot com
Im using Windows Version of PHP, so how to use a debugger except gdb...?? Visual C++ can??
 [2004-07-26 07:58 UTC] lkp857 at yahoo dot com
I discover the error message: The instruction at 0x7c9059b1 referenced memory at 0x00000014 The memory cannot be read.
 [2004-07-26 08:01 UTC] lkp857 at yahoo dot com
beside that, the apache also contain the error: (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed
 [2004-07-27 04:15 UTC] lkp857 at yahoo dot com
Currently im using Zend PHP Debugger and the ZendOptimizer_errors.txt files shows that error:
[5736] Unable to view file mapping:[487]Attempt to access invalid address.
 [2004-12-13 07:13 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Also, try upgrading Apache2 to the latest available version.

 [2004-12-21 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 02:01:29 2024 UTC