[Tickets #11041] Re: PHP process hangs drawing 100% CPU until killed

bugs at horde.org bugs at horde.org
Thu Mar 1 00:31:29 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11041
------------------------------------------------------------------------------
  Ticket             | 11041
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | PHP process hangs drawing 100% CPU until killed
  Queue              | IMP
  Version            | 5.0.18
  Type               | Bug
  State              | Assigned
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2012-02-29 17:31) wrote:

Your tree object is very broken:

                     [_tree:protected] => Array
                         (
                             [base] => Array
                                 (
                                     [a] => 0
                                     [v] => base
                                 )

                             [vfolder] => Array
                                 (
                                     [a] => 385
                                     [c] => 0
                                     [p] => base
                                     [v] => vfolder
                                 )

                             [impsearchvinbox] => Array
                                 (
                                     [a] => 136
                                     [c] => 0
                                     [p] => base
                                     [v] => impsearchvinbox
                                 )

                         )

Namely, there is no INBOX value.  There HAS to be an INBOX value, and  
our code explicitly creates one if it doesn't exist.

Although looking at the code... if an exception is thrown from the  
Imap server, INBOX won't be added.  That shouldn't be that way - we  
need to fatal out if the IMAP server can't do a basic thing like  
listing mailboxes.  You can try applying this patch and see if you get  
an IMAP error now.





More information about the bugs mailing list