GNU bug report logs - #58288
29.0.50; (flyspell-correct-word-before-point) followed by <down> crashes emacs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Andrew John De Angelis <ajd2195@HIDDEN>; dated Tue, 4 Oct 2022 11:06:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 58288 <at> debbugs.gnu.org:


Received: (at 58288) by debbugs.gnu.org; 4 Oct 2022 13:47:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 09:47:53 2022
Received: from localhost ([127.0.0.1]:52956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofiH2-0004po-VG
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 09:47:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:52830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ofiH1-0004p4-4O
 for 58288 <at> debbugs.gnu.org; Tue, 04 Oct 2022 09:47:51 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:37116)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ofiGv-0003PG-5B; Tue, 04 Oct 2022 09:47:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=rudY2xWF+i8a7fKH9e+yOWt1tOgghf2TyYqW3hE5VW8=; b=QGDkyLaFmV/Y
 eEHwrdCis4GXLAmVl6PxYQk7HuBLUW1EQenUxVGA6b0OK99+TSUH3A5AeSAQaeApjzu/ClrmIufs0
 hOI4tzJQStc7Sx1G1laIUrm8AtpM3po4INNbTiW42VT92v0EM0+yJMgkyhL+C170nDfDm60YBsJP1
 qNRT26iXTXPZklZPy6tbkHihkn8a8AVNBBVsWaVdH/bzC8rEL4v3c/yfbuqH0vBYkCh8KPsgG9HVx
 tfgvn9GAnBVwt13SsosHXJlySdqNSi0OdaNZzaAs4nztsQxKAPghtMvo/TNlsDwg5YF9nk8E8a54i
 1BIsP4GFR6OfMuMUn45ong==;
Received: from [87.69.77.57] (port=1217 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ofiGu-0006nr-4H; Tue, 04 Oct 2022 09:47:44 -0400
Date: Tue, 04 Oct 2022 16:47:39 +0300
Message-Id: <83mtabvgxw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87zgeb91ac.fsf@HIDDEN> (message from Robert Pluim on Tue, 04
 Oct 2022 15:16:43 +0200)
Subject: Re: bug#58288: 29.0.50; (flyspell-correct-word-before-point)
 followed by <down> crashes emacs
References: <DA06AC1D-69ED-47DD-A90D-9F80B39EAC00@HIDDEN>
 <877d1f3kgj.fsf@HIDDEN> <83tu4jvkfz.fsf@HIDDEN> <87zgeb91ac.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58288
Cc: 58288 <at> debbugs.gnu.org, larsi@HIDDEN, ajd2195@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Cc: Lars Ingebrigtsen <larsi@HIDDEN>,  58288 <at> debbugs.gnu.org,
>   ajd2195@HIDDEN
> Date: Tue, 04 Oct 2022 15:16:43 +0200
> 
> >>>>> On Tue, 04 Oct 2022 15:32:00 +0300, Eli Zaretskii <eliz@HIDDEN> said:
> 
>     >> I can reproduce this crash on Macos (but not on Ubuntu) with the current
>     >> "master".
>     >> 
>     >> However, I'm not well versed in debugging stuff like this on Macos, so
>     >> if somebody else could have a look, that'd be great.
> 
>     Eli> If you or someone else could show a meaningful backtrace, maybe the
>     Eli> reason will become evident.
> 
> (this is not current master. I doubt that changes things, but I can
> recompile if needed)
> 
> Process 48138 stopped
> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3)
>     frame #0: 0x00000001000743b0 emacs`find_and_return_menu_selection [inlined] AREF(array=<unavailable>, idx=0) at lisp.h:1941:10 [opt]
>    1938	AREF (Lisp_Object array, ptrdiff_t idx)
>    1939	{
>    1940	  eassert (0 <= idx && idx < gc_asize (array));
> -> 1941	  return XVECTOR (array)->contents[idx];
>    1942	}
>    1943
>    1944	INLINE Lisp_Object *
> Target 0: (emacs) stopped.
> warning: emacs was compiled with optimization - stepping may behave oddly; variables may not be available.
> (lldb) bt
> * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3)
>   * frame #0: 0x00000001000743b0 emacs`find_and_return_menu_selection [inlined] AREF(array=<unavailable>, idx=0) at lisp.h:1941:10 [opt]
>     frame #1: 0x00000001000743b0 emacs`find_and_return_menu_selection(f=0x00000001040cde30, keymaps=false, client_data=0x0000000103071c80) at menu.c:988:17 [opt]
>     frame #2: 0x0000000100249fce emacs`-[EmacsMenu runMenuAt:forFrame:keymaps:](self=0x000060000175d840, _cmd=<unavailable>, p=(x = 86, y = 464), f=0x00000001040cde30, keymaps=false) at nsmenu.m:767:9 [opt]

