這個實例是由於由於本人在netd函數TetherController::startTethering中打印log信息的時候,去地址的時候錯誤而引起的,其實問題很快發現並解決了,在這裏通過log去分析也是希望去學習一下tombstone怎麼分析並解決的,由於是第一次做這種分析,歡迎拍磚。
02-17 15:14:06.642 4494 4511 D CommandListener:TetherCmd::runCommand. argc: 16. argv[0]: tether
02-17 15:14:06.642 4494 4511 D CommandListener:[IPV6_TETHER] ----- virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=start, [2]=192.168.1.10, [3]=192.168.1.254
02-17 15:14:06.642 4494 4511 D TetherController:Starting tethering services mode 0
crash 之前最後的log,看了很多相關stack的信息最後才發現這裏纔是找到問題的救命稻草,但具體到那一行本人真的沒有看出來?哪位大俠能幫忙指點一下!
02-17 15:14:06.642 4494 4511 F libc : Fatal signal11 (SIGSEGV) at0x646e612f (code=1)
這裏是11(SEGV),表示段錯誤,一般爲程序指令訪問非法地址時產生。
Kill -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1
11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM
16) SIGSTKFLT 17) SIGCHLD 18)SIGCONT 19) SIGSTOP 20) SIGTSTP
21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ
26) SIGVTALRM 27) SIGPROF 28)SIGWINCH 29) SIGIO 30) SIGPWR
31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3
38) SIGRTMIN+4 39) SIGRTMIN+5 40)SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8
43) SIGRTMIN+9 44) SIGRTMIN+10 45)SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13
48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51)SIGRTMAX-13 52) SIGRTMAX-12
53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56)SIGRTMAX-8 57) SIGRTMAX-7
58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2
63) SIGRTMAX-1 64) SIGRTMAX
02-17 15:14:06.642 1584 1584 I DEBUG : handle_crashing_process(8)
02-17 15:14:07.042 1584 1584 I DEBUG : pid: 4494, tid:4511 >>> /system/bin/netd <<<
02-17 15:14:07.052 1584 1584 I DEBUG : thread: netd
02-17 15:14:07.052 1584 1584 I DEBUG : debuggerd:isSystemServerCrash=0, isAPCrash=0
02-17 15:14:07.052 1584 1584 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR),fault addr 646e612f
signal 11表示取地址出錯
02-17 15:14:07.052 1584 1584 I DEBUG : r0 646e612f r1 408da480 r2 00000003 r3 00000000
02-17 15:14:07.052 1584 1584 I DEBUG : r4 408da47c r5 00000002 r6 00000000 r7 408d99a8
02-17 15:14:07.052 1584 1584 I DEBUG : r8 408d9fec r9 646e612f 10 00000073 fp 408d9a50
02-17 15:14:07.052 1584 1584 I DEBUG : ip ffffffff sp 408d98e0 lr 400aaa9f pc 400a3b24 cpsr 20000010
02-17 15:14:07.052 1584 1584 I DEBUG : d0 2e3836312e323931 d1 6972656835322e31
02-17 15:14:07.052 1584 1584 I DEBUG : d2 697672657320676e d3 65646f6d20736563
02-17 15:14:07.052 1584 1584 I DEBUG : d4 3a3a646d43726568 d5 616d6d6f436e7572
02-17 15:14:07.052 1584 1584 I DEBUG : d6 656b636f5328646e d7 2a746e65696c4374
02-17 15:14:07.052 1584 1584 I DEBUG : d8 0000000000000000 d9 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d10 0000000000000000 d11 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d12 0000000000000000 d13 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d14 0000000000000000 d15 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d16 419e9b3cc7158106 d17 3f50624dd2f1a9fc
02-17 15:14:07.052 1584 1584 I DEBUG : d18 41b6345a6b000000 d19 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d20 0000000000000000 d21 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d22 0000000000000000 d23 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d24 0000000000000000 d25 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d26 0000000000000000 d27 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d28 0000000000000000 d29 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : d30 0000000000000000 d31 0000000000000000
02-17 15:14:07.052 1584 1584 I DEBUG : scr 00000010
02-17 15:14:07.052 1584 1584 I DEBUG :
02-17 15:14:07.072 1584 1584 I DEBUG : #00 pc 00016b24 /system/lib/libc.so(strlen)
02-17 15:14:07.072 1584 1584 I DEBUG : #01 pc 0001da9c /system/lib/libc.so(__vfprintf)
這裏只有兩個PC相關的stack所以用處不大
02-17 15:14:07.072 1584 1584 I DEBUG :
02-17 15:14:07.072 1584 1584 I DEBUG : code around pc:
02-17 15:14:07.072 1584 1584 I DEBUG : 400a3b04 f7fffd77bd10fcff e24dd008 e2102003 w.........M....
02-17 15:14:07.072 1584 1584 I DEBUG : 400a3b14 f5d0f000f5d0f020 e58d0004 0a00000f .... ...........
02-17 15:14:07.072 1584 1584 I DEBUG : 400a3b24 e5d02000e3520000 12803001 13a02000 . ....R..0.....
02-17 15:14:07.072 1584 1584 I DEBUG : 400a3b34 158d30041a000004 ea00003e e4d31001 .0......>.......
02-17 15:14:07.072 1584 1584 I DEBUG : 400a3b44 e35100000a00003b e58d3004 e59d0004 ..Q.;....0......
02-17 15:14:07.072 1584 1584 I DEBUG :
02-17 15:14:07.072 1584 1584 I DEBUG : code around lr:
02-17 15:14:07.072 1584 1584 I DEBUG : 400aaa7c c010f8cdf908f005 c010f8dd b14846e3 .............FH.
02-17 15:14:07.072 1584 1584 I DEBUG : 400aaa8c 0b00ebc9bfa845e3 e00346e3 f7f94648 .....E...F..HF..
02-17 15:14:07.072 1584 1584I DEBUG : 400aaa9c 4683e838 f50d9c06f04f7eb4 f80e0c00 8..F.....~O.....
02-17 15:14:07.072 1584 1584 I DEBUG : 400aaaac f8cdcc01e15bc018 46d09709 9f0646dc ......[....F.F..
02-17 15:14:07.072 1584 1584 I DEBUG : 400aaabc f0464692e0040610 46d09709 46dc9f06 .FF........F...F
02-17 15:14:07.072 1584 1584 I DEBUG :
02-17 15:14:07.072 1584 1584 I DEBUG : memory map aroundaddr 646e612f:
02-17 15:14:07.072 1584 1584 I DEBUG : 407dc000-408db000
02-17 15:14:07.072 1584 1584 I DEBUG : (no map foraddress)
02-17 15:14:07.072 1584 1584 I DEBUG : b0001000-b0009000/system/bin/linker
02-17 15:14:07.072 1584 1584 I DEBUG :
02-17 15:14:07.072 1584 1584 I DEBUG : stack:
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98a0 408d9fdc
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98a4 408d99fc
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98a8 408da07d
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98ac 400a88cd /system/lib/libc.so
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98b0 408d9fec
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98b4 408d9a0c
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98b8 00000022
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98bc 408d9a0c
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98c0 00000002
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98c4 00000000
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98c8 408d99a8
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98cc 408d9fec
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98d0 408d9fab
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98d4 00000064
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98d8 df0027ad
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98dc 00000000
02-17 15:14:07.072 1584 1584 I DEBUG : #00 408d98e0 408da480
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98e4 646e612f
02-17 15:14:07.072 1584 1584 I DEBUG : #01 408d98e8 00000010
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98ec 00000000
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98f0 0000000a
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98f4 0000000a
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98f8 00000000
02-17 15:14:07.072 1584 1584 I DEBUG : 408d98fc 00000010
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9900 408da480
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9904 00000000
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9908 408d9a40
02-17 15:14:07.072 1584 1584 I DEBUG : 408d990c 0001d3e3 /system/bin/netd
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9910 00000096
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9914 408d9a50
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9918 00000029
02-17 15:14:07.072 1584 1584 I DEBUG : 408d991c 00000000
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9920 00000000
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9924 408d9a3c
02-17 15:14:07.072 1584 1584 I DEBUG : 408d9928 408d9a2c
02-17 15:14:07.072 1584 1584 I DEBUG : 408d992c 0001d3b8 /system/bin/netd
一直以爲在這裏能看出什麼信息,但最後還是讓我失望了
02-17 15:14:07.223 1584 1584 I DEBUG : detaching
02-17 15:14:07.223 1926 1952 I BootReceiver: Copying /data/tombstones/tombstone_26 to DropBox (SYSTEM_TOMBSTONE)
在這個目錄下能取到tombstone相關的信息,
02-17 15:14:07.233 1926 1984 W NetdConnector: Failed to read socket (-1)
02-17 15:14:07.233 1926 1993 E Tethering:Error updateDhcpRange :java.lang.IllegalStateException: Unable to communicateto native daemon
02-17 15:14:07.233 1926 1993 D Tethering: setFastDormancy enabled=1
02-17 15:14:07.233 1926 1984 W NetdConnector: Failed to receive response from daemon
02-17 15:14:07.233 1926 1993 D NetdConnector: RSP <- {}
02-17 15:14:07.233 1926 1993 D NetdConnector: No Resp times=0
02-17 15:14:07.233 1926 1984 D NetdConnector: closing socket
02-17 15:14:07.243 1584 1584 I DEBUG : waiting forconnection
最後隨便也貼上tombstone裏面的log信息
Build fingerprint:
pid: 4494, tid:4511 >>>/system/bin/netd <<<
thread: netd
02-17 15:14:06.632 4494 4511 D CommandListener: [IPV6_TETHER] ----- virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=status, [2]=(null), [3]=(null)
02-17 15:14:06.642 4494 4511 D CommandListener: TetherCmd::runCommand. argc: 16. argv[0]: tether
02-17 15:14:06.642 4494 4511 D CommandListener: [IPV6_TETHER] ----- virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=start, [2]=192.168.1.10, [3]=192.168.1.254
02-17 15:14:06.642 4494 4511 D TetherController:Starting tethering services mode 0
02-17 15:14:06.642 4494 4511 F libc : Fatal signal 11 (SIGSEGV) at 0x646e612f(code=1)
--- --- --- --- --- --- --- --- --- --- ------ --- --- --- ---
pid: 4494, tid: 4494
r0fffffffc r1 bebfaab8 r2 593aa59b r3 00000000
r400024680 r5 000272b8 r6 80000000 r7 000000a2
r800000000 r9 00000000 10 00000000 fp 00000000
ip0002062c sp bebfaab0 lr 400a6cf5 pc 4009a034 cpsr 60000010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0002225000022240 d5 0002227000022260
d6 000226d000022280 d7 3ede5bd800022b20
d8 0000000000000000 d9 0000000000000000
d100000000000000000 d11 0000000000000000
d120000000000000000 d13 0000000000000000
d140000000000000000 d15 0000000000000000
d16419e9b3cc7158106 d17 3f50624dd2f1a9fc
d1841b6345a6b000000 d19 0000000000000000
d200000000000000000 d21 0000000000000000
d220000000000000000 d23 0000000000000000
d240000000000000000 d25 0000000000000000
d260000000000000000 d27 0000000000000000
d280000000000000000 d29 0000000000000000
d300000000000000000 d31 0000000000000000
scr00000010
#00 pc 0000d034 /system/lib/libc.so (nanosleep)
#01 pc 00019cf2 /system/lib/libc.so (sleep)
#02 pc 00015aae /system/bin/netd (main)
經過彙編轉換後發現這個地址也不在那個函數的範圍之內,不知道這個和守服進 程的特殊性有沒有關係
#03 pc 00016ae8 /system/lib/libc.so (__libc_init)
code around pc:
4009a014 ef000000 e8bd0090 e1b00000512fff1e ............../Q
4009a024 ea00b5c9 e92d0090 e3a070a2ef000000 ......-..p......
4009a034 e8bd0090 e1b00000 512fff1eea00b5c2 ........../Q....
4009a044 e92d0090 e59f7010 ef000000e8bd0090 ..-..p..........
4009a054 e1b00000 512fff1e ea00b5bb00000107 ....../Q........
code around lr:
400a6cd4 6020e001 bd3e2000 b5072800 f06fbfb8 .. `. >..(....o.
400a6ce4 46694000 46689000 93012300e99af7f3 [email protected].#......
400a6cf4 f7f9b138 6801fc73 bf14290430fff04f 8...s..h.)..O..0
400a6d04 bd0e9800 2158460a f7f3b510bd10e944 .....FX!....D...
400a6d14 d902281f 44784804 4b04e004 681b447b .(...HxD...K{D.h
stack:
bebfaa70 5f44494f
bebfaa74 4b434f53
bebfaa78 6e5f5445
bebfaa7c 00647465
bebfaa80 00000000
bebfaa84 00000000
bebfaa88 00000000
bebfaa8c 00000000
bebfaa90 00000000
bebfaa94 00000000
bebfaa98 00000000
bebfaa9c 00000000
bebfaaa0 00000000
bebfaaa4 00000000
bebfaaa8 00000000
bebfaaac 593aa59b
#00 bebfaab0 00024680 [heap]
bebfaab4 bebfaafc [stack]
#01 bebfaab8 00000321
bebfaabc 37690727
bebfaac0 593aa59b
bebfaac4 00015ab1 /system/bin/netd
#02 bebfaac8 0000a6d4 /system/bin/netd
bebfaacc bebfaaf4 [stack]
bebfaad0 00000001
bebfaad4 400a3aeb /system/lib/libc.so
#03 bebfaad8 00000000
bebfaadc 00000000
bebfaae0 00000000
bebfaae4 00000000
bebfaae8 00000000
bebfaaec b00045ab /system/bin/linker
bebfaaf0 00000001
bebfaaf4 bebfabe0 [stack]
bebfaaf8 00000000
bebfaafc bebfabf1 [stack]
bebfab00 bebfac33 [stack]
bebfab04 bebfac88 [stack]
bebfab08 bebfac9b [stack]
bebfab0c bebfacb0 [stack]
bebfab10 bebfaccb [stack]
bebfab14 bebfacde [stack]
bebfab18 bebfacfb [stack]
bebfab1c bebfad15 [stack]
--- --- --- --- --- --- --- --- --- --- ------ --- --- --- ---
pid: 4494, tid: 4507
r00000000d r1 100ffe14 r2 00000000 r3 00000000
r400000000 r5 00000000 r6 00000000 r7 0000008e
r84011b277 r9 0000000c 10 4011b238 fp 4011b264
ip100ffde8 sp 100ffdd8 lr 40119e4f pc 40099b50 cpsr 60000010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 612f302e6332692d d5 68632d3030353862
d6 302e676c61677261 d7 735f7265776f702f
d8 0000000000000000 d9 0000000000000000
d100000000000000000 d11 0000000000000000
d120000000000000000 d13 0000000000000000
d140000000000000000 d15 0000000000000000
d16419e9b3cc7158106 d17 3f50624dd2f1a9fc
d1841b6345a6b000000 d19 0000000000000000
d200000000000000000 d21 0000000000000000
d220000000000000000 d23 0000000000000000
d240000000000000000 d25 0000000000000000
d260000000000000000 d27 0000000000000000
d280000000000000000 d29 0000000000000000
d300000000000000000 d31 0000000000000000
scr00000010
#00 pc 0000cb50 /system/lib/libc.so (select)
#01 pc 00001e4c /system/lib/libsysutils.so(_ZN14SocketListener11runListenerEv)
#02 pc 00002032 /system/lib/libsysutils.so (_ZN14SocketListener11threadStartEPv)
#03 pc 0001320c /system/lib/libc.so (__thread_entry)
#04 pc 00012d60 /system/lib/libc.so (pthread_create)
code around pc:
40099b30 e8bd0090 e1b00000 512fff1eea00b703 ........../Q....
40099b40 e1a0c00d e92d00f0 e89c0070e3a0708e ......-.p....p..
40099b50 ef000000 e8bd00f0 e1b00000512fff1e ............../Q
40099b60 ea00b6fa e92d0090 e3a0705def000000 ......-.]p......
40099b70 e8bd0090 e1b00000 512fff1eea00b6f3 ........../Q....
code around lr:
40119e2c 68e0ecac 68436892 d1e5429af7ff4630 ...h.hCh.B..0F..
40119e3c 2200edd8 0001f109 46139907f7ff9200 ...".......F....
40119e4c 2800edf4 f7ffda0f 6802edbad09f2a04 ...(.......h.*..
40119e5c edb4f7ff f7ff6800 2106edb8465b4652 .....h.....!RF[F
40119e6c 20039000 d093e0c0 230169a0011ff000 ... .....i.#....
stack:
100ffd98 4023402c
100ffd9c 000000a0
100ffda0 4011b277 /system/lib/libsysutils.so
100ffda4 4011b238 /system/lib/libsysutils.so
100ffda8 4011b238 /system/lib/libsysutils.so
100ffdac 400a34a7 /system/lib/libc.so
100ffdb0 00032df0 [heap]
100ffdb4 401679bf /system/lib/libstdc++.so
100ffdb8 00032df0 [heap]
100ffdbc 4011ac53 /system/lib/libsysutils.so
100ffdc0 00032df0 [heap]
100ffdc4 4011a835 /system/lib/libsysutils.so
100ffdc8 40234008
100ffdcc 00027428 [heap]
100ffdd0 40234018
100ffdd4 4011b238 /system/lib/libsysutils.so
#00 100ffdd8 40234008
100ffddc 00027428 [heap]
100ffde0 40234018
100ffde4 4011b238 /system/lib/libsysutils.so
#01 100ffde8 00000000
100ffdec 00000000
100ffdf0 00000000
100ffdf4 00000001
100ffdf8 00000000
100ffdfc 100ffe9c
100ffe00 100ffea0
100ffe04 100ffe14
100ffe08 100ffe94
100ffe0c 100ffe98
100ffe10 00000000
100ffe14 00001100
100ffe18 00000000
100ffe1c 00000000
100ffe20 00000000
100ffe24 00000000
100ffe28 00000000
100ffe2c 00000000
100ffe30 00000000
100ffe34 00000000
100ffe38 00000000
100ffe3c 00000000
100ffe40 00000000
100ffe44 00000000
100ffe48 00000000
100ffe4c 00000000
100ffe50 00000000
100ffe54 00000000
100ffe58 00000000
100ffe5c 00000000
100ffe60 00000000
100ffe64 00000000
100ffe68 00000000
100ffe6c 00000000
100ffe70 00000000
100ffe74 00000000
100ffe78 00000000
100ffe7c 00000000
100ffe80 00000000
100ffe84 00000000
100ffe88 00000000
100ffe8c 00000000
100ffe90 00000000
100ffe94 00000000
100ffe98 00000000
100ffe9c 00027438 [heap]
100ffea0 00032df0 [heap]
100ffea4 00000000
100ffea8 00000000
100ffeac 00000000
100ffeb0 00000000
100ffeb4 00000000
100ffeb8 00000000
100ffebc 593aa59b
100ffec0 00000000
100ffec4 100fff00
100ffec8 4011a031 /system/lib/libsysutils.so
100ffecc 40234008
100ffed0 00000078
100ffed4 4011a031 /system/lib/libsysutils.so
100ffed8 40234008
100ffedc 00100000
100ffee0 00000001
100ffee4 4011a037 /system/lib/libsysutils.so
#02 100ffee8 100fff00
100ffeec 400a0210 /system/lib/libc.so
#03 100ffef0 100fff00
100ffef4 000270e0 [heap]
100ffef8 400c78d4 /system/lib/libc.so
100ffefc 4009fd64 /system/lib/libc.so
#04 100fff00 100fff00
100fff04 000270e0 [heap]
100fff08 00000000
100fff0c 00000000
100fff10 00000000
100fff14 00000000
100fff18 00000000
100fff1c 00000000
100fff20 00000000
100fff24 00000000
100fff28 00000000
100fff2c 00000000
100fff30 00000000
100fff34 00000000
100fff38 00000000
100fff3c 00000000
100fff40 00000000
100fff44 00000000
--- --- --- --- --- --- --- --- --- --- ------ --- --- --- ---
pid: 4494, tid: 4508
r000000010 r1 403c9e14 r2 00000000 r3 00000000
r400000000 r5 00000000 r6 00000000 r7 0000008e
r84011b277 r9 0000000f 10 4011b238 fp 4011b264
ip403c9de8 sp 403c9dd8 lr 40119e4f pc 40099b50 cpsr 60000010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0002225000022240 d5 0002227000022260
d6 000226d000022280 d7 3ede5bd800022b20
d8 0000000000000000 d9 0000000000000000
d100000000000000000 d11 0000000000000000
d120000000000000000 d13 0000000000000000
d140000000000000000 d15 0000000000000000
d16419e9b3cc7158106 d17 3f50624dd2f1a9fc
d1841b6345a6b000000 d19 0000000000000000
d200000000000000000 d21 0000000000000000
d220000000000000000 d23 0000000000000000
d240000000000000000 d25 0000000000000000
d260000000000000000 d27 0000000000000000
d280000000000000000 d29 0000000000000000
d300000000000000000 d31 0000000000000000
scr00000010
#00 pc 0000cb50 /system/lib/libc.so (select)
#01 pc 00001e4c /system/lib/libsysutils.so (_ZN14SocketListener11runListenerEv)
#02 pc 00002032 /system/lib/libsysutils.so(_ZN14SocketListener11threadStartEPv)
#03 pc 0001320c /system/lib/libc.so (__thread_entry)
#04 pc 00012d60 /system/lib/libc.so (pthread_create)
code around pc:
40099b30 e8bd0090 e1b00000 512fff1eea00b703 ........../Q....
40099b40 e1a0c00d e92d00f0 e89c0070e3a0708e ......-.p....p..
40099b50 ef000000 e8bd00f0 e1b00000512fff1e ............../Q
40099b60 ea00b6fa e92d0090 e3a0705def000000 ......-.]p......
40099b70 e8bd0090 e1b00000 512fff1eea00b6f3 ........../Q....
code around lr:
40119e2c 68e0ecac 68436892 d1e5429af7ff4630 ...h.hCh.B..0F..
40119e3c 2200edd8 0001f109 46139907f7ff9200 ...".......F....
40119e4c 2800edf4 f7ffda0f 6802edbad09f2a04 ...(.......h.*..
40119e5c edb4f7ff f7ff6800 2106edb8465b4652 .....h.....!RF[F
40119e6c 20039000 d093e0c0 230169a0011ff000 ... .....i.#....
stack:
403c9d98 4024502c
403c9d9c 000003f4
403c9da0 4011b277 /system/lib/libsysutils.so
403c9da4 4011b238 /system/lib/libsysutils.so
403c9da8 4011b238 /system/lib/libsysutils.so
403c9dac 400a34a7 /system/lib/libc.so
403c9db0 00032df0 [heap]
403c9db4 401679bf /system/lib/libstdc++.so
403c9db8 00032df0 [heap]
403c9dbc 4011ac53 /system/lib/libsysutils.so
403c9dc0 00032df0 [heap]
403c9dc4 4011a835 /system/lib/libsysutils.so
403c9dc8 40245008
403c9dcc 00027468 [heap]
403c9dd0 40245018
403c9dd4 4011b238 /system/lib/libsysutils.so
#00 403c9dd8 40245008
403c9ddc 00027468 [heap]
403c9de0 40245018
403c9de4 4011b238 /system/lib/libsysutils.so
#01 403c9de8 00000000
403c9dec 00000000
403c9df0 00000000
403c9df4 00000001
403c9df8 00000000
403c9dfc 403c9e9c
403c9e00 403c9ea0
403c9e04 403c9e14
403c9e08 403c9e94
403c9e0c 403c9e98
403c9e10 00000000
403c9e14 0000c000 /system/bin/netd
403c9e18 00000000
403c9e1c 00000000
403c9e20 00000000
403c9e24 00000000
403c9e28 00000000
403c9e2c 00000000
403c9e30 00000000
403c9e34 00000000
403c9e38 00000000
403c9e3c 00000000
403c9e40 00000000
403c9e44 00000000
403c9e48 00000000
403c9e4c 00000000
403c9e50 00000000
403c9e54 00000000
403c9e58 00000000
403c9e5c 00000000
403c9e60 00000000
403c9e64 00000000
403c9e68 00000000
403c9e6c 00000000
403c9e70 00000000
403c9e74 00000000
403c9e78 00000000
403c9e7c 00000000
403c9e80 00000000
403c9e84 00000000
403c9e88 00000000
403c9e8c 00000000
403c9e90 00000000
403c9e94 00000000
403c9e98 00000000
403c9e9c 00027478 [heap]
403c9ea0 00032df0 [heap]
403c9ea4 00000000
403c9ea8 00000000
403c9eac 00000000
403c9eb0 00000000
403c9eb4 00000000
403c9eb8 00000000
403c9ebc 593aa59b
403c9ec0 00000000
403c9ec4 403c9f00
403c9ec8 4011a031 /system/lib/libsysutils.so
403c9ecc 40245008
403c9ed0 00000078
403c9ed4 4011a031 /system/lib/libsysutils.so
403c9ed8 40245008
403c9edc 00100000
403c9ee0 00000001
403c9ee4 4011a037 /system/lib/libsysutils.so
#02 403c9ee8 403c9f00
403c9eec 400a0210 /system/lib/libc.so
#03 403c9ef0 403c9f00
403c9ef4 00027178 [heap]
403c9ef8 400c78d4 /system/lib/libc.so
403c9efc 4009fd64 /system/lib/libc.so
#04 403c9f00 403c9f00
403c9f04 00027178 [heap]
403c9f08 00000000
403c9f0c 00000000
403c9f10 00000000
403c9f14 00000000
403c9f18 00000000
403c9f1c 00000000
403c9f20 00000000
403c9f24 00000000
403c9f28 00000000
403c9f2c 00000000
403c9f30 00000000
403c9f34 00000000
403c9f38 00000000
403c9f3c 00000000
403c9f40 00000000
403c9f44 00000000
--- --- --- --- --- --- --- --- --- --- ------ --- --- --- ---
pid: 4494, tid: 4509
r000000013 r1 4065fe14 r2 00000000 r3 00000000
r400000000 r5 00000000 r6 00000000 r7 0000008e
r84011b277 r9 00000012 10 4011b238 fp 4011b264
ip4065fde8 sp 4065fdd8 lr 40119e4f pc 40099b50 cpsr 60000010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0002225000022240 d5 0002227000022260
d6 000226d000022280 d7 3ede5bd800022b20
d8 0000000000000000 d9 0000000000000000
d100000000000000000 d11 0000000000000000
d120000000000000000 d13 0000000000000000
d140000000000000000 d15 0000000000000000
d16419e9b3cc7158106 d17 3f50624dd2f1a9fc
d1841b6345a6b000000 d19 0000000000000000
d200000000000000000 d21 0000000000000000
d220000000000000000 d23 0000000000000000
d240000000000000000 d25 0000000000000000
d260000000000000000 d27 0000000000000000
d280000000000000000 d29 0000000000000000
d300000000000000000 d31 0000000000000000
scr00000010
#00 pc 0000cb50 /system/lib/libc.so (select)
#01 pc 00001e4c /system/lib/libsysutils.so(_ZN14SocketListener11runListenerEv)
#02 pc 00002032 /system/lib/libsysutils.so (_ZN14SocketListener11threadStartEPv)
#03 pc 0001320c /system/lib/libc.so (__thread_entry)
#04 pc 00012d60 /system/lib/libc.so (pthread_create)
code around pc:
40099b30 e8bd0090 e1b00000 512fff1eea00b703 ........../Q....
40099b40 e1a0c00d e92d00f0 e89c0070e3a0708e ......-.p....p..
40099b50 ef000000 e8bd00f0 e1b00000512fff1e ............../Q
40099b60 ea00b6fa e92d0090 e3a0705def000000 ......-.]p......
40099b70 e8bd0090 e1b00000 512fff1eea00b6f3 ........../Q....
code around lr:
40119e2c 68e0ecac 68436892 d1e5429af7ff4630 ...h.hCh.B..0F..
40119e3c 2200edd8 0001f109 46139907f7ff9200 ...".......F....
40119e4c 2800edf4 f7ffda0f 6802edbad09f2a04 ...(.......h.*..
40119e5c edb4f7ff f7ff6800 2106edb8465b4652 .....h.....!RF[F
40119e6c 20039000 d093e0c0 230169a0011ff000 ... .....i.#....
stack:
4065fd98 00000000
4065fd9c 00000000
4065fda0 00000000
4065fda4 00000000
4065fda8 00000000
4065fdac 00027408 [heap]
4065fdb0 00027408 [heap]
4065fdb4 40489018
4065fdb8 4011b238 /system/lib/libsysutils.so
4065fdbc 4011b277 /system/lib/libsysutils.so
4065fdc0 40489008
4065fdc4 4011b238 /system/lib/libsysutils.so
4065fdc8 40489008
4065fdcc 00027408 [heap]
4065fdd0 40489018
4065fdd4 4011b238 /system/lib/libsysutils.so
#00 4065fdd8 40489008
4065fddc 00027408 [heap]
4065fde0 40489018
4065fde4 4011b238 /system/lib/libsysutils.so
#01 4065fde8 00000000
4065fdec 00000000
4065fdf0 00000000
4065fdf4 00000001
4065fdf8 00000000
4065fdfc 00000000
4065fe00 00000000
4065fe04 4065fe14
4065fe08 00000000
4065fe0c 00000000
4065fe10 00000000
4065fe14 00060000
4065fe18 00000000
4065fe1c 00000000
4065fe20 00000000
4065fe24 00000000
4065fe28 00000000
4065fe2c 00000000
4065fe30 00000000
4065fe34 00000000
4065fe38 00000000
4065fe3c 00000000
4065fe40 00000000
4065fe44 00000000
4065fe48 00000000
4065fe4c 00000000
4065fe50 00000000
4065fe54 00000000
4065fe58 00000000
4065fe5c 00000000
4065fe60 00000000
4065fe64 00000000
4065fe68 00000000
4065fe6c 00000000
4065fe70 00000000
4065fe74 00000000
4065fe78 00000000
4065fe7c 00000000
4065fe80 00000000
4065fe84 00000000
4065fe88 00000000
4065fe8c 00000000
4065fe90 00000000
4065fe94 00000000
4065fe98 00000000
4065fe9c 00000000
4065fea0 00000000
4065fea4 00000000
4065fea8 00000000
4065feac 00000000
4065feb0 00000000
4065feb4 00000000
4065feb8 00000000
4065febc 593aa59b
4065fec0 00000000
4065fec4 4065ff00
4065fec8 4011a031 /system/lib/libsysutils.so
4065fecc 40489008
4065fed0 00000078
4065fed4 4011a031 /system/lib/libsysutils.so
4065fed8 40489008
4065fedc 00100000
4065fee0 00000001
4065fee4 4011a037 /system/lib/libsysutils.so
#02 4065fee8 4065ff00
4065feec 400a0210 /system/lib/libc.so
#03 4065fef0 4065ff00
4065fef4 00027210 [heap]
4065fef8 400c78d4 /system/lib/libc.so
4065fefc 4009fd64 /system/lib/libc.so
#04 4065ff00 4065ff00
4065ff04 00027210 [heap]
4065ff08 00000000
4065ff0c 00000000
4065ff10 00000000
4065ff14 00000000
4065ff18 00000000
4065ff1c 00000000
4065ff20 00000000
4065ff24 00000000
4065ff28 00000000
4065ff2c 00000000
4065ff30 00000000
4065ff34 00000000
4065ff38 00000000
4065ff3c 00000000
4065ff40 00000000
4065ff44 00000000
--- --- --- --- --- --- --- --- --- --- ------ --- --- --- ---
pid: 4494, tid: 4510
r000000015 r1 40780e14 r2 00000000 r3 00000000
r400000000 r5 00000000 r6 00000000 r7 0000008e
r84011b277 r9 00000014 10 4011b238 fp 4011b264
ip40780de8 sp 40780dd8 lr 40119e4f pc 40099b50 cpsr 60000010
d0 0000000000000000 d1 0000000000000000
d2 0000000000000000 d3 0000000000000000
d4 0002225000022240 d5 0002227000022260
d6 000226d000022280 d7 3ede5bd800022b20
d8 0000000000000000 d9 0000000000000000
d100000000000000000 d11 0000000000000000
d120000000000000000 d13 0000000000000000
d140000000000000000 d15 0000000000000000
d16419e9b3cc7158106 d17 3f50624dd2f1a9fc
d1841b6345a6b000000 d19 0000000000000000
d200000000000000000 d21 0000000000000000
d220000000000000000 d23 0000000000000000
d240000000000000000 d25 0000000000000000
d260000000000000000 d27 0000000000000000
d280000000000000000 d29 0000000000000000
d300000000000000000 d31 0000000000000000
scr00000010
#00 pc 0000cb50 /system/lib/libc.so (select)
#01 pc 00001e4c /system/lib/libsysutils.so(_ZN14SocketListener11runListenerEv)
#02 pc 00002032 /system/lib/libsysutils.so(_ZN14SocketListener11threadStartEPv)
#03 pc 0001320c /system/lib/libc.so (__thread_entry)
#04 pc 00012d60 /system/lib/libc.so (pthread_create)
code around pc:
40099b30 e8bd0090 e1b00000 512fff1eea00b703 ........../Q....
40099b40 e1a0c00d e92d00f0 e89c0070e3a0708e ......-.p....p..
40099b50 ef000000 e8bd00f0 e1b00000512fff1e ............../Q
40099b60 ea00b6fa e92d0090 e3a0705def000000 ......-.]p......
40099b70 e8bd0090 e1b00000 512fff1eea00b6f3 ........../Q....
code around lr:
40119e2c 68e0ecac 68436892 d1e5429af7ff4630 ...h.hCh.B..0F..
40119e3c 2200edd8 0001f109 46139907f7ff9200 ...".......F....
40119e4c 2800edf4 f7ffda0f 6802edbad09f2a04 ...(.......h.*..
40119e5c edb4f7ff f7ff6800 2106edb8465b4652 .....h.....!RF[F
40119e6c 20039000 d093e0c0 230169a0011ff000 ... .....i.#....
stack:
40780d98 00027510 [heap]
40780d9c 400d6590
40780da0 4011b238 /system/lib/libsysutils.so
40780da4 400a2e45 /system/lib/libc.so
40780da8 40780e94
40780dac 000272f8 [heap]
40780db0 000272c8 [heap]
40780db4 0002be60 [heap]
40780db8 0002be60 [heap]
40780dbc 0002be7c [heap]
40780dc0 00000000
40780dc4 0002be60 [heap]
40780dc8 000272b8 [heap]
40780dcc 00027448 [heap]
40780dd0 000272c8 [heap]
40780dd4 4011b238 /system/lib/libsysutils.so
#00 40780dd8 000272b8 [heap]
40780ddc 00027448 [heap]
40780de0 000272c8 [heap]
40780de4 4011b238 /system/lib/libsysutils.so
#01 40780de8 00000000
40780dec 00000000
40780df0 00000000
40780df4 00000001
40780df8 00000018
40780dfc 40780e9c
40780e00 40780ea0
40780e04 40780e14
40780e08 40780e94
40780e0c 40780e98
40780e10 00000000
40780e14 00100400
40780e18 00000000
40780e1c 00000000
40780e20 00000000
40780e24 00000000
40780e28 00000000
40780e2c 00000000
40780e30 00000000
40780e34 00000000
40780e38 00000000
40780e3c 00000000
40780e40 00000000
40780e44 00000000
40780e48 00000000
40780e4c 00000000
40780e50 00000000
40780e54 00000000
40780e58 00000000
40780e5c 00000000
40780e60 00000000
40780e64 00000000
40780e68 00000000
40780e6c 00000000
40780e70 00000000
40780e74 00000000
40780e78 00000000
40780e7c 00000000
40780e80 00000000
40780e84 00000000
40780e88 00000000
40780e8c 00000000
40780e90 00000000
40780e94 000272f8 [heap]
40780e98 00032cd0 [heap]
40780e9c 00027458 [heap]
40780ea0 00032df0 [heap]
40780ea4 0002be60 [heap]
40780ea8 00000002
40780eac 00000001
40780eb0 00000000
40780eb4 00000000
40780eb8 00000000
40780ebc 593aa59b
40780ec0 00000000
40780ec4 40780f00
40780ec8 4011a031 /system/lib/libsysutils.so
40780ecc 000272b8 [heap]
40780ed0 00000078
40780ed4 4011a031 /system/lib/libsysutils.so
40780ed8 000272b8 [heap]
40780edc 00100000
40780ee0 00000001
40780ee4 4011a037 /system/lib/libsysutils.so
#02 40780ee8 40780f00
40780eec 400a0210 /system/lib/libc.so
#03 40780ef0 40780f00
40780ef4 00027368 [heap]
40780ef8 400c78d4 /system/lib/libc.so
40780efc 4009fd64 /system/lib/libc.so
#04 40780f00 40780f00
40780f04 00027368 [heap]
40780f08 00000000
40780f0c 00000000
40780f10 00000000
40780f14 00000000
40780f18 00000000
40780f1c 00000000
40780f20 00000000
40780f24 00000000
40780f28 00000000
40780f2c 00000000
40780f30 00000000
40780f34 00000000
40780f38 00000000
40780f3c 00000000
40780f40 00000000
40780f44 00000000
--------- log /dev/log/main
02-17 15:14:05.161 4494 4511 D CommandListener: TetherCmd::runCommand. argc: 2. argv[0]: tether
02-17 15:14:05.161 4494 4511 D CommandListener: [IPV6_TETHER] ----- virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=stop_ipt, [2]=(null), [3]=(null)
02-17 15:14:05.171 4494 4511 D CommandListener: UsbCmd::runCommand@1077: iptmode,3
02-17 15:14:05.171 4494 4511 D UsbController: [USBNET] StartIptMode@151: 0
02-17 15:14:05.171 4494 4511 D UsbController: [USBNET] runNetShareCmd@127: net_pass off
02-17 15:14:05.181 4494 4511 D CommandListener: UsbCmd::runCommand@1077: funcswitch,3
02-17 15:14:05.181 4494 4511 D UsbController: [USBNET] iCheckUsbFunc@135: 0x0
02-17 15:14:05.181 4494 4511 D UsbController: [USBNET] iSwitchUsbFunc@318: 0,0x0,0
02-17 15:14:05.181 4494 4511 D UsbController: [USBNET] iSwitchUsbFunc-: -1
02-17 15:14:06.572 4494 4511 D CommandListener: Setting iface cfg
02-17 15:14:06.572 4494 4511 D CommandListener: Trying to bring up usb0
02-17 15:14:06.572 4494 4511 D CommandListener: broadcast flag ignored
02-17 15:14:06.572 4494 4511 D CommandListener: multicast flag ignored
02-17 15:14:06.592 4494 4511 D CommandListener: TetherCmd::runCommand. argc: 4. argv[0]: tether
02-17 15:14:06.592 4494 4511 D CommandListener: [IPV6_TETHER] ----- virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=interface, [2]=add, [3]=usb0
02-17 15:14:06.592 4494 4511 D TetherController: addV6RtrAdvIface: len = 1. Iface: usb0
02-17 15:14:06.592 4494 4511 D TetherController: Router advertisement daemon already stopped
02-17 15:14:06.592 4494 4511 D TetherController: Router advertisement daemon running
02-17 15:14:06.602 4494 4511 D TetherController: Setting IP forward enable = 1
02-17 15:14:06.632 4494 4511 D CommandListener: TetherCmd::runCommand. argc: 2. argv[0]: tether
02-17 15:14:06.632 4494 4511 D CommandListener: [IPV6_TETHER] ----- virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=status, [2]=(null), [3]=(null)
02-17 15:14:06.632 4494 4511 D CommandListener: TetherCmd::runCommand. argc: 2. argv[0]: tether
02-17 15:14:06.632 4494 4511 D CommandListener: [IPV6_TETHER] ----- virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=status, [2]=(null), [3]=(null)
02-17 15:14:06.642 4494 4511 D CommandListener: TetherCmd::runCommand. argc: 16. argv[0]: tether
02-17 15:14:06.642 4494 4511 D CommandListener:[IPV6_TETHER] -----virtual intCommandListener::TetherCmd::runCommand(SocketClient*, int, char**),argv[1]=start, [2]=192.168.1.10, [3]=192.168.1.254
02-17 15:14:06.642 4494 4511 D TetherController:Starting tethering services mode 0
02-17 15:14:06.642 4494 4511 F libc :Fatal signal 11 (SIGSEGV) at 0x646e612f(code=1)