From: Eli Zaretskii <eliz@gnu.org>
To: "Óscar Fuentes" <ofv@wanadoo.es>, "Dmitry Gutov" <dgutov@yandex.ru>
Cc: 22356@debbugs.gnu.org
Subject: bug#22356: 25.0.50; emacs-25 very crashy with ivy-mode
Date: Fri, 15 Jan 2016 17:24:11 +0200 [thread overview]
Message-ID: <83h9ieg92c.fsf@gnu.org> (raw)
In-Reply-To: <87vb6yclb9.fsf@wanadoo.es> (message from Óscar Fuentes on Wed, 13 Jan 2016 02:36:26 +0100)
> From: Óscar Fuentes <ofv@wanadoo.es>
> Date: Wed, 13 Jan 2016 02:36:26 +0100
> Cc: 22356@debbugs.gnu.org
>
> Dmitry Gutov <dgutov@yandex.ru> writes:
>
> >> But it seems to work fine on
> >>
> >> GNU Emacs 25.0.50.1 (i686-w64-mingw32) of 2015-05-13 on CAB8
> >
> > I haven't tried this version exactly, but I can reproduce it in Emacs
> > 24.5 release, too.
>
> On that Windows install I can type C-q C-j on the minibuffer many times
> without problem (on the GNU/Linux Emacs freezes after the second C-q
> C-j). However, Emacs crashes while exiting when the window's decoration
> Close button is clicked.
>
> The many faces of memory corruption.
We weren't assigning space for glyphs of the margins in the
mini-window. Why? because of a single typo (or thinko?) more than 2
years ago! That typo made us think the mini-window has a very large
total width in column units:
emacs -Q
M-: (window-total-width (minibuffer-window)) RET
=> 672
That preposterous value then defeated the logic in the display engine
which decides how many glyphs are needed for displaying stuff in the
margin, when margins are turned on in a window: that logic decided the
correct number was zero. And from there it's a quick path to writing
beyond the allocated memory.
Should be fixed now on the emacs-25 branch. But since the phenomena I
saw on my system are different from what was reported here, please
make sure your problems are also solved, not just mine.
Thanks.
next prev parent reply other threads:[~2016-01-15 15:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 12:59 bug#22356: 25.0.50; emacs-25 very crashy with ivy-mode Dmitry Gutov
[not found] ` <handler.22356.B.145260358930042.ack@debbugs.gnu.org>
2016-01-12 13:04 ` bug#22356: Acknowledgement (25.0.50; emacs-25 very crashy with ivy-mode) Dmitry Gutov
2016-01-12 16:01 ` Eli Zaretskii
2016-01-12 16:11 ` Dmitry Gutov
2016-01-12 18:25 ` Eli Zaretskii
2016-01-12 14:26 ` bug#22356: 25.0.50; emacs-25 very crashy with ivy-mode Dmitry Gutov
2016-01-12 16:05 ` Eli Zaretskii
2016-01-12 16:48 ` Dmitry Gutov
2016-01-12 18:33 ` Eli Zaretskii
2016-01-12 22:27 ` Dmitry Gutov
2016-01-13 0:21 ` Dmitry Gutov
2016-01-13 1:10 ` Óscar Fuentes
2016-01-13 1:15 ` Óscar Fuentes
2016-01-13 1:22 ` Dmitry Gutov
2016-01-13 1:36 ` Óscar Fuentes
2016-01-15 15:23 ` Eli Zaretskii
2016-01-16 9:22 ` martin rudalics
2016-01-16 10:03 ` Eli Zaretskii
2016-01-15 15:24 ` Eli Zaretskii [this message]
2016-01-15 16:06 ` Óscar Fuentes
2016-01-15 16:19 ` Eli Zaretskii
2016-01-15 22:47 ` Dmitry Gutov
2016-01-16 6:48 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83h9ieg92c.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=22356@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=ofv@wanadoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.