Index: lib/hwasan/hwasan.cc =================================================================== --- lib/hwasan/hwasan.cc +++ lib/hwasan/hwasan.cc @@ -198,6 +198,9 @@ __hwasan_shadow_init(); MadviseShadow(); + // This may call libc -> needs initialized shadow. + AndroidLogInit(); + InitializeInterceptors(); InstallDeadlySignalHandlers(HwasanOnDeadlySignal); InstallAtExitHandler(); // Needs __cxa_atexit interceptor.