No description
Find a file
Todd Poynor 2862a7843d metricsd binder: Abort if fail to register service
Assert abort metricsd if binder service registration fails.

If the addService() call fails (for reasons that at least include an SELinux
policy denial), the call to joinThreadPool() apparently processes a stale
pending weak dereference that triggers an abort on a probable double-free:

 F libc    : Invalid address 0xbe8bfa30 passed to free: value not allocated
 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 609 (metricsd)

Since metricsd is severely hobbled if registration fails, abort and see if
things work better the next time.  If not, the crash loop will hopefully
attract attention to the problem.

Change-Id: I520d0eafb9cb25ee225d589bfd87df4e51f6b181
2015-12-09 13:32:37 -08:00
adb Merge "adb: add help text for USB permission errors." 2015-12-08 16:12:22 +00:00
adf Adf: Remove unused variable 2015-07-27 22:08:16 -07:00
base Rename base/ to android-base/. 2015-12-07 14:31:53 -08:00
cpio fs_config: replace getenv('OUT') by new fs_config parameter 2015-07-09 21:47:07 -07:00
crash_reporter crash_reporter: Fix unit tests 2015-12-07 14:21:00 -08:00
debuggerd Merge "Switch from using sockaddr to sockaddr_storage." 2015-12-08 01:41:38 +00:00
fastboot Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
fingerprintd Fingerprint: Add HAL close() code 2015-07-10 16:26:32 -07:00
fs_mgr Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
gatekeeperd Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
healthd Merge "healthd: Support new PD and USB Type C types" 2015-11-13 17:39:54 +00:00
include liblog: Add __android_log_security() 2015-12-08 11:28:27 -08:00
init init: set ro.boot.flash.locked from ro.boot.verifiedbootstate 2015-12-09 10:09:11 +00:00
libbacktrace libbacktrace: check if elf file paths are valid before reading them. 2015-12-08 19:22:29 -08:00
libbinderwrapper libbinderwrapper: Add GetCallingUid() and GetCallingPid(). 2015-10-16 09:04:33 -06:00
libcutils Listen on dualstack sockets. 2015-12-07 16:09:39 +09:00
libdiskconfig am eb075e28: am c8179498: am 2f62edf7: Merge "libdiskconfig: Turn on -Werror" 2014-05-21 21:19:27 +00:00
libion am 8d2cd035: am 2ddb9cb1: am ed43be39: Merge "Remove LOCAL_ADDITIONAL_DEPENDENCIES in cases where it\'s not needed." 2015-04-02 22:07:16 +00:00
liblog liblog: Build Problem, BOOLEAN 2015-12-08 15:24:44 -08:00
libmemtrack Remove a hack for getting libpagerank's headers. 2015-09-22 22:35:30 -07:00
libmincrypt Enable clang compilation. 2015-05-14 10:53:48 -07:00
libnativebridge Use __ANDROID__ instead of HAVE_ANDROID_OS. 2015-07-30 09:33:43 -07:00
libnativeloader Track rename of base/ to android-base/. 2015-12-08 10:38:59 -08:00
libnetutils am fb1ecbc5: am e6e71608: Merge "Use __ANDROID__ instead of HAVE_ANDROID_OS." 2015-07-30 16:50:15 +00:00
libpackagelistparser packagelistparser: rename to libpackagelistparser 2015-11-05 12:12:38 -08:00
libpixelflinger Add explicit cast to shut off clang warnings. 2015-11-23 09:07:16 -08:00
libprocessgroup processgroup: change the polling interval for killProcessGroup() 2015-06-16 13:59:32 -07:00
libsparse Fix parameter to lseek 2015-10-20 14:15:31 -07:00
libsuspend Adds a parameter to the wakeup_callback to report sucessful wakeup or suspend aborts. 2015-06-25 13:15:22 -07:00
libsync Fix isValid() condition for libsync tests 2015-11-05 10:07:53 -08:00
libsysutils Switch from using sockaddr to sockaddr_storage. 2015-12-07 16:07:46 +09:00
libusbhost libusbhost: Fix problem reading USB string descriptors on some quirky devices 2015-06-18 13:38:31 -07:00
libutils libutils: fix cache removal when callback invalidates the key 2015-11-20 14:54:51 +00:00
libziparchive Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
lmkd Switch from using sockaddr to sockaddr_storage. 2015-12-07 16:07:46 +09:00
logcat logcat: Add --wrap timeout 2015-12-07 14:24:02 -08:00
logd logd: test wakeup on wrap timeout 2015-12-07 14:24:02 -08:00
logwrapper am eaf04aa0: am 3b94cef1: Merge "Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h" 2015-08-22 02:40:51 +00:00
metricsd metricsd binder: Abort if fail to register service 2015-12-09 13:32:37 -08:00
mkbootimg mkbootimg: misc typo fixes 2015-06-04 09:59:01 -07:00
reboot reboot: Turn on -Werror 2014-05-21 12:58:38 -07:00
rootdir Merge "rootdir: Execute update_verifier for A/B update." 2015-12-09 19:50:31 +00:00
run-as Fix the run-as environment to better match su. 2015-11-03 14:31:46 -08:00
sdcard sdcard: use libpackageparser 2015-10-22 22:52:35 +00:00
toolbox Improve top(1) compatibility and interactive usefulness. 2015-11-13 08:30:12 -08:00
trusty/libtrusty Merge "Revert "[core][trusty] add gatekeeper module"" 2015-09-16 22:54:14 +00:00
tzdatacheck Track rename of base/ to android-base/. 2015-12-04 22:00:26 -08:00
.gitignore Ignore adb/*.pyc files 2015-08-11 12:59:58 -07:00
Android.mk Remove the simulator target from all makefiles. 2011-07-11 22:12:32 -07:00
CleanSpec.mk Add a CleanSpec for grep/toolbox. 2015-03-22 18:04:54 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2013-07-30 13:56:49 -07:00
NOTICE Fix omission in NOTICE file. 2013-07-30 13:56:55 -07:00