Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Fatal error: Maximum function nesting level of '100' reached, aborting! #3

Open
elazar opened this issue Jun 5, 2014 · 5 comments
Open
Labels

Comments

@elazar
Copy link
Member

elazar commented Jun 5, 2014

The repeated sequence appears to start at step 14 in the call stack below and spans 10 steps.

Fatal error: Maximum function nesting level of '100' reached, aborting! in vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php on line 43

Call Stack:
    0.0002     230712   1. {main}() vendor/phergie/phergie-irc-bot-react/bin/phergie:0
    0.0093    1308608   2. Phergie\Irc\Bot\React\Bot->run() vendor/phergie/phergie-irc-bot-react/bin/phergie:28
    0.0136    1914712   3. Phergie\Irc\Client\React\Client->run() vendor/phergie/phergie-irc-bot-react/src/Bot.php:234
    0.0186    2442016   4. React\EventLoop\StreamSelectLoop->run() vendor/phergie/phergie-irc-client-react/src/Client.php:564
   13.0586    3166128   5. React\EventLoop\StreamSelectLoop->loop() vendor/react/react/src/React/EventLoop/StreamSelectLoop.php:182
   13.0587    3166176   6. React\EventLoop\StreamSelectLoop->runStreamSelect() vendor/react/react/src/React/EventLoop/StreamSelectLoop.php:169
   13.1134    3166672   7. call_user_func:{vendor/react/react/src/React/EventLoop/StreamSelectLoop.php:149}() vendor/react/react/src/React/EventLoop/StreamSelectLoop.php:149
   13.1134    3166704   8. React\Stream\Stream->handleData() vendor/react/react/src/React/EventLoop/StreamSelectLoop.php:149
   13.1134    3171312   9. Evenement\EventEmitter->emit() vendor/react/react/src/React/Stream/Stream.php:118
   13.1135    3171360  10. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1135    3171784  11. React\Stream\Util::React\Stream\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1135    3171784  12. Phergie\Irc\Client\React\ReadStream->write() vendor/react/react/src/React/Stream/Util.php:18
   13.1139    3175496  13. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/ReadStream.php:76
   13.1139    3175544  14. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3175880  15. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3176496  16. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:344
   13.1139    3176544  17. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3177160  18. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3177208  19. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:436
   19.0025    7589312  20. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0025    7589888  21. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0025    7590312  22. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0026    7590872  23. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0028    7591568  24. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0028    7591904  25. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0028    7592520  26. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:363
   19.0028    7592568  27. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0028    7593184  28. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0029    7595232  29. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:442
   19.0030    7596304  30. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0030    7596880  31. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0030    7597304  32. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0030    7597768  33. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0032    7598336  34. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0032    7598672  35. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0032    7599288  36. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:363
   19.0032    7599640  37. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0032    7600256  38. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0033    7602320  39. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:442
   19.0034    7603392  40. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0034    7603968  41. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0034    7604392  42. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0034    7604856  43. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0036    7605432  44. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0036    7605768  45. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0036    7606384  46. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:363
   19.0036    7606736  47. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0036    7607352  48. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0038    7609424  49. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:442
   19.0038    7610496  50. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0039    7611072  51. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0039    7611496  52. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0039    7611968  53. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0041    7612544  54. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0042    7612880  55. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0042    7613496  56. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:363
   19.0042    7613848  57. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0042    7614464  58. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0043    7616544  59. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:442
   19.0043    7617616  60. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0043    7618192  61. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0043    7618616  62. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0043    7619080  63. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0045    7619656  64. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0045    7619992  65. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0045    7620608  66. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:363
   19.0045    7620960  67. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0046    7621576  68. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0046    7623648  69. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:442
   19.0047    7624720  70. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0047    7625296  71. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0047    7625720  72. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0047    7626184  73. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0049    7626760  74. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0049    7627096  75. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0049    7627712  76. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:363
   19.0049    7628064  77. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0049    7628680  78. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0051    7630736  79. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:442
   19.0051    7631808  80. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0051    7632384  81. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0051    7632808  82. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0051    7633272  83. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0053    7633840  84. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0053    7634176  85. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0053    7634792  86. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:363
   19.0054    7635144  87. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0054    7635760  88. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0054    7637816  89. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:442
   19.0055    7638888  90. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0055    7639464  91. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0055    7639888  92. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0055    7640352  93. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
   19.0055    7640880  94. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0055    7641216  95. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   19.0055    7641672  96. Monolog\Logger->debug() vendor/phergie/phergie-irc-client-react/src/Client.php:263
   19.0055    7641856  97. Monolog\Logger->addRecord() vendor/monolog/monolog/src/Monolog/Logger.php:418
   19.0056    7643136  98. Monolog\Handler\AbstractProcessingHandler->handle() vendor/monolog/monolog/src/Monolog/Logger.php:239
   19.0056    7643136  99. Monolog\Formatter\LineFormatter->format() vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:35

