[Android-tools-devel] Bug#848852: adb command error with backtrace
Senthil Kumaran S
stylesen at gmail.com
Tue Dec 20 07:55:01 UTC 2016
Package: adb
Version: 1:7.0.0+r1-1
Severity: normal
Dear Maintainer,
I upgraded to the latest version of adb in my machine and while trying to use
adb command I get the following error:
<snip>
stylesen at harshu:~$ adb devices
adb: symbol lookup error: adb: undefined symbol: kFeatureShell2
stylesen at harshu:~$ sudo adb devices
adb: symbol lookup error: adb: undefined symbol: kFeatureShell2
stylesen at harshu:~$ sudo su
root at harshu:/home/stylesen# adb devices
adb: symbol lookup error: adb: undefined symbol: kFeatureShell2
root at harshu:/home/stylesen#
</snip>
The expected result is to start the adb daemon if it was not running and list
the devices attached, if any.
Alternatively, I tried adb within an LXC container, which throws a detailed
trace just for the first time adb gets started, as seen in this paste -
http://paste.debian.net/903367/
Also, I ve reproduced this bug with the help of LAVA (Linaro Automated
Validation Architecture) in stretch and sid. This does not occur in jessie. It
is reproducible consistently.
stretch:
job - https://staging.validation.linaro.org/scheduler/job/158283.2
error - https://staging.validation.linaro.org/scheduler/job/158283.2#L790
sid:
job - https://staging.validation.linaro.org/scheduler/job/158283.0
error - https://staging.validation.linaro.org/scheduler/job/158283.0#L802
jessie:
job - https://staging.validation.linaro.org/scheduler/job/158283.1
error - https://staging.validation.linaro.org/scheduler/job/158283.1#L772
Top level job - https://staging.validation.linaro.org/scheduler/job/158283
This also changes the behavior of adb command where, previously ie., as in case
of jessie the command exits with a 0 when the daemon is not started, but now
ie., as in case of stretch and sid the command exits with a 1.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages adb depends on:
ii android-libadb 1:6.0.1+r55-1
ii android-libbase 1:7.0.0+r1-1
ii android-libcutils 1:7.0.0+r1-1
ii libc6 2.24-8
ii libgcc1 1:6.2.1-5
ii libstdc++6 6.2.1-5
Versions of packages adb recommends:
ii android-sdk-platform-tools-common 23.0.0+4
adb suggests no packages.
-- no debconf information
More information about the Android-tools-devel
mailing list