Created
January 17, 2012 02:24
-
-
Save tetsu-koba/1624168 to your computer and use it in GitHub Desktop.
stack trace of adb server by gdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
koba@koba-linux2:/opt/koba/android-ics.kzm/system/core/adb$ ps ax |grep adb | |
13998 pts/5 Sl 0:00 adb fork-server server | |
14034 pts/5 S+ 0:00 grep --color=auto adb | |
koba@koba-linux2:/opt/koba/android-ics.kzm/system/core/adb$ which adb | |
/opt/koba/android-ics.kzm/out/host/linux-x86/bin/adb | |
koba@koba-linux2:/opt/koba/android-ics.kzm/system/core/adb$ gdb /opt/koba/android-ics.kzm/out/host/linux-x86/bin/adb 13998 | |
GNU gdb (GDB) 7.1-ubuntu | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu". | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>... | |
Reading symbols from /opt/koba/android-ics.kzm/out/host/linux-x86/bin/adb...done. | |
Attaching to program: /opt/koba/android-ics.kzm/out/host/linux-x86/bin/adb, process 13998 | |
Reading symbols from /lib32/librt.so.1...(no debugging symbols found)...done. | |
Loaded symbols for /lib32/librt.so.1 | |
Reading symbols from /lib32/libncurses.so.5...(no debugging symbols found)...done. | |
Loaded symbols for /lib32/libncurses.so.5 | |
Reading symbols from /lib32/libpthread.so.0...(no debugging symbols found)...done. | |
[Thread debugging using libthread_db enabled] | |
[New Thread 0xf7ccfb70 (LWP 13999)] | |
Loaded symbols for /lib32/libpthread.so.0 | |
Reading symbols from /usr/lib32/libstdc++.so.6...(no debugging symbols found)...done. | |
Loaded symbols for /usr/lib32/libstdc++.so.6 | |
Reading symbols from /lib32/libm.so.6...(no debugging symbols found)...done. | |
Loaded symbols for /lib32/libm.so.6 | |
Reading symbols from /usr/lib32/libgcc_s.so.1...(no debugging symbols found)...done. | |
Loaded symbols for /usr/lib32/libgcc_s.so.1 | |
Reading symbols from /lib32/libc.so.6...(no debugging symbols found)...done. | |
Loaded symbols for /lib32/libc.so.6 | |
Reading symbols from /lib/ld-linux.so.2... | |
warning: the debug information found in "/lib/ld-2.11.1.so" does not match "/lib/ld-linux.so.2" (CRC mismatch). | |
(no debugging symbols found)...done. | |
Loaded symbols for /lib/ld-linux.so.2 | |
0xf7fdf430 in __kernel_vsyscall () | |
(gdb) info thread | |
2 Thread 0xf7ccfb70 (LWP 13999) 0xf7fdf430 in __kernel_vsyscall () | |
* 1 Thread 0xf7cd06d0 (LWP 13998) 0xf7fdf430 in __kernel_vsyscall () | |
(gdb) bt | |
#0 0xf7fdf430 in __kernel_vsyscall () | |
#1 0xf7d9aa81 in select () from /lib32/libc.so.6 | |
#2 0x0805f3ea in fdevent_process () at system/core/adb/fdevent.c:378 | |
#3 0x0805fc95 in fdevent_loop () at system/core/adb/fdevent.c:689 | |
#4 0x0804c37b in adb_main (is_daemon=1, server_port=5037) | |
at system/core/adb/adb.c:979 | |
#5 0x080538b2 in adb_commandline (argc=0, argv=0xffffcfc8) | |
at system/core/adb/commandline.c:915 | |
#6 0x0804b28f in main (argc=3, argv=0xffffcfc4) at system/core/adb/adb.c:1279 | |
(gdb) thread 2 | |
[Switching to thread 2 (Thread 0xf7ccfb70 (LWP 13999))]#0 0xf7fdf430 in __kernel_vsyscall () | |
(gdb) bt | |
#0 0xf7fdf430 in __kernel_vsyscall () | |
#1 0xf7d6b096 in nanosleep () from /lib32/libc.so.6 | |
#2 0xf7d6aec0 in sleep () from /lib32/libc.so.6 | |
#3 0x0805ed24 in device_poll_thread (unused=0x0) | |
at system/core/adb/usb_linux.c:666 | |
#4 0xf7f6c96e in start_thread () from /lib32/libpthread.so.0 | |
#5 0xf7da1b5e in clone () from /lib32/libc.so.6 | |
(gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment