Your message dated Mon, 12 Oct 2020 15:03:59 +0000
with message-id <[email protected]>
and subject line Bug#933865: fixed in android-platform-external-boringssl 
8.1.0+r23-3
has caused the Debian Bug report #933865,
regarding adb crashes on startup with SIGBUS (armhf)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
933865: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933865
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: adb
Version: 1:8.1.0+r23-5
Severity: grave
Justification: renders package unusable

Dear Maintainer,

the problem appears to be a regression between 9 (Stretch) and 10 (Buster) as 
adb worked fine under Stretch and doesn't work anymore under Buster.

When I try to start 'adb' using 'adb devices -l' I get

--- snip ---
user@box:~> adb devices -l
List of devices attached
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 16703
--- adb starting (pid 16703) ---
adb I 08-04 11:37:16 16703 16703 main.cpp:57] Android Debug Bridge version 
1.0.39
adb I 08-04 11:37:16 16703 16703 main.cpp:57] Version 1:8.1.0+r23-5
adb I 08-04 11:37:16 16703 16703 main.cpp:57] Installed as 
/usr/lib/android-sdk/platform-tools/adb
adb I 08-04 11:37:16 16703 16703 main.cpp:57] 
adb I 08-04 11:37:16 16703 16703 adb_auth_host.cpp:416] adb_auth_init...
adb I 08-04 11:37:16 16703 16703 adb_auth_host.cpp:174] read_key_file 
'/home/till/.android/adbkey'...
adb I 08-04 11:37:16 16703 16703 adb_auth_host.cpp:391] adb_auth_inotify_init...
adb I 08-04 11:37:16 16703 16703 adb_auth_host.cpp:467] Calling 
send_auth_response

* failed to start daemon
error: cannot connect to daemon
--- snap ---


Note: /tmp/adb.1000.log shows exactly what's on stdout/stderr (seen above).


The problem appears to be that adb gets killed by SIGBUS:

--- snip ---
user@box:~> strace -ffff -o adb adb devices -l
[...]
* failed to start daemon
error: cannot connect to daemon


user@box:~> grep killed adb.167*
adb.16702:--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=16703, 
si_uid=1000, si_status=SIGBUS, si_utime=2, si_stime=8} ---
adb.16703:+++ killed by SIGBUS +++
adb.16705:+++ killed by SIGBUS +++
adb.16706:+++ killed by SIGBUS +++
adb.16713:+++ killed by SIGBUS +++
adb.16715:+++ killed by SIGBUS +++
adb.16716:+++ killed by SIGBUS +++


