Public bug reported: I do `adb devices` and this is what I see:
$ adb devices 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: 9908 --- adb starting (pid 9908) --- adb I 01-04 15:22:58 9908 9908 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:22:58 9908 9908 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:22:58 9908 9908 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:22:58 9908 9908 main.cpp:57] adb I 01-04 15:22:58 9908 9908 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:22:58 9908 9908 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer * failed to start daemon error: cannot connect to daemon the log contents: $ cat /tmp/adb.1000.log --- adb starting (pid 6097) --- adb I 6097 6097 main.cpp:79] Android Debug Bridge version 1.0.36 adb I 6097 6097 main.cpp:79] Revision 0e9850346394-android adb I 6097 6097 main.cpp:79] adb server killed by remote request --- adb starting (pid 8076) --- adb I 01-04 15:18:22 8076 8076 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:18:22 8076 8076 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:18:22 8076 8076 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:18:22 8076 8076 main.cpp:57] adb I 01-04 15:18:22 8076 8076 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:18:22 8076 8076 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer --- adb starting (pid 8112) --- adb I 8112 8112 main.cpp:79] Android Debug Bridge version 1.0.36 adb I 8112 8112 main.cpp:79] Revision 0e9850346394-android adb I 8112 8112 main.cpp:79] adb server killed by remote request --- adb starting (pid 8762) --- adb I 01-04 15:18:41 8762 8762 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:18:41 8762 8762 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:18:41 8762 8762 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:18:41 8762 8762 main.cpp:57] adb I 01-04 15:18:41 8762 8762 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:18:41 8762 8762 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer --- adb starting (pid 9183) --- adb I 01-04 15:19:23 9183 9183 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:19:23 9183 9183 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:19:23 9183 9183 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:19:23 9183 9183 main.cpp:57] adb I 01-04 15:19:23 9183 9183 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:19:23 9183 9183 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer --- adb starting (pid 9222) --- adb I 01-04 15:19:49 9222 9222 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:19:49 9222 9222 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:19:49 9222 9222 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:19:49 9222 9222 main.cpp:57] adb I 01-04 15:19:49 9222 9222 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:19:49 9222 9222 adb_auth_host.cpp:262] User key '/home/asif/.android/adbkey' does not exist... adb I 01-04 15:19:49 9222 9222 adb_auth_host.cpp:109] generate_key(/home/asif/.android/adbkey)... adb I 01-04 15:19:49 9222 9222 adb_auth_host.cpp:77] write_public_keyfile... adb I 01-04 15:19:49 9222 9222 adb_auth_host.cpp:56] get_user_info... adb I 01-04 15:19:49 9222 9222 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer --- adb starting (pid 9230) --- adb I 01-04 15:19:54 9230 9230 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:19:54 9230 9230 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:19:54 9230 9230 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:19:54 9230 9230 main.cpp:57] adb I 01-04 15:19:54 9230 9230 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:19:54 9230 9230 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer --- adb starting (pid 9385) --- adb I 01-04 15:20:54 9385 9385 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:20:54 9385 9385 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:20:54 9385 9385 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:20:54 9385 9385 main.cpp:57] adb I 01-04 15:20:54 9385 9385 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:20:54 9385 9385 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer --- adb starting (pid 9875) --- adb I 01-04 15:22:51 9875 9875 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:22:51 9875 9875 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:22:51 9875 9875 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:22:51 9875 9875 main.cpp:57] adb I 01-04 15:22:51 9875 9875 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:22:51 9875 9875 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer --- adb starting (pid 9908) --- adb I 01-04 15:22:58 9908 9908 main.cpp:57] Android Debug Bridge version 1.0.39 adb I 01-04 15:22:58 9908 9908 main.cpp:57] Version 1:8.1.0+r23-8 adb I 01-04 15:22:58 9908 9908 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb adb I 01-04 15:22:58 9908 9908 main.cpp:57] adb I 01-04 15:22:58 9908 9908 adb_auth_host.cpp:416] adb_auth_init... adb I 01-04 15:22:58 9908 9908 adb_auth_host.cpp:174] read_key_file '/home/asif/.android/adbkey'... munmap_chunk(): invalid pointer ProblemType: Bug DistroRelease: Ubuntu 21.04 Package: adb 1:8.1.0+r23-8 ProcVersionSignature: Ubuntu 5.8.0-34.37-generic 5.8.18 Uname: Linux 5.8.0-34-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia ApportVersion: 2.20.11-0ubuntu55 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: GNOME Date: Mon Jan 4 15:21:08 2021 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: android-platform-system-core UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: android-platform-system-core (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug hirsute -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1910149 Title: adb devices crashes with munmap_chunk(): invalid pointer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/android-platform-system-core/+bug/1910149/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs