GNU bug report logs - #23189
Emacs hangs in GC mark phase after making an edit to a markdown document (OS X 10.11) [25.1.50.1]

Previous Next

Package: emacs;

Reported by: Tom Jakubowski <tom <at> crystae.net>

Date: Sat, 2 Apr 2016 19:25:03 UTC

Severity: normal

Tags: moreinfo

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23189 in the body.
You can then email your comments to 23189 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23189; Package emacs. (Sat, 02 Apr 2016 19:25:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tom Jakubowski <tom <at> crystae.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 02 Apr 2016 19:25:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tom Jakubowski <tom <at> crystae.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs hangs in GC mark phase after making an edit to a markdown
 document (OS X 10.11) [25.1.50.1]
Date: Sat, 02 Apr 2016 01:25:55 +0000
[Message part 1 (text/plain, inline)]
Hello,

I'm using GNU Emacs 25.1.50.1 on Mac OS X 10.11. I've been able to
reproduce this hang a couple times, the gist of it is:

1. Open a specific markdown document (using markdown-mode, from MELPA).
2. Make a specific change to this document (deleting one line)
3. Emacs hangs

I attached lldb (sorry Richard :-)) to it and discovered a stack trace 4000
frames deep, almost all of which were in functions named things like
"mark_vector" and "mark_object". I've attached the stack trace to this
email. A few choice lines:

  * frame #0: 0x00000001000fd88a Emacs`mark_object + 758
    frame #1: 0x00000001000fd6fc Emacs`mark_object + 360
    frame #2: 0x00000001000fd6fc Emacs`mark_object + 360
    frame #3: 0x00000001000fd83a Emacs`mark_object + 678
    frame #4: 0x00000001000fdc0c Emacs`mark_vectorlike + 65
    frame #5: 0x00000001000fd7f4 Emacs`mark_object + 608
    frame #6: 0x00000001000fd6fc Emacs`mark_object + 360
    frame #7: 0x00000001000fd7fd Emacs`mark_object + 617
    frame #8: 0x00000001000fd6fc Emacs`mark_object + 360
    frame #9: 0x00000001000fd7fd Emacs`mark_object + 617
    frame #10: 0x00000001000fdc0c Emacs`mark_vectorlike + 65
    frame #11: 0x00000001000fd83a Emacs`mark_object + 678
    frame #12: 0x00000001000fd83a Emacs`mark_object + 678
    frame #13: 0x00000001000fdc0c Emacs`mark_vectorlike + 65

    frame #4581: 0x00000001000fdc0c Emacs`mark_vectorlike + 65
    frame #4582: 0x00000001000fdb17 Emacs`mark_buffer + 25
    frame #4583: 0x00000001000fc8aa Emacs`Fgarbage_collect + 545
    frame #4584: 0x0000000100115967 Emacs`Ffuncall + 293
    frame #4585: 0x00000001001473f9 Emacs`exec_byte_code + 2039
    frame #4586: 0x0000000100115a7a Emacs`Ffuncall + 568
    frame #4587: 0x0000000100115fce Emacs`call1 + 45
    frame #4588: 0x000000010011c95a Emacs`mapcar1 + 503
    frame #4589: 0x000000010011cad0 Emacs`Fmapcar + 255

    frame #4620: 0x0000000100115a7a Emacs`Ffuncall + 568
    frame #4621: 0x000000010011489d Emacs`internal_condition_case_n + 90
    frame #4622: 0x0000000100021898 Emacs`safe__call + 355
    frame #4623: 0x0000000100021720 Emacs`safe_call + 160
    frame #4624: 0x000000010003fed9 Emacs`handle_fontified_prop + 416
    frame #4625: 0x000000010003f3cf Emacs`handle_stop + 120
    frame #4626: 0x00000001000422f2 Emacs`next_element_from_buffer + 740
    frame #4627: 0x000000010001c52d Emacs`get_next_display_element + 49
    frame #4628: 0x000000010001dc63 Emacs`move_it_in_display_line_to + 810
    frame #4629: 0x000000010001c197 Emacs`move_it_to + 860
    frame #4630: 0x000000010001a0d5 Emacs`move_it_by_lines + 83
    frame #4631: 0x0000000100019fd7 Emacs`line_bottom_y + 91

Unfortunately, I'm probably not allowed to attach the markdown document to
this email. I'm perfectly happy to enable any kind of diagnostics which may
help in debugging this and attach them to this bug. I'll also install a
newer pretest version and see if I can reproduce the bug there.

Thanks,

