タグ

解析に関するkyabのブックマーク (2)

  • [GDB] 別環境で採取した core ファイルを解析する方法 - th0x4c 備忘録

    OS: Oracle Enterprise Linux 5.8 GDB: GNU gdb 7.0.1-42.el5 解析に必要なファイル 別環境で発生した core ファイルを解析するためには以下のファイルが必要。 core ファイル 実行ファイル 共有ライブラリ 例えば、以下のように abort() でわざと core を吐かせて試してみる。 $ cat hello.c #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { printf("hello, world\n"); abort(); return 0; } $ gcc -o hello hello.c $ ./hello hello, world Aborted (core dumped) $ ls -ltr | tail -1 -rw

    kyab
    kyab 2014/06/12
    コアダンプ+共有ライブラリ+ソースを別環境で解析する方法
  • BugStories

    Shiro(2011/09/16 02:28:53 PDT):ハードなバグに関する話って読んでてとてもおもしろいのだけれど、 いざ事例を探そうとすると思うように探せないので、何となくまとめておこう。 好きなように足してください。自分で書いてリンクするのも歓迎。 (2017/05/06 17:40:34 UTC: 新しい記事を前に足してゆくように変更) How we found and fixed a rare race condition in our session handlingFinding a CPU Design Bug in the Xbox 360オーバーフローが引き起こした面白いバグの話The Horror in the Standard LibraryA tale of an impossible bug: big.LITTLE and cachingThis is s

    BugStories
    kyab
    kyab 2014/05/31
    ハードなバグまとめ
  • 1