unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Valtteri Vuorikoski <vuori@notcom.org>
To: eliz@gnu.org
Cc: 40225@debbugs.gnu.org
Subject: bug#40225: 27.0.90; abort with apparent stack explosion in lsp-mode
Date: Wed, 25 Mar 2020 18:25:41 +0200	[thread overview]
Message-ID: <09bd568c-7f9a-e4c2-c105-4239b6d38b9b@notcom.org> (raw)
In-Reply-To: <83mu849zjc.fsf@gnu.org>

Unfortunately there is nothing printed when emacs dies, which is weird 
in itself. zsh just shows that the background process exited with "abort".

I'll make a non-optimized build and see if I can catch a better 
backtrace tomorrow.

("Stack overflow" was a misnomer in the original report, I meant that 
the process may be hitting a stack size limit. "ulimit -a" shows 8MB 
stack limit.)

  -Valtteri


On 2020-03-25 18:20, Eli Zaretskii wrote:
>> From: Valtteri Vuorikoski <vuori@notcom.org>
>> Date: Wed, 25 Mar 2020 16:03:35 +0200
>>
>> Emacs crashes 1-3 times a day with SIGABRT, usually when editing a
>> buffer in lsp-mode. There is no sure way to reproduce the crash, but it
>> usually appears after a few hours of using lsp-mode and usually when
>> scrolling the buffer.
>>
>> I haven't been able to reproduce this from emacs -Q because it requires
>> several hours of heavy use to appear, and I can't get much done
>> with -Q.
>>
>> This crash never happened with Emacs 26.1.
>>
>> Possible related: gc-cons-threshold is set to 16MB (ddskk is very slow
>> with the default value).
>>
>> gdb stack trace looks like stack was exhausted (sorry, no bt
>> full/xbacktrace, I'll try to get those on next crash):
> 
> SIGABRT is unlikely to be caused by stack overflow.  Stack overflow
> usually causes SIGSEGV.
> 
> Can you please show the full crash message, including the "program
> received signal SIGABRT" part?
> 
> Also, this is an optimized build, so the backtrace is not really
> reliable.  Can you build Emacs without optimizations and show a
> backtrace from there (assuming it still crashes in the same manner
> when built that way)?
> 
> Thanks.
> 





  reply	other threads:[~2020-03-25 16:25 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25 14:03 bug#40225: 27.0.90; abort with apparent stack explosion in lsp-mode Valtteri Vuorikoski
2020-03-25 16:20 ` Eli Zaretskii
2020-03-25 16:25   ` Valtteri Vuorikoski [this message]
2020-03-25 16:29     ` Eli Zaretskii
2020-03-26 15:42   ` Valtteri Vuorikoski
2020-03-26 18:49     ` Eli Zaretskii
2020-03-31 13:59       ` Valtteri Vuorikoski
2020-03-31 15:53         ` Eli Zaretskii
2020-03-31 18:39           ` Valtteri Vuorikoski
2020-04-12 10:40           ` Valtteri Vuorikoski
2020-05-15  7:28           ` Valtteri Vuorikoski
2022-02-10  7:21             ` Lars Ingebrigtsen
2022-02-10  9:09               ` Valtteri Vuorikoski
2022-02-10 11:36                 ` Lars Ingebrigtsen
2022-02-10 18:50                 ` Juri Linkov
2022-02-10 19:49                   ` Valtteri Vuorikoski
2022-02-11  8:34                     ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=09bd568c-7f9a-e4c2-c105-4239b6d38b9b@notcom.org \
    --to=vuori@notcom.org \
    --cc=40225@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).