This is in NS-specific code for popup menus.  Sounds like no one is
setting up the menu_items array in that case?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58288; Package emacs. Full text available.

Message received at 58288 <at> debbugs.gnu.org:


Received: (at 58288) by debbugs.gnu.org; 4 Oct 2022 13:16:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 09:16:55 2022
Received: from localhost ([127.0.0.1]:52922 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofhn5-00045b-1c
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 09:16:55 -0400
Received: from mail-wr1-f46.google.com ([209.85.221.46]:37816)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1ofhn0-00045L-Vc
 for 58288 <at> debbugs.gnu.org; Tue, 04 Oct 2022 09:16:54 -0400
Received: by mail-wr1-f46.google.com with SMTP id bq9so21286306wrb.4
 for <58288 <at> debbugs.gnu.org>; Tue, 04 Oct 2022 06:16:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=9DN0CN3FeDwXvc1l0B6ojb4IQ7UjnpJ7hHIKWItqRsk=;
 b=kR3/dn9nBwFhKbObjs5IljWRBMJrzl4I0/VkMFmdFQR1aN2+C5/TM8uwclq94M0WIU
 77w1+DfJ+7Dq2K20Bd/FfuWlHSxwVG9XVNOLKCeSLtReSfoEjG/HFk51ZfpbddHe62Po
 wZNhpPV3BAq7oBPkvP0tKXo3w9OLlODPXnlnEovQU+PrguiyjYTSKgIaLa+OOGc2H+WZ
 OiQQuWzT4rFbESp5nYlG64IAvNWckkHE0+Vjex+xpXms65YttZELrJ1C1+u9GKzZ40EK
 DK8SX9iyOWFlPeq2hGn8ebOLGiUUL2LbcRDW6Jru5pQFDBAXiCgavI1fXWdBJqAZHbfv
 pxNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=9DN0CN3FeDwXvc1l0B6ojb4IQ7UjnpJ7hHIKWItqRsk=;
 b=kks/O/38yqA9Ef1sq4hxkoyDSe/BJKbB2qaopznldL0Dxk2eS2Xjdaj9nh6uR0iERi
 UQUP3z6cB90uID5r1vSj9idZJ3/BzRVXRGk4nlZQjyQ22jy0J4Y0s6pLzh3q+E6EKGOc
 xWH7uExzLTWjZ6GcdhtMOVSmBVnuYVeWXgvM6XtE42imWvnEbSkAwbp+EvgK9PhEtfqL
 5/Y7D7WjTSwrt4BOrGn/yS4TejWc1YRv1wzJ90sD13GYETQf0+wyfzNdERt7txcVnKNG
 ujwuzkcBy0HeG7eFCqWTvcVZuHBQ0Q9FLqg9Q0WaQ5+cxl7h2jO+e+Rf+Hql/O5wmf+7
 LVtg==
X-Gm-Message-State: ACrzQf1mZNAPby2rHXuJCgWhSvZvOuctVOIvKAsgUCvPu738pfa8SqXG
 R12bTsrvzTjb9eaLK2tVaAg=
X-Google-Smtp-Source: AMsMyM52zCxHJzLswS6HUXTGPbWHSC6mIzmJ9j5DWmp5E5XVVCI/5KcPjOvRA+tN1OBFw9LPWdZfJg==
X-Received: by 2002:a05:6000:384:b0:22a:5d05:c562 with SMTP id
 u4-20020a056000038400b0022a5d05c562mr16281434wrf.701.1664889404913; 
 Tue, 04 Oct 2022 06:16:44 -0700 (PDT)
Received: from rltb ([2a01:e0a:3f3:fb50:37f5:e4da:5e9c:64c1])
 by smtp.gmail.com with ESMTPSA id
 x25-20020a1c7c19000000b003b3307fb98fsm14130007wmc.24.2022.10.04.06.16.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 04 Oct 2022 06:16:44 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#58288: 29.0.50; (flyspell-correct-word-before-point)
 followed by <down> crashes emacs
In-Reply-To: <83tu4jvkfz.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 04 Oct
 2022 15:32:00 +0300")
References: <DA06AC1D-69ED-47DD-A90D-9F80B39EAC00@HIDDEN>
 <877d1f3kgj.fsf@HIDDEN> <83tu4jvkfz.fsf@HIDDEN>
Date: Tue, 04 Oct 2022 15:16:43 +0200
Message-ID: <87zgeb91ac.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 58288
Cc: 58288 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>,
 ajd2195@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Tue, 04 Oct 2022 15:32:00 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    >> I can reproduce this crash on Macos (but not on Ubuntu) with the current
    >> "master".
    >> 
    >> However, I'm not well versed in debugging stuff like this on Macos, so
    >> if somebody else could have a look, that'd be great.

    Eli> If you or someone else could show a meaningful backtrace, maybe the
    Eli> reason will become evident.

(this is not current master. I doubt that changes things, but I can
recompile if needed)

Process 48138 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3)
    frame #0: 0x00000001000743b0 emacs`find_and_return_menu_selection [inlined] AREF(array=<unavailable>, idx=0) at lisp.h:1941:10 [opt]
   1938	AREF (Lisp_Object array, ptrdiff_t idx)
   1939	{
   1940	  eassert (0 <= idx && idx < gc_asize (array));
-> 1941	  return XVECTOR (array)->contents[idx];
   1942	}
   1943
   1944	INLINE Lisp_Object *
