Remove error message for now.
This causes ART tests to fail.
Bug: 21873627
Change-Id: I36ddf03de04481f4561d2191d8589b2404a02d7f
diff --git a/include/jemalloc/internal/arena.h b/include/jemalloc/internal/arena.h
index c846103..45b84d3 100644
--- a/include/jemalloc/internal/arena.h
+++ b/include/jemalloc/internal/arena.h
@@ -1165,7 +1165,9 @@
#if defined(__ANDROID__)
/* Verify the ptr is actually in the chunk. */
if (unlikely(pageind < map_bias || pageind >= chunk_npages)) {
- __libc_fatal_no_abort("Invalid address %p passed to free: invalid page index", ptr);
+ /* Temporary simply return in this case to avoid
+ * crashes. See b/21873627 for more details.
+ */
return;
}
#endif