You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by "edespino (via GitHub)" <gi...@apache.org> on 2024/12/16 07:12:30 UTC

[PR] Add script to analyze core dumps with gdb [cloudberry-devops-release]

edespino opened a new pull request, #10:
URL: https://github.com/apache/cloudberry-devops-release/pull/10

   Introduces analyze_core_dumps.sh to automate core dump analysis using GDB. The script provides stack traces and register information for analyzing crashes in executables, with particular focus on Postgres/Cloudberry.
   
   Features:
   - Automatic core dump detection and analysis
   - Detailed stack traces and register info via GDB
   - Comprehensive logging of analysis results
   - Dependency checking for required tools
   - Clear return codes for automation: 0: No cores found 1: Cores processed successfully 2: Errors (missing deps or processing failures)
   
   The script is designed to integrate with automated testing and CI/CD pipelines while also being useful for manual debugging sessions.
   
   Add conditional debug build support to configure
   
   Modifies configure script to optionally enable debug-related compile options:
    - --enable-debug
    - --enable-profiling
    - --enable-cassert
    - --enable-debug-extensions
   
   These flags are enabled when ENABLE_DEBUG=true is set in the environment. This provides flexibility to generate both debug and non-debug builds from the same script, defaulting to non-debug builds.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] Add script to analyze core dumps with gdb [cloudberry-devops-release]

Posted by "edespino (via GitHub)" <gi...@apache.org>.
edespino merged PR #10:
URL: https://github.com/apache/cloudberry-devops-release/pull/10


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org