user@box:~> cat adb.16703
set_robust_list(0xb6b25540, 12)         = 0
close(3)                                = 0
execve("/usr/lib/android-sdk/platform-tools/adb", ["adb", "-L", "tcp:5037", 
"fork-server", "server", "--reply-fd", "4"], 0xbecde0d4 /* 30 vars */) = 0
brk(NULL)                               = 0xde9000
[...]
bind(6, {sa_family=AF_INET, sin_port=htons(5037), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
listen(6, 4)                            = 0
[...]
futex(0xb6bd9860, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\xd6\x33\x59\xbc\xf7\x11\x33\x14\x38\x2d\x14\x48\x24\x14\xfb\xe0\x17\x40\xfd\x73\x07\x9a\xec\x6e\x89\x28\x25\xb6\x3e\x41\x04\x94",
 32, 0) = 32
futex(0xb6bd9bec, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\xd2\x6f\x66\x87\x1c\x98\x22\x65\xd0\x70\x74\x8d\x8e\xd6\xe6\xa8\x83\xce\xc5\x63\x09\x25\x63\xe4\xbf\x97\x95\xfe\x6c\x3a\x9b\x89"...,
 48, 0) = 48
--- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRALN, si_addr=0xb6b9dba1} ---
+++ killed by SIGBUS +++
--- snap ---


Forcibly installing these packages gives me a working adb:

  adb_7.0.0+r33-1_armhf.deb
  android-libadb_7.0.0+r33-1_armhf.deb
  android-libbase_7.0.0+r33-1_armhf.deb
  android-libcutils_7.0.0+r33-1_armhf.deb


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 4.19.0-5-armmp-lpae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages adb depends on:
ii  android-libadb   1:8.1.0+r23-5
ii  android-libbase  1:8.1.0+r23-5
ii  libc6            2.28-10
ii  libgcc1          1:8.3.0-6
ii  libstdc++6       8.3.0-6

Versions of packages adb recommends:
ii  android-sdk-platform-tools-common  27.0.0+10

adb suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: android-platform-external-boringssl
Source-Version: 8.1.0+r23-3
Done: Hans-Christoph Steiner <[email protected]>

We believe that the bug you reported is fixed in the latest version of
android-platform-external-boringssl, which is due to be installed in the Debian 
FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hans-Christoph Steiner <[email protected]> (supplier of updated 
android-platform-external-boringssl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 08 Oct 2020 19:35:08 +0200
Source: android-platform-external-boringssl
Architecture: source
Version: 8.1.0+r23-3
Distribution: unstable
Urgency: medium
Maintainer: Android Tools Maintainers 
<[email protected]>
Changed-By: Hans-Christoph Steiner <[email protected]>
Closes: 933865
Changes:
 android-platform-external-boringssl (8.1.0+r23-3) unstable; urgency=medium
 .
   [ Kai-Chung Yan (殷啟聰) ]
   * d/copyright: Refer to the Apache-2.0 in the commons-licenses
 .
   [ Roger Shimizu ]
   * d/watch: Update rule to get new upstream version
 .
   [ Hans-Christoph Steiner ]
   * fix adb crashes on startup on armhf (Closes: #933865)
Checksums-Sha1:
 636ec21b26e34ed39b6228933ec819618a5a9050 2097 
android-platform-external-boringssl_8.1.0+r23-3.dsc
 0d93ffd5454a6d2270435a3c94d788ecdc991fae 8488 
android-platform-external-boringssl_8.1.0+r23-3.debian.tar.xz
 d08cb932fe2813aab5fa23db7f510e69e605ec85 5256 
android-platform-external-boringssl_8.1.0+r23-3_source.buildinfo
Checksums-Sha256:
 4d53419d2e392eab0a7fe9774326da822c7dfe723b6239008737a886f93897ed 2097 
android-platform-external-boringssl_8.1.0+r23-3.dsc
 ff5d57d6d8286b5b20265eefd7faf56c7b025fcbaaf7fda9ea6e3f6ee0cfbacb 8488 
android-platform-external-boringssl_8.1.0+r23-3.debian.tar.xz
 6e4c146ab50b363b92aeaf67c39c91c1c7862c35de8844ebd260e750779cc6f3 5256 
android-platform-external-boringssl_8.1.0+r23-3_source.buildinfo
Files:
 cb5e15ba185ca2efc56e64f998f08762 2097 libs optional 
android-platform-external-boringssl_8.1.0+r23-3.dsc
 f11089dd281bbe273d1aa8bc5fb67bcb 8488 libs optional 
android-platform-external-boringssl_8.1.0+r23-3.debian.tar.xz
 ebfd4d0f9b3d9b9f22f177b6b564b443 5256 libs optional 
android-platform-external-boringssl_8.1.0+r23-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEElyI52+aGmfUmwGoFPhd4F7obm/oFAl9/TkMACgkQPhd4F7ob
m/qpFAf+N0zT8bGDImiR3Kpf0YDE11GjErehw3Pg2YtZBQPxKe82Ndi/jYphp8L0
9rKoJlXVx5e8ti5115DJ9Ji4Xulz7sD8iXOuiVF/8WOE70jJpAeZs37bLuoaCFwq
xC2u9DhmBNH0qmRq0RjQOBaaxP9dYyuCnPgpKKsO1XMQ902wvdHu5zwCnOU9ILgg
p6C76i4BeWg6tdT7zhF0zgESd0VK6Ews6Ikx5A4nl0OKjtc/tJ7BTi8XlDv5AHJE
tau+pSAVIEua+XDcC//HDyycGd36ADkYqm9+WwrY+XnmyNuF0EUbnAY3wJwqOovL
/IY3mnkfb2KukOnWFIsJw1vOqArnzg==
=a+l3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to