-
Notifications
You must be signed in to change notification settings - Fork 7.8k
PHP crash after:[ error ] [2]imap_open(): Couldn't open stream #10895
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
Comments
Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32. Once you have generated a backtrace, please submit it to this bug report and the status will change back to "Open". |
No feedback was provided. The issue is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so. Thank you. |
Hello Damian,
|
@kinghuaq You should never upload or publish your coredumps in a public location, because they contain the full memory contents at the time of crash. This can include passwords, private keys or personally-identifying information. I've removed the links from your comment, but the links may still be in inboxes of users that receive email notifications. You should check if it is necessary to revoke keys or passwords. Please keep the original coredumps somewhere on your system, though in case a developer needs you to obtain additional information using gdb. |
Hello TimWolla, Thanks very much for your reminding. |
BTW, for this imap_open error, I can't catch it, if I can catch the error, then my php server will not crash. |
Dear TimWolla Thanks very much! |
I am going to close this as we are unbundling ext/imap |
From manual page: https://php.net/function.imap-open
Guys, I encountered a problem, I open "{imap.exmail.qq.com:143}INBOX" every 5 minutes, at least failed one time in 24 hours, it shows "[ error ] [2]imap_open(): Couldn't open stream {imap.exmail.qq.com:143}INBOX", and PHP crashed, ended by "WARNING: [pool www] child 236893 exited on signal 11 (SIGSEGV - core dumped) after 58173.740387 seconds from started".
I want to catch the error by try {}catch(){}, but not work, it is seems imap.so will not recover after opening error. My PHP version is 7.0.
I don't want PHP crash, I want PHP keep running after failed, is any way to do this? thank you very much!
The text was updated successfully, but these errors were encountered: