[Tickets #11217] Ingo breaks apache server due after array_merger error

bugs at horde.org bugs at horde.org
Sat Jun 9 03:43:20 UTC 2012


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

Ticket URL: http://bugs.horde.org/ticket/11217
------------------------------------------------------------------------------
  Ticket             | 11217
  Created By         | lfbm.andamentos at gmail.com
  Summary            | Ingo breaks apache server due after array_merger error
  Queue              | Ingo
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 3. High
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


lfbm.andamentos at gmail.com (2012-06-09 03:43) wrote:

Ingo is causing my http server to stall. If I install ingo, when I  
access a user´s mailbox, the cpu usage goes to 100% and I get no more  
response. If I uninstall ingo, then everything works as expected and I  
can list messages, create folders etc.

The only odd message I get from the log just before the crash is this:

Jun  9 03:20:37 ip-10-248-38-150 HORDE: [ingo] PHP ERROR:  
array_merge(): Argument #2 is not an array [pid 24527 on line 627 of  
"/usr/share/php/Horde/Imap/Client/Search/Query.php"]

Using Horde::debug on the variable $queries from line 627 of the above  
file returned this:

2012-06-09T03:08:47+00:00 DEBUG: Variable information:
object(Horde_Imap_Client_Search_Query)#295 (3) {
   ["_charset":protected]=>
   NULL
   ["_search":protected]=>
   array(1) {
     ["or"]=>
     array(16) {
       [0]=>
       object(Horde_Imap_Client_Search_Query)#300 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(19) "suporte at aasp.org.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [1]=>
       object(Horde_Imap_Client_Search_Query)#301 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(31) "jornalgritocidadao at abdic.org.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [2]=>
       object(Horde_Imap_Client_Search_Query)#302 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(22) "jf_sp_push at jfsp.jus.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [3]=>
       object(Horde_Imap_Client_Search_Query)#303 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(24) "edmilson at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [4]=>
       object(Horde_Imap_Client_Search_Query)#304 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(22) "felipe at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [5]=>
       object(Horde_Imap_Client_Search_Query)#305 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(23) "gustavo at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [6]=>
       object(Horde_Imap_Client_Search_Query)#306 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(20) "ivan at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [7]=>
       object(Horde_Imap_Client_Search_Query)#307 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(23) "juliana at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [8]=>
       object(Horde_Imap_Client_Search_Query)#308 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(20) "lucy at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [9]=>
       object(Horde_Imap_Client_Search_Query)#309 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(23) "rodrigo at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [10]=>
       object(Horde_Imap_Client_Search_Query)#310 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(23) "ronaldo at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [11]=>
       object(Horde_Imap_Client_Search_Query)#311 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(25) "ronaldojr at marzagao.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [12]=>
       object(Horde_Imap_Client_Search_Query)#312 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(23) "intimacoes at oabsp.org.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [13]=>
       object(Horde_Imap_Client_Search_Query)#313 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(16) "mary at rbsm.adv.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [14]=>
       object(Horde_Imap_Client_Search_Query)#314 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(20) "trf3push at trf3.gov.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
       [15]=>
       object(Horde_Imap_Client_Search_Query)#315 (3) {
         ["_charset":protected]=>
         NULL
         ["_search":protected]=>
         array(1) {
           ["header"]=>
           array(1) {
             [0]=>
             array(2) {
               ["header"]=>
               string(4) "FROM"
               ["text"]=>
               string(24) "juizacarmen at yahoo.com.br"
             }
           }
         }
         ["_temp":protected]=>
         array(0) {
         }
       }
     }
   }
   ["_temp":protected]=>
   array(0) {
   }
}

Backtrace:
  1. Horde_Registry::appInit() /var/www/horde/imp/index.php:16
  2. Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:245
  3. Horde_Core_LoginTasks->runTasks() /usr/share/php/Horde/Registry.php:1375
  4. Horde_LoginTasks->runTasks() /usr/share/php/Horde/Core/LoginTasks.php:48
  5. IMP_LoginTasks_Task_FilterOnLogin->execute()  
/usr/share/php/Horde/LoginTasks.php:211
  6. IMP_Filter->filter()  
/var/www/horde/imp/lib/LoginTasks/Task/FilterOnLogin.php:44
  7. Horde_Registry->call() /var/www/horde/imp/lib/Filter.php:46
  8. Horde_Registry->callByPackage() /usr/share/php/Horde/Registry.php:979
  9. call_user_func_array() /usr/share/php/Horde/Registry.php:1020
10. Ingo_Api->applyFilters()
11. Ingo_Script_Imap->perform() /var/www/horde/ingo/lib/Api.php:108
12. Horde_Imap_Client_Search_Query->andSearch()  
/var/www/horde/ingo/lib/Script/Imap.php:159
13. Horde::debug() /usr/share/php/Horde/Imap/Client/Search/Query.php:626






More information about the bugs mailing list