• DocumentCode
    3377165
  • Title

    Debugging memory issues in Embedded Linux: A case study

  • Author

    Ray, Partha Pratim ; Banerjee, Ansuman

  • Author_Institution
    Haldia Inst. of Technol., Haldia, India
  • fYear
    2011
  • fDate
    14-16 Jan. 2011
  • Firstpage
    23
  • Lastpage
    28
  • Abstract
    Debugging denotes the process of detecting root causes of unexpected observable behaviors in programs, such as a program crash, an unexpected output value being produced or an assertion violation. Debugging of program errors is a difficult task and often takes a significant amount of time in the software development life cycle. In the context of embedded software, the probability of bugs is quite high. Due to requirements of low code size and less resource consumption, embedded softwares typically do away with a lot of sanity checks during development time. This leads to high chance of errors being uncovered in the production code at run time. In this paper we propose a methodology for debugging errors in BusyBox, a de-facto standard for Linux in embedded systems. Our methodology works on top of Valgrind, a popular memory error detector and Daikon, an invariant analyzer. We have experimented with two published errors in BusyBox and report our findings in this paper.
  • Keywords
    Linux; program debugging; software engineering; storage management; BusyBox; Daikon; Valgrind; bugs probability; embedded Linux; invariant analyzer; memory debugging; memory error detector; program crash; program error debugging; root cause detection; software development life cycle; Computer bugs; Debugging; Detectors; Embedded software; Linux;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Students' Technology Symposium (TechSym), 2011 IEEE
  • Conference_Location
    Kharagpur
  • Print_ISBN
    978-1-4244-8941-1
  • Type

    conf

  • DOI
    10.1109/TECHSYM.2011.5783857
  • Filename
    5783857