Tom Jakubowski
[Message part 2 (text/html, inline)]
[backtrace.txt (text/plain, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23189; Package emacs. (Tue, 31 May 2016 19:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 23189 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Tom Jakubowski <tom <at> crystae.net>
Cc: 23189 <at> debbugs.gnu.org
Subject: Re: bug#23189: Emacs hangs in GC mark phase after making an edit to a
 markdown document (OS X 10.11) [25.1.50.1]
Date: Tue, 31 May 2016 20:58:18 +0100
Tom Jakubowski <tom <at> crystae.net> writes:

> Hello,
>
> I'm using GNU Emacs 25.1.50.1 on Mac OS X 10.11. I've been able to reproduce this hang a couple times, the gist of it is:
>
> 1. Open a specific markdown document (using markdown-mode, from MELPA). 
> 2. Make a specific change to this document (deleting one line)
> 3. Emacs hangs
>
> I attached lldb (sorry Richard :-)) to it and discovered a stack trace 4000 frames deep, almost all of which were in functions named things like "mark_vector" and "mark_object". I've attached the stack trace to this email. A few choice lines:

Hi, is there any chance you'd be able to build from Emacs master and try
it? There was a recent change to stack handling that may be relevant.

-- 
Alan Third




Added tag(s) moreinfo. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 12 Aug 2020 02:50:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23189; Package emacs. (Wed, 12 Aug 2020 02:53:02 GMT) Full text and rfc822 format available.

Message #13 received at 23189 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Alan Third <alan <at> idiocy.org>
Cc: 23189 <at> debbugs.gnu.org, Tom Jakubowski <tom <at> crystae.net>
Subject: Re: bug#23189: Emacs hangs in GC mark phase after making an edit to a
 markdown document (OS X 10.11) [25.1.50.1]
Date: Tue, 11 Aug 2020 19:52:07 -0700
Alan Third <alan <at> idiocy.org> writes:

> Tom Jakubowski <tom <at> crystae.net> writes:
>
>> Hello,
>>
>> I'm using GNU Emacs 25.1.50.1 on Mac OS X 10.11. I've been able to reproduce this hang a couple times, the gist of it is:
>>
>> 1. Open a specific markdown document (using markdown-mode, from MELPA).
>> 2. Make a specific change to this document (deleting one line)
>> 3. Emacs hangs
>>
>> I attached lldb (sorry Richard :-)) to it and discovered a stack trace 4000
>> frames deep, almost all of which were in functions named things like
>> "mark_vector" and "mark_object". I've attached the stack trace to this
>> email. A few choice lines:
>
> Hi, is there any chance you'd be able to build from Emacs master and try
> it? There was a recent change to stack handling that may be relevant.

That was 4 years ago.

Are you still seeing this on a recent version of Emacs?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23189; Package emacs. (Wed, 12 Aug 2020 06:44:02 GMT) Full text and rfc822 format available.

Message #16 received at 23189 <at> debbugs.gnu.org (full text, mbox):

From: Tom Jakubowski <tom <at> crystae.net>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 23189 <at> debbugs.gnu.org, Alan Third <alan <at> idiocy.org>
Subject: Re: bug#23189: Emacs hangs in GC mark phase after making an edit to a
 markdown document (OS X 10.11) [25.1.50.1]
Date: Tue, 11 Aug 2020 23:43:35 -0700
[Message part 1 (text/plain, inline)]
>
> That was 4 years ago.
>
> Are you still seeing this on a recent version of Emacs?
>
> Best regards,
> Stefan Kangas
>

Hello,

Nope, I don't recall this occurring again in the last 4 years.

Best,
Tom
[Message part 2 (text/html, inline)]

Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 12 Aug 2020 12:50:02 GMT) Full text and rfc822 format available.

Notification sent to Tom Jakubowski <tom <at> crystae.net>:
bug acknowledged by developer. (Wed, 12 Aug 2020 12:50:02 GMT) Full text and rfc822 format available.

Message #21 received at 23189-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Tom Jakubowski <tom <at> crystae.net>
Cc: 23189-done <at> debbugs.gnu.org, Alan Third <alan <at> idiocy.org>
Subject: Re: bug#23189: Emacs hangs in GC mark phase after making an edit to a
 markdown document (OS X 10.11) [25.1.50.1]
Date: Wed, 12 Aug 2020 05:49:10 -0700
Tom Jakubowski <tom <at> crystae.net> writes:

>> Are you still seeing this on a recent version of Emacs?
>
> Nope, I don't recall this occurring again in the last 4 years.

Thanks for reporting back.  I'm closing the bug now then.

Best regards,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Sep 2020 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.