Target 0: (emacs) stopped.
warning: emacs was compiled with optimization - stepping may behave oddly; variables may not be available.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x3)
  * frame #0: 0x00000001000743b0 emacs`find_and_return_menu_selection [inlined] AREF(array=<unavailable>, idx=0) at lisp.h:1941:10 [opt]
    frame #1: 0x00000001000743b0 emacs`find_and_return_menu_selection(f=0x00000001040cde30, keymaps=false, client_data=0x0000000103071c80) at menu.c:988:17 [opt]
    frame #2: 0x0000000100249fce emacs`-[EmacsMenu runMenuAt:forFrame:keymaps:](self=0x000060000175d840, _cmd=<unavailable>, p=(x = 86, y = 464), f=0x00000001040cde30, keymaps=false) at nsmenu.m:767:9 [opt]

Robert
-- 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58288; Package emacs. Full text available.

Message received at 58288 <at> debbugs.gnu.org:


Received: (at 58288) by debbugs.gnu.org; 4 Oct 2022 12:32:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 08:32:27 2022
Received: from localhost ([127.0.0.1]:52848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ofh63-0000l7-AK
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 08:32:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33566)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ofh5z-0000kr-1l
 for 58288 <at> debbugs.gnu.org; Tue, 04 Oct 2022 08:32:25 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:49440)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ofh5s-0004Kg-AU; Tue, 04 Oct 2022 08:32:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=13W++7eJJJYrKY3x7tIAG84m/ESlpuTAnEJBQ4CQMvs=; b=JQyooP2s396j
 Y77GJ0Wk07QkLw8+2crjI/smaQpbKNc8B5b9wk6pHu44m0DBrOCWWkkZmm9Nd02VuadyKaW3rac1b
 EvOG10dlio5zdRYTj9BhYVrleqqK7xNroyj+hFBbc9XQasqrnh90a9JDLgcys9E+LJeiCDLhOB6KX
 VkrpXkVx9c8NL3wM/1j8bmsc5lYD5AOf9jBexVtDWXUcXWEDrK15shRVLWNFnDS6D7w7n3iyLl0Xi
 fDJKO5d8/Jbp8SLwofpY4FtKryjjWXOdiPLcq1Yf1Mn2fJQWS2f728+E37wvWX9V9bEDuVOepyZr5
 fnUBY6ifNcDzX3Ujt2df4Q==;
