From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Valtteri Vuorikoski Newsgroups: gmane.emacs.bugs Subject: bug#40225: 27.0.90; abort with apparent stack explosion in lsp-mode Date: Tue, 31 Mar 2020 16:59:47 +0300 Message-ID: <8600e733-d75a-3d8f-897d-2eb3ca6bb59d@notcom.org> References: <87mu844jm0.fsf@notcom.org> <83mu849zjc.fsf@gnu.org> <835zer9cj9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="6716"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 Cc: 40225@debbugs.gnu.org To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 31 16:00:30 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJHRM-0001ct-W8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Mar 2020 16:00:29 +0200 Original-Received: from localhost ([::1]:38510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJHRL-0005xG-PP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Mar 2020 10:00:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46940) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJHQy-0005x3-An for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 10:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJHQw-00038i-Uu for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 10:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53395) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJHQw-00036u-Pg for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 10:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJHQw-0004nw-Ns for bug-gnu-emacs@gnu.org; Tue, 31 Mar 2020 10:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Valtteri Vuorikoski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Mar 2020 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40225 X-GNU-PR-Package: emacs Original-Received: via spool by 40225-submit@debbugs.gnu.org id=B40225.158566319718422 (code B ref 40225); Tue, 31 Mar 2020 14:00:02 +0000 Original-Received: (at 40225) by debbugs.gnu.org; 31 Mar 2020 13:59:57 +0000 Original-Received: from localhost ([127.0.0.1]:36708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJHQr-0004n3-2S for submit@debbugs.gnu.org; Tue, 31 Mar 2020 09:59:57 -0400 Original-Received: from mail.netcrew.fi ([85.188.1.62]:52792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJHQo-0004ml-6D for 40225@debbugs.gnu.org; Tue, 31 Mar 2020 09:59:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=notcom.org; s=nc2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IjiKUF0h5WgfZoDhambQqoZtbGysonIss/6xK65EOsQ=; b=HdF8r4JVEIYPibjv9Z/peg7Vck 6UXVG0YGJpG9dZ3qIlo2r3PBlUf6utGjAVFR/l6eKAAm4M7PdjEVgU0otbFh0/3p6vxjCSzDbskQf ClRpYZUNqkfxiB20sv35EKqhTR2/nL4vIQmaGAlQIBYuoVKn2KCMdIVT6J6KDPoAXhdE=; Original-Received: from dsl-hkibng31-54fab3-231.dhcp.inet.fi ([84.250.179.231] helo=[10.0.42.10]) by mail.netcrew.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1jJHQl-0000kg-Jg; Tue, 31 Mar 2020 16:59:51 +0300 In-Reply-To: <835zer9cj9.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177910 Archived-At: On 2020-03-26 20:49, Eli Zaretskii wrote: > What do these display? > > (gdb) p/x $sp > (gdb) p/x &stack_bottom > Sorry, I had already killed off that emacs, but here's the requested data from a new crash. I have left the gdb session running if you need more data. This crash happened while editing markdown, so it doesn't seem specific to lsp-mode. Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. 0x00005568e2e5dc1b in mark_object (arg=) at alloc.c:6386 6386 { (gdb) p/x $sp $1 = 0x7ffde9c2fff0 (gdb) p/x &stack_bottom No symbol "stack_bottom" in current context. (gdb) p/x $stack_bottom $2 = 0x0 (gdb) bt full 3 #0 0x00005568e2e5dc1b in mark_object (arg=Python Exception Cannot access memory at address 0x7ffde9c2fff8: #1 0x00005568e2e5df9c in mark_object (arg=0x5568e6c1f003) at alloc.c:6629 ptr = 0x5568e6c1f000 obj = 0x5568e6c1f043 po = 0x5568e6c1f000 cdr_count = 0 #2 0x00005568e2e5d507 in mark_vectorlike (header=0x5568e5b27830) at alloc.c:6158 ptr = 0x5568e5b27830 size = 9 i = 5 #3 0x00005568e2e5dde6 in mark_object (arg=0x5568e6c24033) at alloc.c:6567 ptr = 0x5568e5b27830 pvectype = PVEC_NORMAL_VECTOR obj = 0x5568e5b27835 po = 0x5568e5b27830 cdr_count = 1 (gdb) bt full -40 #100018 0x00005568e2e5de33 in mark_object (arg=0x29ef70404a40) at alloc.c:6582 ptr = 0x7f5853b53a80 obj = 0x29ef70404a40 po = 0x7f5853b53a80 cdr_count = 0 #100019 0x00005568e2e5d507 in mark_vectorlike (header=0x7f58540ab4b0) at alloc.c:6158 ptr = 0x7f58540ab4b0 size = 2 i = 1 #100020 0x00005568e2e5dde6 in mark_object (arg=0x7f58540ab47d) at alloc.c:6567 ptr = 0x7f58540ab4b0 pvectype = PVEC_NORMAL_VECTOR obj = 0x7f58540ab4b5 po = 0x7f58540ab4b0 cdr_count = 0 #100021 0x00005568e2e5de33 in mark_object (arg=0x6ed0) at alloc.c:6582 ptr = 0x5568e3755f10 obj = 0x6ed0 po = 0x5568e3755f10 cdr_count = 0 #100022 0x00005568e2e5c749 in mark_object_root_visitor (root_ptr=0x5568e3744d10 , type=GC_ROOT_BUFFER_LOCAL_DEFAULT, data=0x0) at alloc.c:5742 #100023 0x00005568e2e5c5d7 in visit_vectorlike_root (visitor=..., ptr=0x5568e3744cc0 , type=GC_ROOT_BUFFER_LOCAL_DEFAULT) at alloc.c:5693 size = 74 i = 9 #100024 0x00005568e2e5c629 in visit_buffer_root (visitor=..., buffer=0x5568e3744cc0 , type=GC_ROOT_BUFFER_LOCAL_DEFAULT) at alloc.c:5708 #100025 0x00005568e2e5c673 in visit_static_gc_roots (visitor=...) at alloc.c:5720 #100026 0x00005568e2e5cc7a in garbage_collect () at alloc.c:5941 nextb = 0x0 stack_top_variable = 0 '\000' message_p = false count = 13 start = {tv_sec = 1585662763, tv_nsec = 196930673} tot_before = 18446744073709551615 visitor = {visit = 0x5568e2e5c727 , data = 0x0} #100027 0x00005568e2e5ca5c in maybe_garbage_collect () at alloc.c:5853 #100028 0x00005568e2ea0c75 in maybe_gc () at lisp.h:5065 #100029 0x00005568e2ea9085 in Ffuncall (nargs=2, args=0x7ffdea5b55d0) at eval.c:2778 fun = 0x5568edbdfc10 original_fun = 0x1ea5b5580 funcar = 0x30 numargs = 1 val = 0x30 count = 12 #100030 0x00005568e2ea5a07 in internal_condition_case_n (bfun=0x5568e2ea8fc9 , nargs=2, args=0x7ffdea5b55d0, handlers=0x30, hfun=0x5568e2bdbcdb ) at eval.c:1435 val = 0x5568e2bcd60b c = 0x5568e4298ae0 #100031 0x00005568e2bdbf3d in safe__call (inhibit_quit=false, nargs=2, func=0x29ef7052cd08, ap=0x7ffdea5b5690) at xdisp.c:2807 i = 2 count = 11 sa_avail = 16368 sa_count = 11 args = 0x7ffdea5b55d0 val = 0x0 #100032 0x00005568e2bdc034 in safe_call (nargs=2, func=0x29ef7052cd08) at xdisp.c:2822 retval = 0x5568e2e76fa4 ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7ffdea5b5770, reg_save_area = 0x7ffdea5b56b0}} #100033 0x00005568e2bdc085 in safe_call1 (fn=0x29ef7052cd08, arg=0x255a) at xdisp.c:2833 [trimmed]