#49893 [Fbk->Opn]: Apache 2.2 Child crash while creating an instance of Zend_Mail_Storage_Pop3

From: Date: Fri, 16 Oct 2009 00:10:34 +0000
Subject: #49893 [Fbk->Opn]: Apache 2.2 Child crash while creating an instance of Zend_Mail_Storage_Pop3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-143609@lists.php.net to get a copy of this message
ID: 49893 User updated by: greubel at nkey dot de Reported By: greubel at nkey dot de -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: Windows Vista PHP Version: 5.3.0 New Comment: <?php require 'Zend/Mail/Storage/Pop3.php'; try { $acc = new Zend_Mail_Storage_Pop3( array( 'host' => 'pop.gmx.de', 'user' => 'someone@gmx.de', 'password' => '' ) ); } catch(Exception $e) { echo $e->getMessage(); echo "<pre>"; echo $e->getTraceAsString(); echo "</pre>"; } ?> Previous Comments: ------------------------------------------------------------------------ [2009-10-15 19:02:13] pajoye@php.net 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

« previous php.bugs (#143609) next »