Received: from [87.69.77.57] (port=4306 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1ofh5g-00030q-10; Tue, 04 Oct 2022 08:32:14 -0400
Date: Tue, 04 Oct 2022 15:32:00 +0300
Message-Id: <83tu4jvkfz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Lars Ingebrigtsen <larsi@HIDDEN>
In-Reply-To: <877d1f3kgj.fsf@HIDDEN> (message from Lars Ingebrigtsen on Tue, 
 04 Oct 2022 13:19:08 +0200)
Subject: Re: bug#58288: 29.0.50;
 (flyspell-correct-word-before-point) followed by <down> crashes emacs
References: <DA06AC1D-69ED-47DD-A90D-9F80B39EAC00@HIDDEN>
 <877d1f3kgj.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58288
Cc: 58288 <at> debbugs.gnu.org, ajd2195@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 58288 <at> debbugs.gnu.org
> From: Lars Ingebrigtsen <larsi@HIDDEN>
> Date: Tue, 04 Oct 2022 13:19:08 +0200
> 
> Andrew John De Angelis <ajd2195@HIDDEN> writes:
> 
> > - emacs -Q
> > - Eval: (turn-on-flyspell)
> 
> Or `M-x flyspell-mode'.
> 
> > - write a word that's not present in the dictionary
> >    (I wrote "incorrectlll")
> > - place cursor at word
> > - M-x flyspell-correct-word-before-point
> > - press down arrow (<down>) to navigate to the 'Save word' option
> > - emacs crashes
> >    (in the terminal, this is the message:
> >    Fatal error 11: Segmentation fault
> >    zsh: abort      emacs -Q
> 
> I can reproduce this crash on Macos (but not on Ubuntu) with the current
> "master".
> 
> However, I'm not well versed in debugging stuff like this on Macos, so
> if somebody else could have a look, that'd be great.

If you or someone else could show a meaningful backtrace, maybe the
reason will become evident.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58288; Package emacs. Full text available.

Message received at 58288 <at> debbugs.gnu.org:


Received: (at 58288) by debbugs.gnu.org; 4 Oct 2022 11:19:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 07:19:22 2022
Received: from localhost ([127.0.0.1]:52698 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1offxK-0006uQ-HB
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 07:19:22 -0400
Received: from quimby.gnus.org ([95.216.78.240]:44928)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1offxI-0006u9-Pq
 for 58288 <at> debbugs.gnu.org; Tue, 04 Oct 2022 07:19:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 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=lCYQ+OX/ABbnIlV9Z1WhvLvortRaS7CkDO+YA7rLU84=; b=SZNOKdAUoC5LtZzYamhzvAOqQs
 /HUEcwf+BiVkvAbjRGHTYNMSpOpWHeVU6WHNI0E1zAN6UfaK/++uJmX09SmO/V3pzW+IPVuiuCdfv
 JZ1GO1E/WvOyuN5xdnz7NhOO96fxVyLA7FM/5GlvW4i5WyOcl3h68hVi2lsuLe+Q+70k=;
Received: from [84.212.220.105] (helo=downe)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1offx7-0003Fa-3M; Tue, 04 Oct 2022 13:19:11 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Andrew John De Angelis <ajd2195@HIDDEN>
Subject: Re: bug#58288: 29.0.50; (flyspell-correct-word-before-point)
 followed by <down> crashes emacs
In-Reply-To: <DA06AC1D-69ED-47DD-A90D-9F80B39EAC00@HIDDEN> (Andrew John
 De Angelis's message of "Mon, 3 Oct 2022 17:20:11 -0400")
References: <DA06AC1D-69ED-47DD-A90D-9F80B39EAC00@HIDDEN>
X-Now-Playing: Prince's _Around The World In A Day_: "Raspberry Beret"
Date: Tue, 04 Oct 2022 13:19:08 +0200
Message-ID: <877d1f3kgj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Andrew John De Angelis <ajd2195@HIDDEN> writes: > -
 emacs -Q > - Eval: (turn-on-flyspell) Or `M-x flyspell-mode'. 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 58288
Cc: 58288 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Andrew John De Angelis <ajd2195@HIDDEN> writes:

> - emacs -Q
> - Eval: (turn-on-flyspell)

Or `M-x flyspell-mode'.

> - write a word that's not present in the dictionary
>    (I wrote "incorrectlll")
> - place cursor at word
> - M-x flyspell-correct-word-before-point
> - press down arrow (<down>) to navigate to the 'Save word' option
> - emacs crashes
>    (in the terminal, this is the message:
>    Fatal error 11: Segmentation fault
>    zsh: abort      emacs -Q

I can reproduce this crash on Macos (but not on Ubuntu) with the current
"master".

However, I'm not well versed in debugging stuff like this on Macos, so
if somebody else could have a look, that'd be great.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#58288; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Oct 2022 11:05:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 04 07:05:14 2022
Received: from localhost ([127.0.0.1]:52636 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1offjd-0004Ju-Vt
	for submit <at> debbugs.gnu.org; Tue, 04 Oct 2022 07:05:14 -0400
Received: from lists.gnu.org ([209.51.188.17]:42760)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ajd2195@HIDDEN>) id 1ofSrR-0003rR-2x
 for submit <at> debbugs.gnu.org; Mon, 03 Oct 2022 17:20:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:49008)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ajd2195@HIDDEN>)
 id 1ofSrP-0004rR-GL
 for bug-gnu-emacs@HIDDEN; Mon, 03 Oct 2022 17:20:24 -0400
Received: from mx0a-00364e01.pphosted.com ([148.163.135.74]:12060)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ajd2195@HIDDEN>)
 id 1ofSrM-00037b-Iw
 for bug-gnu-emacs@HIDDEN; Mon, 03 Oct 2022 17:20:23 -0400
Received: from pps.filterd (m0167068.ppops.net [127.0.0.1])
 by mx0a-00364e01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 293LK2As001854
 for <bug-gnu-emacs@HIDDEN>; Mon, 3 Oct 2022 17:20:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=columbia.edu;
 h=from : content-type
 : content-transfer-encoding : mime-version : subject : message-id : date :
 to; s=pps01; bh=/nr90UP5s0G7jEAMy20jUQxTvcHT1wKmUiASqlQtpMo=;
 b=AyCLJfD6aYSP5uZqk+CyYVJCWYGad5YQf3znRAEdzjcrJU/hB0jeZR+qGqbaYT2ovCPJ
 svPxzXtaz3eHT0MpUtnxSr43WXqldMqv+FDqH5ZbwGbts8fQCwzr5HVXSF/TgtNeQUGG
 mQKOifxt/9HWX/xVacw/a5Kk+QwKwjHwt+pCdUbcJUi7NPVpdjJ3LDFh6mTe+Qx39FlC
 VqA7pHynEYmXzHVkYVJd1ov/wLC6hYZiQ4UG3QDcWr85EXtmuZErcKQNgveyJJ8vmB4x
 C1ekJRlGHJaLp6OK01ZTMsse5oKpLUaHWdHXQlCewVcUjVceE8xH1P+9gzceK9dnZWZZ GQ== 
Received: from sendprdmail20.cc.columbia.edu (sendprdmail20.cc.columbia.edu
 [128.59.72.22])
 by mx0a-00364e01.pphosted.com (PPS) with ESMTPS id 3jy2jh5c3f-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <bug-gnu-emacs@HIDDEN>; Mon, 03 Oct 2022 17:20:14 -0400
Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com
 [209.85.222.198])
 by sendprdmail20.cc.columbia.edu (8.14.7/8.14.4) with ESMTP id 293LK6HM046210
 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <bug-gnu-emacs@HIDDEN>; Mon, 3 Oct 2022 17:20:13 -0400
Received: by mail-qk1-f198.google.com with SMTP id
 ay35-20020a05620a17a300b006cfc01b4436so10112241qkb.13
 for <bug-gnu-emacs@HIDDEN>; Mon, 03 Oct 2022 14:20:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:date:message-id:subject:mime-version:content-transfer-encoding
 :from:x-gm-message-state:from:to:cc:subject:date;
 bh=/nr90UP5s0G7jEAMy20jUQxTvcHT1wKmUiASqlQtpMo=;
 b=K9CNeZAm3KxzqW/hvG5j1I0OswccJ3CcfaMSR5KxcTWxLWREfH6Kmp3lUQXPMzICdq
 JJgWGUThTdklg2MZeTL36we9mWaAkDgzqtvGhpn08DRYc/JTKcPxn6JLn1NsG1YWY0+5
 UFD+LmKJvADhxYnZS9+wzkpEZ/F2bMzKDf2HggrUv7G7/1dKkOkRF2Qq7bs6iENxSTLc
 /C+XsmYGiuxw3HAiASAsarZQFDVitJSUN0gA3tUPsEMYXdKkKuGDdqgdk9Jk4Pw5vQ7i
 7O9SCyZakIZMek8HXXA90I1h7nRBCUoN1iPuF4lKT0vUDEZjIcTO8ymLNyia8J2yOTi/
 7XCQ==
X-Gm-Message-State: ACrzQf1qYax+6ecc79zK8FF5aLh+V3kBBwi7TK7lvjdewi+1uRVKBXeP
 bSXhA45TKfg88nIUb+qONVurwSl4rKRsJ/3GK8Yi2aOrQ8nlZ3xAziXSKbFq4Fnnh2WmOtPH2CY
 tT5kAYzGdrRPJCgH6irCpaPc=
X-Received: by 2002:a37:897:0:b0:6cd:f5da:f1bc with SMTP id
 145-20020a370897000000b006cdf5daf1bcmr14795982qki.491.1664832012982; 
 Mon, 03 Oct 2022 14:20:12 -0700 (PDT)
X-Google-Smtp-Source: AMsMyM7QYjL/NXbYcqYDTwaZB5EryE35zgPy/krK2Na0io7tnbeG5zYGgSUkM08E3yWUbCbZc8fN4g==
X-Received: by 2002:a37:897:0:b0:6cd:f5da:f1bc with SMTP id
 145-20020a370897000000b006cdf5daf1bcmr14795966qki.491.1664832012633; 
 Mon, 03 Oct 2022 14:20:12 -0700 (PDT)
Received: from smtpclient.apple (ool-944bd134.dyn.optonline.net.
 [148.75.209.52]) by smtp.gmail.com with ESMTPSA id
 bj39-20020a05620a192700b006ce16588056sm12331636qkb.89.2022.10.03.14.20.11
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 03 Oct 2022 14:20:12 -0700 (PDT)
From: Andrew John De Angelis <ajd2195@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Subject: 29.0.50; (flyspell-correct-word-before-point) followed by <down>
 crashes emacs
Message-Id: <DA06AC1D-69ED-47DD-A90D-9F80B39EAC00@HIDDEN>
Date: Mon, 3 Oct 2022 17:20:11 -0400
To: bug-gnu-emacs@HIDDEN
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-Proofpoint-ORIG-GUID: 9Vo1Sz40yZi1PLQ9JgmVOjxDNxoslezg
X-Proofpoint-GUID: 9Vo1Sz40yZi1PLQ9JgmVOjxDNxoslezg
X-CU-OB: Yes
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1
 definitions=2022-10-03_02,2022-09-29_03,2022-06-22_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 suspectscore=0 clxscore=1015
 lowpriorityscore=10 malwarescore=0 priorityscore=1501 mlxscore=0
 phishscore=0 adultscore=0 mlxlogscore=999 spamscore=0 bulkscore=10
 impostorscore=10 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2209130000 definitions=main-2210030127
Received-SPF: pass client-ip=148.163.135.74; envelope-from=ajd2195@HIDDEN;
 helo=mx0a-00364e01.pphosted.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 04 Oct 2022 07:05:12 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


- emacs -Q
- Eval: (turn-on-flyspell)
- write a word that's not present in the dictionary
   (I wrote "incorrectlll")
- place cursor at word
- M-x flyspell-correct-word-before-point
- press down arrow (<down>) to navigate to the 'Save word' option
- emacs crashes
   (in the terminal, this is the message:
   Fatal error 11: Segmentation fault
   zsh: abort      emacs -Q
- (note: the crash only happens if I try to navigate to the option
   using keys: when I use a mouse/trackpad, there is no apparent issue

I've tried to follow the instructions to use the gdb debugger but I
wasn't able to get it to run: I don't have a src directory, as I built
emacs using homebrew. If there's anything else I can do to provide
useful information, let me know.


In GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.60 Version 12.6 (Build 21G115)) of 2022-10-03 built on
andrews-mbp.lan
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.6

Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
--infodir=/opt/homebrew/Cellar/emacs-plus@29/29.0.50/share/info/emacs
--prefix=/opt/homebrew/Cellar/emacs-plus@29/29.0.50 --with-xml2
--with-gnutls --with-native-compilation --without-compress-install
--without-dbus --with-imagemagick --with-modules --with-rsvg
--with-xwidgets --with-ns --disable-ns-self-contained 'CFLAGS=-Os -w
-pipe -mmacosx-version-min=12
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT'
'CPPFLAGS=-I/opt/homebrew/opt/zlib/include
-I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/opt/icu4c/include
-I/opt/homebrew/opt/openssl@HIDDEN/include
-I/opt/homebrew/opt/readline/include -isystem/opt/homebrew/include
-F/opt/homebrew/Frameworks
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
'LDFLAGS=-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/jpeg/lib
-L/opt/homebrew/opt/icu4c/lib -L/opt/homebrew/opt/openssl@HIDDEN/lib
-L/opt/homebrew/opt/readline/lib -L/opt/homebrew/lib
-F/opt/homebrew/Frameworks -Wl,-headerpad_max_install_names
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk''

Configured features:
ACL GIF GLIB GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES
NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP XIM XWIDGETS ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs
comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra
help-mode bytecomp byte-compile cconv cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal kqueue cocoa
ns lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 75976 9307)
(symbols 48 7044 0)
(strings 32 18851 2756)
(string-bytes 1 602506)
(vectors 16 16382)
(vector-slots 8 329785 12666)
(floats 8 27 30)
(intervals 56 293 0)
(buffers 1000 11))




Acknowledgement sent to Andrew John De Angelis <ajd2195@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#58288; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 4 Oct 2022 14:00:02 UTC

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