Here's a snippet of a single repetition:

   13.1139    3175544  14. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3175880  15. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3176496  16. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/Client.php:344
   13.1139    3176544  17. call_user_func_array:{vendor/evenement/evenement/src/Evenement/EventEmitter.php:70}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3177160  18. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() vendor/evenement/evenement/src/Evenement/EventEmitter.php:70
   13.1139    3177208  19. Phergie\Irc\Bot\React\Bot->processClientEvent() vendor/phergie/phergie-irc-bot-react/src/Bot.php:436
   19.0025    7589312  20. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() vendor/phergie/phergie-irc-bot-react/src/Bot.php:474
   19.0025    7589888  21. call_user_func_array:{vendor/phergie/phergie-irc-bot-react/src/Bot.php:510}() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0025    7590312  22. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() vendor/phergie/phergie-irc-bot-react/src/Bot.php:510
   19.0026    7590872  23. Evenement\EventEmitter->emit() vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
@elazar elazar added the bug label Jun 5, 2014
@WyriHaximus
Copy link
Member

@elazar Any steps to reproduce this?

@elazar
Copy link
Member Author

elazar commented Jun 5, 2014

@WyriHaximus I encountered it while issuing a deploy command implemented in this plugin. Sadly, it requires special configuration and an AWS account, so I'm not sure I can easily provide steps to reproduce. Hopefully the plugin code gives you some idea of what might be going on, though.

@elazar
Copy link
Member Author

elazar commented Apr 6, 2015

Haven't seen any recent recurrences of this issue. Closing.

@elazar elazar closed this as completed Apr 6, 2015
@elazar elazar reopened this Sep 22, 2015
@elazar
Copy link
Member Author

elazar commented Sep 22, 2015

Looks like someone else was able to replicate this.

Configuration

<?php

// ...

ini_set('xdebug.max_nesting_level', 100);

$plugins = [
    new \Phergie\Irc\Plugin\React\Pong\Plugin,
    new \WyriHaximus\Phergie\Plugin\Dns\Plugin(['enableCommand' => true]),
    new \WyriHaximus\Phergie\Plugin\Http\Plugin,
    new \Chrismou\Phergie\Plugin\PingPong\Plugin,
    new \Phergie\Irc\Plugin\React\Command\Plugin(['prefix' => '!']),
    new \Phergie\Irc\Plugin\React\AutoJoin\Plugin(['channels'=>'#tests']),
    new \Test\Plugin

];

return array(
  'connections' => [$conn],
  'plugins' => $plugins
);

Plugin

<?php
// @codingStandardsIgnoreFile

namespace Test;

use Phergie\Irc\Bot\React\AbstractPlugin;
use Phergie\Irc\Bot\React\EventQueueInterface as Queue;
use Phergie\Irc\Plugin\React\Command\CommandEventInterface as Event;

class Plugin extends AbstractPlugin
{

    public function getSubscribedEvents()
    {
        return [
            'command.flood' => 'flood'
        ];
    }

    public function flood($event, $queue)
    {
        $limit = $event->getCustomParams()[0];
        $channel = $event->getSource();
        for ($x = 0; $x <= $limit; $x++) {
            $queue->ircPrivmsg($channel, $x);
        }
    }
}

Backtrace

