bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27668: 26.0.50; Crash with display-line-numbers t


From: Robert Pluim
Subject: bug#27668: 26.0.50; Crash with display-line-numbers t
Date: Thu, 13 Jul 2017 20:17:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Robert Pluim <address@hidden>
>> Date: Thu, 13 Jul 2017 18:42:49 +0200
>> 
>> (gdb) break xdisp.c:21010 if it->glyph_row != 0 && it->glyph_row->used[1] > 0
>> Breakpoint 4 at 0x45baaf: file xdisp.c, line 21010.
>> (gdb) run
>> Starting program: /home/rpluim/repos/emacs-master/src/emacs 
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> [New Thread 0x7fffe4de5700 (LWP 19567)]
>> [New Thread 0x7fffdffff700 (LWP 19568)]
>> [New Thread 0x7fffdf5f1700 (LWP 19569)]
>> 
>> Thread 1 "emacs" hit Breakpoint 4, maybe_produce_line_number 
>> (address@hidden) at xdisp.c:21010
>> 21010          short *u = it->glyph_row ? &it->glyph_row->used[TEXT_AREA] : 
>> NULL;
>> 
>> 
>> I was in the process of switching from a non-line-number to a
>> line-number buffer when that hit.
>
> OK, thanks.  What is the value of it->glyph_row->used[TEXT_AREA], and
> what is the backtrace?

(gdb) p  it->glyph_row->used[TEXT_AREA]
$1 = 66

(gdb) bt
#0  terminate_due_to_signal (address@hidden, address@hidden) at emacs.c:363
#1  0x00000000005a5084 in die (address@hidden "pdl->kind == SPECPDL_BACKTRACE", 
address@hidden "eval.c", address@hidden) at alloc.c:7348
#2  0x0000000000419f3b in backtrace_function (pdl=<optimized out>) at eval.c:150
#3  <function called from gdb>
#4  maybe_produce_line_number (address@hidden) at xdisp.c:21010
#5  0x0000000000465365 in display_line (address@hidden, address@hidden) at 
xdisp.c:21225
#6  0x00000000004672bd in try_window (window=..., address@hidden(0x146d7d5), 
pos=..., address@hidden) at xdisp.c:17544
#7  0x000000000047f9ab in redisplay_window (window=XIL(0x146d7d5), 
address@hidden) at xdisp.c:16991
#8  0x00000000004831fb in redisplay_window_0 (window=..., 
address@hidden(0x146d7d5)) at xdisp.c:14751
#9  0x00000000005c7cf4 in internal_condition_case_1 (address@hidden 
<redisplay_window_0>, arg=..., handlers=..., address@hidden 
<redisplay_window_error>) at eval.c:1350
#10 0x000000000043d160 in redisplay_windows (window=...) at xdisp.c:14731
#11 0x000000000043d129 in redisplay_windows (window=...) at xdisp.c:14725
#12 0x000000000046c945 in redisplay_internal () at xdisp.c:14220
#13 0x000000000046eed5 in redisplay () at xdisp.c:13440
#14 0x0000000000545cfb in read_char (address@hidden, map=..., 
address@hidden(0x35b6253), prev_event=..., address@hidden, address@hidden) at 
keyboard.c:2484
#15 0x0000000000548ddb in read_key_sequence (address@hidden, prompt=..., 
address@hidden(0), address@hidden, address@hidden, 
    address@hidden, address@hidden, bufsize=30) at keyboard.c:9151
#16 0x000000000054b096 in command_loop_1 () at keyboard.c:1372
#17 0x00000000005c7c27 in internal_condition_case (address@hidden 
<command_loop_1>, handlers=..., address@hidden(0x4fb0), address@hidden 
<cmd_error>) at eval.c:1326
#18 0x00000000005380dc in command_loop_2 (ignore=..., address@hidden(0)) at 
keyboard.c:1114
#19 0x00000000005c7b6c in internal_catch (tag=..., address@hidden(0xc1e0), 
address@hidden <command_loop_2>, arg=..., address@hidden(0)) at eval.c:1091
#20 0x0000000000538099 in command_loop () at keyboard.c:1093
#21 0x000000000053e296 in recursive_edit_1 () at keyboard.c:699
#22 0x000000000053e613 in Frecursive_edit () at keyboard.c:770
#23 0x000000000041ad4b in main (argc=<optimized out>, argv=0x7fffffffdb58) at 
emacs.c:1706







reply via email to

[Prev in Thread] Current Thread [Next in Thread]