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

Allow coredump to be generated upon LOG(FATAL) #192

Closed
zhitaoli opened this issue May 22, 2017 · 1 comment
Closed

Allow coredump to be generated upon LOG(FATAL) #192

zhitaoli opened this issue May 22, 2017 · 1 comment

Comments

@zhitaoli
Copy link

In certain environment, it's pretty hard to debug any problem once the process has aborted due to LOG(FATAL).

Can we add some support to optionally generate a coredump before calling exit()?

@DariuszOstolski
Copy link
Contributor

When LOG(FATAL) is executed glog calls abort function and if configured properly it will generate a core dump, but you have to configure your environment. By default on most Linux systems generating core dump is turned off that's why you don't get a core dump when LOG(FATAL) is executed.

@sergiud sergiud closed this as completed Mar 30, 2021
@sergiud sergiud mentioned this issue May 6, 2021
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

3 participants