[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15405: 24.3; #[] freezes emacs
From: |
Stefan Monnier |
Subject: |
bug#15405: 24.3; #[] freezes emacs |
Date: |
Wed, 25 Sep 2013 13:10:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Without any special casing of zero vectors, the allocator calls
> SETUP_ON_FREE_LIST for a zero vector and sets v->u.next. But for a
> zero vector the allocator only allows enough memory for the header, so
> setting the next pointer corrupts other memory.
Yes, that's why we have special cased the zero-length vectors.
How many different zero vectors do we need? We at least need 2 (the []
and the #[]), but do we need others? If not, let's try and change the
code so that we can have those two pre-allocated and use the right one
at the right place.
Stefan
- bug#15405: 24.3; #[] freezes emacs, (continued)
- bug#15405: 24.3; #[] freezes emacs, Dmitry Antipov, 2013/09/20
- bug#15405: 24.3; #[] freezes emacs, Dmitry Antipov, 2013/09/20
- bug#15405: 24.3; #[] freezes emacs, Stefan Monnier, 2013/09/20
- bug#15405: 24.3; #[] freezes emacs, Barry OReilly, 2013/09/25
- bug#15405: 24.3; #[] freezes emacs, Dmitry Antipov, 2013/09/25
- bug#15405: 24.3; #[] freezes emacs, Stefan Monnier, 2013/09/25
- bug#15405: 24.3; #[] freezes emacs, Barry OReilly, 2013/09/25
- bug#15405: 24.3; #[] freezes emacs, Dmitry Antipov, 2013/09/25
- bug#15405: 24.3; #[] freezes emacs, Stefan Monnier, 2013/09/25
- bug#15405: 24.3; #[] freezes emacs, Barry OReilly, 2013/09/25
- bug#15405: 24.3; #[] freezes emacs,
Stefan Monnier <=
- bug#15405: 24.3; #[] freezes emacs, Barry OReilly, 2013/09/18
- bug#15405: 24.3; #[] freezes emacs, Stephen Berman, 2013/09/18