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


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.)


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