|Subject:||bug#15575: 24.3.50; New tty menus crash Emacs|
|Date:||Thu, 10 Oct 2013 19:35:30 +0200|
10 okt 2013 kl. 18:15 skrev Eli Zaretskii <address@hidden>:
From: Jan Djärv <address@hidden>
If you mean the line marked below:
It is the same place in the code, but not the same line in the file.
then please tell what is the value of 'area' and of 'i' at the point
On Fedora 19:
(gdb) p area
$1 = 1
(gdb) p i
$2 = 0
Btw, did you compile with --enable-checking, i.e. were the 3 eassert
No, I did not. I usually don't because the checkings more often than not trip on something that really isn't a bug. I've never caught a real error with it.
This one triggers:
#3 0x0000000000449d2b in deep_copy_glyph_row (from=<optimized out>,
to=0xce9e40) at /home/jhd/src/emacs/current/src/xdisp.c:20597
20597 eassert (to->used == from->used);
(gdb) p to->used
$1 = -15072
There is some memory corruption. If I press F11 twice and then F10, the crash does not happen. The menu appears but there are major redrawing problems, for example, going down in the menu does not work, it just scrolls the buffer instead until the menu disappears over the top, the buffer is not redrawn correctly when the menu goes away, nor is the menu bar. I did not test it much.
Could be another symptom of the memory corruption.
|[Prev in Thread]||Current Thread||[Next in Thread]|