ID:               49893
 Updated by:       [email protected]
 Reported By:      greubel at nkey dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: Windows Vista
 PHP Version:      5.3.0
 New Comment:

Please don't post bugs in 3rd party frameworks as bugs in PHP. As long
as you're not able to provide a short reproducing code that does NOT
require this is not a bug.


Previous Comments:
------------------------------------------------------------------------

[2009-10-16 00:21:22] greubel at nkey dot de

I tried to find the source of the problem. If the
Zend_Mail_Protocol_Pop3 is used as class to create a communication
object, an exception is thrown instead of crash.

Used code:

<?php
require 'Zend/Mail/Protocol/Pop3.php';  
try {
        $acc = new Zend_Mail_Protocol_Pop3();
        $acc->connect('pop.gmx.de');
        $acc->login('[email protected]', '');
}
catch(Exception $e)
{
        echo $e->getMessage();
        echo "<pre>";
        echo $e->getTraceAsString();
        echo "</pre>";
}
?>

The crashing method in Zend_Mail_Storage_Pop3 seems to be the
Zend_Mail_Protocol_Pop3::login() method call in the constructor.

------------------------------------------------------------------------

[2009-10-16 00:10:34] greubel at nkey dot de

<?php
require 'Zend/Mail/Storage/Pop3.php';

try {
        $acc = new Zend_Mail_Storage_Pop3(
                array(
      'host' => 'pop.gmx.de',
      'user' => '[email protected]',
      'password' => ''
                )
        );
}
catch(Exception $e)
{
        echo $e->getMessage();
        echo "<pre>";
        echo $e->getTraceAsString();
        echo "</pre>";
}
?>

------------------------------------------------------------------------

[2009-10-15 19:02:13] [email protected]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------

[2009-10-15 19:00:48] greubel at nkey dot de

Description:
------------
While creating an instance of Zend_Mail_Storage_Pop3 using an username
and NO password, the Apache Connection was ended. In error log and
windows event log the message appears, that the child has exited.


Reproduce code:
---------------
$storage = new Zend_Mail_Storage_Pop3(array(
          'host' => $mailbox->incomingServer,
          'user' => $mailbox->loginName,
          'password' => $mailbox->loginPasswd == null ? '' :
$mailbox->loginPasswd
        ));

Expected result:
----------------
A error or exception that the connection to remote host could not be
established

Actual result:
--------------
Apache Child crash:

[Thu Oct 15 20:43:11 2009] [notice] Parent: child process exited with
status 255 -- Restarting.
[Thu Oct 15 20:43:11 2009] [notice] Apache/2.2.14 (Win32) PHP/5.3.0
configured -- resuming normal operations
[Thu Oct 15 20:43:11 2009] [notice] Server built: Sep 28 2009 22:41:08

Windows event log XML output:

- <Event
xmlns="http://schemas.microsoft.com/win/2004/08/events/event";>
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2009-10-15T18:43:08.000Z" /> 
  <EventRecordID>1685</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>Callipso</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>httpd.exe</Data> 
  <Data>2.2.14.0</Data> 
  <Data>4ac181d6</Data> 
  <Data>php5ts.dll</Data> 
  <Data>5.3.0.0</Data> 
  <Data>4a4922e7</Data> 
  <Data>c0000005</Data> 
  <Data>00083381</Data> 
  <Data>d44</Data> 
  <Data>01ca4dc6c4770430</Data> 
  </EventData>
  </Event>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49893&edit=1

Reply via email to