• DocumentCode
    3433842
  • Title

    Sentomist: Unveiling Transient Sensor Network Bugs via Symptom Mining

  • Author

    Zhou, Yangfan ; Chen, Xinyu ; Lyu, Michael R. ; Liu, Jiangchuan

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Chinese Univ. of Hong Kong, Hong Kong, China
  • fYear
    2010
  • fDate
    21-25 June 2010
  • Firstpage
    784
  • Lastpage
    794
  • Abstract
    Wireless Sensor Network (WSN) applications are typically event-driven. While the source codes of these applications may look simple, they are executed with a complicated concurrency model, which frequently introduces software bugs, in particular, transient bugs. Such buggy logics may only be triggered by some occasionally interleaved events that bear implicit dependency, but can lead to fatal system failures. Unfortunately, these deeply-hidden bugs or even their symptoms can hardly be identified by state-of-the-art debugging tools, and manual identification from massive running traces can be prohibitively expensive. In this paper, we present Sentomist (Sensor application anatomist), a novel tool for identifying potential transient bugs in WSN applications. The Sentomist design is based on a key observation that transient bugs make the behaviors of a WSN system deviate from the normal, and thus outliers (i.e., abnormal behaviors) are good indicators of potential bugs. Sentomist introduces the notion of event-handling interval to systematically anatomize the long-term execution history of an event-driven WSN system into groups of intervals. It then applies a customized outlier detection algorithm to quickly identify and rank abnormal intervals. This dramatically reduces the human efforts of inspection (otherwise, we have to manually check tremendous data samples, typically with brute force inspection) and thus greatly speeds up debugging. We have implemented Sentomist based on the concurrency model of TinyOS. We apply Sentomist to test a series of representative real-life WSN applications that contain transient bugs. These bugs, though caused by complicated interactions that can hardly be predicted during the programming stage, are successfully confined by Sentomist.
  • Keywords
    concurrency control; data mining; operating systems (computers); security of data; telecommunication computing; telecommunication security; wireless sensor networks; Sentomist tool; TinyOS model; buggy logics; complicated concurrency model; sensor application anatomist tool; software bugs; symptom mining; transient bugs; wireless sensor network; Application software; Computer bugs; Concurrent computing; Debugging; Detection algorithms; History; Humans; Inspection; Logic; Wireless sensor networks; Debugging; Embedded Systems; Sensor Networks; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Distributed Computing Systems (ICDCS), 2010 IEEE 30th International Conference on
  • Conference_Location
    Genova
  • ISSN
    1063-6927
  • Print_ISBN
    978-1-4244-7261-1
  • Type

    conf

  • DOI
    10.1109/ICDCS.2010.75
  • Filename
    5541625