PHP Fatal error:  Maximum function nesting level of '100' reached, aborting! in /home/zro/projects/php/pherg/test/vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php on line 58
PHP Stack trace:
PHP   1. {main}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/bin/phergie:0
PHP   2. Phergie\Irc\Bot\React\Bot->run() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/bin/phergie:28
PHP   3. Phergie\Irc\Client\React\Client->run() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:236
PHP   4. React\EventLoop\StreamSelectLoop->run() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:730
PHP   5. React\EventLoop\StreamSelectLoop->waitForStreamActivity() /home/zro/projects/php/pherg/test/vendor/react/event-loop/StreamSelectLoop.php:201
PHP   6. call_user_func:{/home/zro/projects/php/pherg/test/vendor/react/event-loop/StreamSelectLoop.php:227}() /home/zro/projects/php/pherg/test/vendor/react/event-loop/StreamSelectLoop.php:227
PHP   7. React\SocketClient\SecureStream->handleData() /home/zro/projects/php/pherg/test/vendor/react/event-loop/StreamSelectLoop.php:227
PHP   8. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/react/socket-client/src/SecureStream.php:48
PHP   9. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  10. React\Stream\Util::React\Stream\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  11. Phergie\Irc\Client\React\ReadStream->write() /home/zro/projects/php/pherg/test/vendor/react/stream/src/Util.php:18
PHP  12. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/ReadStream.php:77
PHP  13. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  14. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  15. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:424
PHP  16. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  17. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  18. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:454
PHP  19. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  20. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  21. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  22. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  23. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  24. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  25. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:442
PHP  26. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  27. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  28. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:463
PHP  29. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  30. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  31. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  32. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  33. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  34. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  35. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:442
PHP  36. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  37. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  38. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:463
PHP  39. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  40. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  41. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  42. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  43. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  44. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  45. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:442
PHP  46. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  47. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  48. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:463
PHP  49. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  50. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  51. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  52. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  53. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  54. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  55. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:442
PHP  56. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  57. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  58. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:463
PHP  59. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  60. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  61. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  62. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  63. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  64. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  65. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:442
PHP  66. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  67. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  68. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:463
PHP  69. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  70. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  71. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  72. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  73. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  74. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  75. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:442
PHP  76. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  77. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  78. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:463
PHP  79. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  80. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  81. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  82. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  83. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  84. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  85. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:442
PHP  86. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  87. Phergie\Irc\Bot\React\Bot->Phergie\Irc\Bot\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  88. Phergie\Irc\Bot\React\Bot->processClientEvent() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:463
PHP  89. Phergie\Irc\Bot\React\Bot->processOutgoingEvents() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:495
PHP  90. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  91. Phergie\Irc\Client\React\WriteStream->ircPrivmsg() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-bot-react/src/Bot.php:531
PHP  92. Evenement\EventEmitter->emit() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/WriteStream.php:395
PHP  93. call_user_func_array:{/home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  94. Phergie\Irc\Client\React\Client->Phergie\Irc\Client\React\{closure}() /home/zro/projects/php/pherg/test/vendor/evenement/evenement/src/Evenement/EventEmitterTrait.php:64
PHP  95. call_user_func:{/home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:332}() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:332
PHP  96. Monolog\Logger->debug() /home/zro/projects/php/pherg/test/vendor/phergie/phergie-irc-client-react/src/Client.php:332
PHP  97. Monolog\Logger->addRecord() /home/zro/projects/php/pherg/test/vendor/monolog/monolog/src/Monolog/Logger.php:481
PHP  98. Monolog\Handler\AbstractProcessingHandler->handle() /home/zro/projects/php/pherg/test/vendor/monolog/monolog/src/Monolog/Logger.php:289
PHP  99. Monolog\Formatter\LineFormatter->format() /home/zro/projects/php/pherg/test/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:35
PHP 100. Monolog\Formatter\NormalizerFormatter->format() /home/zro/projects/php/pherg/test/vendor/monolog/monolog/src/Monolog/Formatter/LineFormatter.php:70

@elazar
Copy link
Member Author

elazar commented Sep 22, 2015

I'm guessing the repetition in the call stack is implying there's a circular use of recursion. If that's the case, we may want to look into implementing the trampoline pattern instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants