This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Avoid deadlock in malloc on backtrace


On Thu, Feb 26, 2015 at 11:33:49PM -0800, Paul Eggert wrote:
> Siddhesh Poyarekar wrote:
> >A new function backtrace_init() could help break this deadlock.
> 
> Or we could document the current behavior, which is that backtrace (0, 0)
> initializes the backtrace module and avoids the problem.  This is pretty
> much what bleeding-edge Emacs does now.  (Unfortunately this does not work
> on sparc or microblaze but those would presumably be considered bugs.)

Oh great, that is even better since it doesn't need an ABI event.

Siddhesh

Attachment: pgplS1LImub5E.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]