From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Pieter van Oostrum Newsgroups: gmane.emacs.bugs Subject: bug#39962: 27.0.90; Crash in Emacs 27.0.90 Date: Sat, 07 Mar 2020 18:21:47 +0100 Message-ID: References: <24162.58107.725366.668639@cochabamba.vanoostrum.org> <835zfgbo6f.fsf@gnu.org> <83lfoc9upz.fsf@gnu.org> <83ftek9ot8.fsf@gnu.org> <83blp89mi2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="125901"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin) Cc: 39962@debbugs.gnu.org, pieter@vanoostrum.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 07 18:22:13 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 1jAd9R-000WdQ-8c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Mar 2020 18:22:13 +0100 Original-Received: from localhost ([::1]:51016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAd9P-0005Rj-W2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Mar 2020 12:22:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52097) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAd9I-0005RR-2A for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 12:22:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAd9G-0003a1-Ez for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 12:22:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41516) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAd9G-0003Zj-BL for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 12:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAd9G-00024t-7i for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2020 12:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pieter van Oostrum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Mar 2020 17:22:02 +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.15836017167974 (code B ref 39962); Sat, 07 Mar 2020 17:22:02 +0000 Original-Received: (at 39962) by debbugs.gnu.org; 7 Mar 2020 17:21:56 +0000 Original-Received: from localhost ([127.0.0.1]:47489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAd9A-00024Y-0W for submit@debbugs.gnu.org; Sat, 07 Mar 2020 12:21:56 -0500 Original-Received: from [145.132.212.31] (port=52766 helo=cochabamba.vanoostrum.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jAd97-00024K-Ti for 39962@debbugs.gnu.org; Sat, 07 Mar 2020 12:21:54 -0500 Original-Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 00226AA803B9; Sat, 7 Mar 2020 18:21:47 +0100 (CET) In-Reply-To: <83blp89mi2.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Mar 2020 18:07:49 +0200") 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:177019 Archived-At: Eli Zaretskii writes: > > Wait a minute... how come m->charpos is zero? That should never > happen, since buffer positions start from 1, and the value should be > close to m->bytepos anyway. > > 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 #7 0x00000001003a7d53 in exec_byte_code (bytestr=XIL(0x10d25eb84), vector=XIL(0x10e0fc055), maxdepth=make_fixnum(6), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:1075 #8 0x0000000100317436 in funcall_lambda (fun=XIL(0x10e0fde35), nargs=1, arg_vector=0x7ffeefbf6e80) at eval.c:3067 #9 0x0000000100314bfe in Ffuncall (nargs=2, args=0x7ffeefbf6e78) at eval.c:2796 #10 0x00000001003a51df in exec_byte_code (bytestr=XIL(0x10d25ea24), vector=XIL(0x10e0fb0a5), maxdepth=make_fixnum(3), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:633 #11 0x0000000100317436 in funcall_lambda (fun=XIL(0x10e0fa1c5), nargs=0, arg_vector=0x7ffeefbf7e50) at eval.c:3067 #12 0x0000000100314bfe in Ffuncall (nargs=1, args=0x7ffeefbf7e48) at eval.c:2796 #13 0x00000001003a51df in exec_byte_code (bytestr=XIL(0x10434b554), vector=XIL(0x105c5b3c5), maxdepth=make_fixnum(4), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:633 #14 0x0000000100317436 in funcall_lambda (fun=XIL(0x105c5b465), nargs=1, arg_vector=0x7ffeefbf8e50) at eval.c:3067 #15 0x0000000100314bfe in Ffuncall (nargs=2, args=0x7ffeefbf8e48) at eval.c:2796 #16 0x0000000100315cb4 in call1 (fn=XIL(0x105c5b465), arg1=XIL(0xdbdceb0)) at eval.c:2654 #17 0x000000010037aa6d in mapatoms_1 (sym=XIL(0xdbdceb0), function=XIL(0x105c5b465)) at lread.c:4380 #18 0x000000010037a90e in map_obarray (obarray=XIL(0x10e182e95), fn=0x10037aa50 , arg=XIL(0x105c5b465)) at lread.c:4369 #19 0x000000010037aa31 in Fmapatoms (function=XIL(0x105c5b465), obarray=XIL(0x10e182e95)) at lread.c:4391 --Type for more, q to quit, c to continue without paging-- #20 0x00000001003165cc in funcall_subr (subr=0x10055b5a8, numargs=2, args=0x7ffeefbf91a0) at eval.c:2869 #21 0x0000000100314bae in Ffuncall (nargs=3, args=0x7ffeefbf9198) at eval.c:2794 #22 0x00000001003a51df in exec_byte_code (bytestr=XIL(0x10434b514), vector=XIL(0x105c5b495), maxdepth=make_fixnum(6), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:633 #23 0x0000000100317436 in funcall_lambda (fun=XIL(0x105c5b585), nargs=0, arg_vector=0x7ffeefbfa1c0) at eval.c:3067 #24 0x0000000100314bfe in Ffuncall (nargs=1, args=0x7ffeefbfa1b8) at eval.c:2796 #25 0x00000001003a51df in exec_byte_code (bytestr=XIL(0x10d25f184), vector=XIL(0x10d9f2205), maxdepth=make_fixnum(13), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:633 #26 0x0000000100317436 in funcall_lambda (fun=XIL(0x10e0899b5), nargs=9, arg_vector=0x7ffeefbfb610) at eval.c:3067 #27 0x0000000100314bfe in Ffuncall (nargs=10, args=0x7ffeefbfb608) at eval.c:2796 #28 0x00000001003a51df in exec_byte_code (bytestr=XIL(0x10d25e434), vector=XIL(0x10d9f26d5), maxdepth=make_fixnum(11), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:633 #29 0x0000000100317436 in funcall_lambda (fun=XIL(0x10e0ae1a5), nargs=2, arg_vector=0x7ffeefbfc960) at eval.c:3067 #30 0x0000000100314bfe in Ffuncall (nargs=3, args=0x7ffeefbfc958) at eval.c:2796 #31 0x00000001002fd9ca in Ffuncall_interactively (nargs=3, args=0x7ffeefbfc958) at callint.c:254 #32 0x0000000100316486 in funcall_subr (subr=0x100558db8, numargs=3, args=0x7ffeefbfc958) at eval.c:2847 #33 0x0000000100314bae in Ffuncall (nargs=4, args=0x7ffeefbfc950) at eval.c:2794 #34 0x0000000100314966 in Fapply (nargs=3, args=0x7ffeefbfd6f0) at eval.c:2424 #35 0x00000001002fdf30 in Fcall_interactively (function=XIL(0x4a62fc0), record_flag=XIL(0), keys=XIL(0x160edff25)) at callint.c:342 #36 0x0000000100316602 in funcall_subr (subr=0x100558d88, numargs=3, args=0x7ffeefbfd9c0) at eval.c:2872 #37 0x0000000100314bae in Ffuncall (nargs=4, args=0x7ffeefbfd9b8) at eval.c:2794 #38 0x00000001003a51df in exec_byte_code (bytestr=XIL(0x106a3df8c), vector=XIL(0x106a3dadd), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7ffeefbfea28) at bytecode.c:633 #39 0x0000000100316c95 in funcall_lambda (fun=XIL(0x106a3daad), nargs=1, arg_vector=0x7ffeefbfea20) at eval.c:2989 #40 0x0000000100314bfe in Ffuncall (nargs=2, args=0x7ffeefbfea18) at eval.c:2796 #41 0x0000000100315cb4 in call1 (fn=XIL(0x3960), arg1=XIL(0x4a62fc0)) --Type for more, q to quit, c to continue without paging-- at eval.c:2654 #42 0x00000001001c7640 in command_loop_1 () at keyboard.c:1463 #43 0x000000010030d5bf in internal_condition_case ( bfun=0x1001c68e0 , handlers=XIL(0x90), hfun=0x1001e9fa0 ) at eval.c:1355 #44 0x00000001001e9e81 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1091 #45 0x000000010030c6f8 in internal_catch (tag=XIL(0xc450), func=0x1001e9e50 , arg=XIL(0)) at eval.c:1116 #46 0x00000001001c5955 in command_loop () at keyboard.c:1070 #47 0x00000001001c5727 in recursive_edit_1 () at keyboard.c:714 #48 0x00000001001c5bd6 in Frecursive_edit () at keyboard.c:786 #49 0x00000001001c273e in main (argc=1, argv=0x7ffeefbff660) at emacs.c:2054 [New Thread 0x2753 of process 52920] [New Thread 0x2a7b of process 52920] Lisp Backtrace: Cannot access memory at address 0xcfeb5c0 (gdb) -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]