Elliott Hughes 61e699a133 Clean up abort.
* A dlmalloc usage error shouldn't call abort(3) because we want to
  cause a SIGSEGV by writing the address dlmalloc didn't like to an
  address the kernel won't like, so that debuggerd will dump the
  memory around the address that upset dlmalloc.

* Switch to the simpler FreeBSD/NetBSD style of registering stdio
  cleanup. Hopefully this will let us simplify more of the stdio
  implementation.

* Clear the stdio cleanup handler before we abort because of a dlmalloc
  corruption error. This fixes the reported bug, where we'd hang inside
  dlmalloc because the stdio cleanup reentered dlmalloc.

Bug: 9301265
Change-Id: Ief31b389455d6876e5a68f0f5429567d37277dbc
2013-06-12 14:14:53 -07:00
..
2013-06-12 14:14:53 -07:00
2011-12-06 08:39:18 -08:00
2013-02-25 13:14:31 -08:00
2013-06-12 14:14:53 -07:00
2013-02-15 12:08:59 -08:00
2013-06-12 14:14:53 -07:00
2009-03-03 19:28:35 -08:00
2012-11-19 11:46:33 -08:00
2013-03-15 16:12:58 -07:00
2011-07-07 22:46:16 +02:00
2012-12-10 11:20:57 -08:00
2013-02-25 13:14:31 -08:00
2012-10-16 17:58:17 -07:00
2012-10-16 17:58:17 -07:00
2013-03-15 16:12:58 -07:00
2010-10-15 02:16:16 +08:00