Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createDefaultLogger -> Exception code: 0xc0000409 #2613

Open
ganchoganev opened this issue Aug 5, 2024 · 1 comment
Open

createDefaultLogger -> Exception code: 0xc0000409 #2613

ganchoganev opened this issue Aug 5, 2024 · 1 comment

Comments

@ganchoganev
Copy link

  • OS: win 11

  • PHP version: 8.2.0

  • Package name and version: "google/apiclient": "^2.17",

  • "monolog/monolog": "3.0",
    in this function :
    protected function createDefaultLogger()
    {
    $logger = new Logger('google-api-php-client');
    if ($this->isAppEngine()) {
    $handler = new MonologSyslogHandler('app', LOG_USER, Logger::NOTICE);
    } else {
    $handler = new MonologStreamHandler('php://stderr', Logger::NOTICE);
    }
    $logger->pushHandler($handler);

    return $logger;
    

    }
    on this execute $handler = new MonologStreamHandler('php://stderr', Logger::NOTICE); -> give php error in win logs :
    Exception code: 0xc0000409

@Hectorhammett
Copy link
Contributor

Hello @ganchoganev

Interesting, can you give me more context about your application? This is running in Windows and that error seems to be a Stack Overflow error:
https://stackoverflow.com/questions/23409809/how-do-you-diagnose-the-exception-code-0xc0000409-on-windows

I got a few questions:

  • Is this running on GPC or is it your own server? Or any other service for that matter?
  • Is this error out of the box or are you configuring it to use a logger?
  • Is the machine low on memory?

I tried running an example from my end and it did not cause this issue, but is a different environment.

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

No branches or pull requests

2 participants