bneradt opened a new pull request, #12773:
URL: https://github.com/apache/trafficserver/pull/12773

   # DO NOT MERGE
   
   Adds bt to crashlog. Testing this with Serris's patch (#12669) since that 
currently crashes in the CentOS build.
   
   
   ---
   
   Previously, backtraces only appeared in crash logs when libunwind
   (TS_USE_REMOTE_UNWINDING) was available. Without it, the crash log
   would say 'Unable to retrieve backtrace' while the backtrace was
   only written to stderr (traffic.out).
   
   This change adds an in-process backtrace mechanism that:
   - Generates a demangled backtrace from the crashing thread
   - Sends it over the existing pipe to traffic_crashlog
   - Uses it as a fallback when ServerBacktrace() fails
   
   Changes:
   - Add ink_stack_trace_get() to generate demangled backtraces using
     abi::__cxa_demangle()
   - Modify crash_logger_invoke() to capture and send the backtrace
   - Update traffic_crashlog to read and include the in-process backtrace
   - Use std::string for cleaner memory management


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to