From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90 Date: Sat, 07 Mar 2020 20:01:06 +0200 Message-ID: <834kv09h99.fsf@gnu.org> References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <835zfgbo6f.fsf@gnu.org> <83lfoc9upz.fsf@gnu.org> <83ftek9ot8.fsf@gnu.org> <83blp89mi2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="25043"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39962@debbugs.gnu.org, pieter@vanoostrum.org To: Pieter van Oostrum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 07 19:02:19 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 1jAdmF-0006QY-E3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Mar 2020 19:02:19 +0100 Original-Received: from localhost ([::1]:51444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAdmE-0005Zo-GV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Mar 2020 13:02:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57380) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAdly-0005Wz-Vw for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 13:02:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAdlx-00030y-WB for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 13:02:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAdlx-00030Z-TJ for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 13:02:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAdlx-00030g-QN for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 13:02:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Mar 2020 18:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39962 X-GNU-PR-Package: emacs Original-Received: via spool by 39962-submit@debbugs.gnu.org id=B39962.158360408311525 (code B ref 39962); Sat, 07 Mar 2020 18:02:01 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 7 Mar 2020 18:01:23 +0000 Original-Received: from localhost ([127.0.0.1]:47506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAdlL-0002zp-K9 for submit@debbugs.gnu.org; Sat, 07 Mar 2020 13:01:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAdlJ-0002zc-Eh for 39962@debbugs.gnu.org; Sat, 07 Mar 2020 13:01:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jAdlC-0001EY-Dj; Sat, 07 Mar 2020 13:01:15 -0500 Original-Received: from [176.228.60.248] (port=2394 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jAdl6-00035v-9q; Sat, 07 Mar 2020 13:01:13 -0500 In-Reply-To: (message from Pieter van Oostrum on Sat, 07 Mar 2020 18:21:47 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:177021 Archived-At: > From: Pieter van Oostrum > Cc: 39962@debbugs.gnu.org, pieter@vanoostrum.org > Date: Sat, 07 Mar 2020 18:21:47 +0100 > > > Can you show the full C backtrace? > > > (gdb) bt > #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:371 > #1 0x00000001002a4abb in die ( > msg=0x10050ff57 "m->bytepos >= m->charpos && m->bytepos - m->charpos <= Z_BYTE - Z", file=0x10050fdda "insdel.c", line=295) at alloc.c:7246 > #2 0x0000000100233af4 in adjust_markers_for_insert (from=36399, > from_byte=36399, to=36401, to_byte=36401, before_markers=false) > at insdel.c:294 > #3 0x00000001002344d0 in insert_from_string_1 (string=XIL(0x15b29a904), > pos=0, pos_byte=0, nchars=2, nbytes=2, inherit=false, before_markers=false) > at insdel.c:1060 > #4 0x0000000100233e18 in insert_from_string (string=XIL(0x15b29a904), pos=0, > pos_byte=0, length=2, length_byte=2, inherit=false) at insdel.c:967 > #5 0x00000001002ec4c2 in general_insert_function ( > insert_func=0x1002320b0 , > insert_from_string_func=0x100233d80 , inherit=false, > nargs=1, args=0x7ffeefbf5ce8) at editfns.c:1334 > #6 0x00000001002ec1db in Finsert (nargs=1, args=0x7ffeefbf5ce8) > at editfns.c:1370 Thanks. Since xbacktrace doesn't work in your case for some reason (which is troublesome on its own), I will have to ask you to go to every frame that calls Ffuncall, and do this: (gdb) p args[0] (gdb) xtype If "xtype" says it's a symbol, then additionally do this immediately after "xtype": (gdb) xsymbol This will tell us which Lisp function was called in each such frame: a poor man's Lisp backtrace. Are these problems something you can trigger at will?