私のAndroidアプリプロジェクトで私の最初のSIGSEGVが発生しましたが、私はこのエラーの背後に理由を得ようとしています。logcatからスタックトレースを抽出できません
私のプロジェクトはPhoneGapを使用してパッケージ化されたwebappで、Android 2.2で正常に動作します。 2.1では、起動し、スプラッシュ画面を渡し、最初の画面の一部(ツールバー、フィールド、画像は表示されません)を表示してクラッシュします。
logcatのアドレスエントリをstack.pyとparse_stackに渡そうとしましたが、成功しませんでした。私は
stack.py
macbookair:Dropbox alexandre$ python stack.py crash.log
make: build/core/envsetup.mk: No such file or directory
make: *** No rule to make target `build/core/envsetup.mk'. Stop.
Searching for native crashes in crash.log
Reading symbols from
pid: 249, tid: 255 >>> com.xxxxxx.xxxxx <<<
signal 11 (SIGSEGV), fault addr 00000000
r0 00000000 r1 00000001 r2 00000000 r3 00000000
r4 0056c0b8 r5 4693f90c r6 ac1435a4 r7 0056c140
r8 00000001 r9 0056c140 10 00000001 fp 4693f970
ip 00000001 sp 4693f8d8 lr 00000001 pc ac03f030
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
sh: arm-eabi-addr2line: command not found
Stack Trace:
ADDR FUNCTION FILE:LINE
0003f030 (unknown) (unknown)
0003e188 (unknown) (unknown)
00043b78 (unknown) (unknown)
00043388 (unknown) (unknown)
000433fc (unknown) (unknown)
00086c88 (unknown) (unknown)
0004c54c (unknown) (unknown)
0011f046 (unknown) (unknown)
00113c6e (unknown) (unknown)
00113f6e (unknown) (unknown)
00113f80 (unknown) (unknown)
0011ec68 (unknown) (unknown)
0011a246 (unknown) (unknown)
00118564 (unknown) (unknown)
00155612 (unknown) (unknown)
0014ff28 (unknown) (unknown)
0014ff7c (unknown) (unknown)
001503d2 (unknown) (unknown)
00148536 (unknown) (unknown)
00145844 (unknown) (unknown)
00184854 (unknown) (unknown)
00138b26 (unknown) (unknown)
0013a67a (unknown) (unknown)
0018be6e (unknown) (unknown)
00167686 (unknown) (unknown)
001454b6 (unknown) (unknown)
001485b4 (unknown) (unknown)
00145844 (unknown) (unknown)
00169354 (unknown) (unknown)
001453ee (unknown) (unknown)
001454c4 (unknown) (unknown)
001485b4 (unknown) (unknown)
Stack Data:
ADDR VALUE FILE:LINE/FUNCTION
4693f898 0056c0b8
4693f89c 0256c0b8
4693f8a0 4693f970
4693f8a4 00000001
4693f8a8 4693f970
4693f8ac ac04bfd8 (unknown)
(unknown)
4693f8b0 00000000
4693f8b4 00000001
4693f8b8 4693f970
4693f8bc ac04c2cc (unknown)
(unknown)
4693f8c0 0056c0b8
4693f8c4 4693f90c
4693f8c8 ac1435a4 (unknown)
(unknown)
4693f8cc 00000000
4693f8d0 df002777
4693f8d4 e3a070ad
4693f8d8 00000000
4693f8dc 00000000
4693f8e0 00000000
4693f8e4 3f800000
4693f8e8 00000000
4693f8ec 004dc590
4693f8f0 00000000
4693f8f4 afe157e5 (unknown)
(unknown)
4693f8f8 4693fc14
4693f8fc afe1697d (unknown)
(unknown)
4693f900 00545a2a
4693f904 00463473
4693f908 00000002
4693f90c 4693f94c
4693f910 00000002
4693f914 00000000
4693f918 00000002
4693f91c 00000000
4693f920 00000002
4693f924 41900000 (unknown)
(unknown)
4693f928 00000000
4693f92c 00000001
4693f930 003b2478
4693f934 00000000
4693f938 00000000
4693f93c 00000002
4693f940 afe3bb74
4693f944 4693f970
4693f948 004dc590
4693f94c 0038a81c
4693f950 004890c8
4693f954 00000003
4693f958 42f2ce50
4693f95c 42f2ce38
4693f960 0011d058
4693f964 ac03e18c (unknown)
(unknown)
4693f968 00000001
4693f96c 00000000
4693f970 00000000
4693f974 00000000
4693f978 00000000
4693f97c 00000000
4693f980 00000000
4693f984 00000000
4693f988 00000001
4693f98c 00000001
4693f990 00000001
4693f994 00010003
4693f998 00000001
4693f99c 0038a7f8
4693f9a0 0038a81c
4693f9a4 00000001
4693f9a8 46940d80
4693f9ac ac043b7c (unknown)
(unknown)
parse_stack
macbookair:Dropbox alexandre$ python parse_stack.py crash.log
Traceback (most recent call last):
File "parse_stack.py", line 41, in <module>
asm, stack = sys.argv[1],sys.argv[2]
IndexError: list index out of range
私は私のラップトップ上の特定のフォルダからこれを実行している(Dropboxの中に...何か間違ったことでなければなりませんこの場合)、これを別のフォルダ、おそらくAndroid SDKで実行する必要がありますか?
ありがとうございます!
Macの実行ファイルパスにarm-eabi-addr2lineはありますか? – fadden
どのように私はそれを知っていますか?または私はどのように追加しますか? #newbie :( – Vallieres
実際には、私はPATHを持っていないので、それを追加する方法を学んだが、それは自分のコンピュータ上に見つからない。それはAndroid SDKに付属するのだろうか? – Vallieres