[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110349: * profiler.c (handle_pro
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110349: * profiler.c (handle_profiler_signal): Fix a malloc race |
Date: |
Tue, 02 Oct 2012 21:52:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> + /* record_backtrace uses hash functions that call Fequal, which
> + uses QUIT, which can call malloc, which can cause disaster in
> + a signal handler. So inhibit QUIT. */
Oh, yuck! Good point!
Then we probably also want to hide pending_signals.
Stefan
- Re: [Emacs-diffs] /srv/bzr/emacs/trunk r110349: * profiler.c (handle_profiler_signal): Fix a malloc race,
Stefan Monnier <=