Disassembly-Augmented Root Cause Analysis for C/C++ Segmentation Faults in SAP HANA
Open Access
- 7 October 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 3729-3740
Abstract
Production failures in large-scale systems are inherently difficult to diagnose, and crash dumps are often the only artifact available for debugging. In C++ programs, this difficulty is further compounded by misleading crash locations in stack traces caused by compiler optimizations such as function inlining. In our dataset of production SIGSEGV crashes from SAP HANA, 66% exhibit such misleading crash locations, which can misdirect both developers and LLM-based debugging agents to the source code of inlined functions rather than the true execution context of the faulting instruction. In this work, we investigate whether explicitly providing disassembly information that reveals the faulting instruction and recovers inlining chains improves bug diagnosis quality in both autonomous agent and tool-disabled LLM modes. Experiments on 91 real-world SIGSEGV crashes show that disassembly context improves root cause analysis quality and generally improves fault localization, especially for misleading crash locations. Moreover, in agent mode, the additional disassembly context does not increase total session cost of diagnosis, as its added input-token cost is offset by reduced exploration of the codebase.Keywords
Funding Information
- SAP Labs Korea (N/A)
- Korea University (K2611061)
- Institute of Information & Communications Technology Planning & Evaluation (IITP), funded by the Korean government (MND) (RS-2026-25551943)
- Institute of Information & Communications Technology Planning & Evaluation (IITP) – ICT Creative Consilience Program, funded by the Korean government (MSIT) (IITP-2025-RS-2020-II201819)
This publication has 17 references indexed in Scilit:
- A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault LocalizationProceedings of the ACM on Software Engineering, 2024
- A Method of Component Prediction for Crash Bug Reports Using Component-Based Features and Machine Learning2023
- Testing Very Large Database Management Systems: The Case of SAP HANADatenbank-Spektrum, 2022
- Who’s debugging the debuggers? exposing debug information bugs in optimized binaries2021
- Failure sketching2015
- CrashLocator: locating crashing faults based on crash stacks2014
- SoK: Eternal War in Memory2013
- Debugging in the (very) large2009
- Debugging optimized code without being misledACM Transactions on Programming Languages and Systems, 1994
- Symbolic Debugging of Optimized CodeACM Transactions on Programming Languages and Systems, 1982