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

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

bug#39962: 27.0.90; Crash in Emacs 27.0.90


From: Pieter van Oostrum
Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90
Date: Tue, 10 Mar 2020 17:36:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin)

Pip Cet <pipcet@gmail.com> writes:

> On Tue, Mar 10, 2020 at 10:53 AM Pieter van Oostrum
> <pieter-l@vanoostrum.org> wrote:
>> I think we got stuck here. I don't think the problem is in the actual
>> code that Emacs was executing at this point. Rather, the problem was
>> that a marker was corrupted (m->charpos == 0).
>
> Inspecting the rest of the marker structure, in particular the header,
> might let us know whether, as I suspect, the marker was wrongly freed
> and re-allocated.
>
> What does "x/32gx marker" produce?

#2  0x0000000100233af4 in adjust_markers_for_insert (from=36399, 
    from_byte=36399, to=36401, to_byte=36401, before_markers=false)
    at insdel.c:294
294           eassert (m->bytepos >= m->charpos
(gdb) x/32gx m
0x1609db830:    0x4000000003005000      0x000000015b29a4b0
0x1609db840:    0x00000001609dba44      0x00000001609db800
0x1609db850:    0x0000000000000000      0x0000000000002d12
0x1609db860:    0x4000000003005000      0x000000015b29a4b0
0x1609db870:    0x0000000000000000      0x00000001609db830
0x1609db880:    0x0000000000002d6f      0x0000000000002d6f
0x1609db890:    0x4000000004001003      0x00000001609db835
0x1609db8a0:    0x00000001609db865      0x00000001054d2723
0x1609db8b0:    0x00000001609db7a0      0x0000000000000000
0x1609db8c0:    0x4000000003005000      0x000000015b29a4b0
0x1609db8d0:    0x0000000000000010      0x00000001609db860
0x1609db8e0:    0x0000000000002d12      0x0000000000002d12
0x1609db8f0:    0x4000000003005000      0x000000015b29a4b0
0x1609db900:    0x0000000000000008      0x00000001609db8c0
0x1609db910:    0x0000000000002d6f      0x0000000000002d6f
0x1609db920:    0x4000000003005000      0x000000015b29a4b0
(gdb) p m->charpos
$186 = 0
(gdb) 

-- 
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]





reply via email to

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