From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58296: 29.0.50; "menu.c:120: Emacs fatal error: assertion failed: !menu_items_inuse" on macOS 10.13.6 Date: Wed, 05 Oct 2022 08:46:15 +0300 Message-ID: <83v8oyu8k8.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15786"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58296@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 05 07:47:41 2022 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 1ofxFt-0003xY-1u for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 07:47:41 +0200 Original-Received: from localhost ([::1]:40866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofxFr-0006MR-Uh for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Oct 2022 01:47:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofxFH-0006Kb-Ba for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 01:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofxFG-0000jk-Aa for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 01:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofxFF-0006Xs-Tv for bug-gnu-emacs@gnu.org; Wed, 05 Oct 2022 01:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Oct 2022 05:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58296 X-GNU-PR-Package: emacs Original-Received: via spool by 58296-submit@debbugs.gnu.org id=B58296.166494878525117 (code B ref 58296); Wed, 05 Oct 2022 05:47:01 +0000 Original-Received: (at 58296) by debbugs.gnu.org; 5 Oct 2022 05:46:25 +0000 Original-Received: from localhost ([127.0.0.1]:55681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofxEe-0006X2-N5 for submit@debbugs.gnu.org; Wed, 05 Oct 2022 01:46:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofxEc-0006Wp-Sp for 58296@debbugs.gnu.org; Wed, 05 Oct 2022 01:46:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofxEX-0000hY-JV; Wed, 05 Oct 2022 01:46:17 -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=aky6Y4i8g6sIfyeYwUgh5nkqXf0Vm4uVPTLZGKUfeVs=; b=F/SkvMhZ1uXT Y2VmPvMRS88OU2Ecj/DAhyE+3DQchBZaa54bjFAQRbGQ8QUmL+bXvRh7rkoma1VvfK6JKvyqYi8e4 VaIGuAdUSocJq6f3lg2aDpZaW4kSIAEysEyrRc6NdC8OUFDWHPYsGsfOLwRy9w7RCIMy/mRGVTfkO 0mVy55uH48WePADyZM3/OQTl2l3Qkk2qKDIEr/C9KX6N0iu18rT0j4p5Am4aLq1TJ2zC1SpoVzW2H CZvc/HPj3nkw645bo+TpeGQDI91x2Xy1f3csIXKDjSfH+ag9j3VamKTSCxKCaJf1EbLrCi4xTIry5 WxY/5QtQjb6WkhVEMCPGwg==; Original-Received: from [87.69.77.57] (port=1635 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofxEW-00048S-VM; Wed, 05 Oct 2022 01:46:17 -0400 In-Reply-To: (message from Stefan Kangas on Wed, 5 Oct 2022 00:11:25 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:244487 Archived-At: > From: Stefan Kangas > Date: Wed, 5 Oct 2022 00:11:25 +0200 > > Run "emacs -Q", type "M-x ns-print-buffer" to print, press either > "Yes" or "No" (or type ESC). > > Emacs crashes with this printed on terminal: > > menu.c:120: Emacs fatal error: assertion failed: !menu_items_inuse > Fatal error 6: Aborted > Abort trap: 6 > > gdb backtrace: > > Thread 3 hit Breakpoint 1, terminate_due_to_signal (sig=6, > backtrace_limit=2147483647) at emacs.c:421 > 421 signal (sig, SIG_DFL); > (gdb) bt > #0 terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:421 > #1 0x00000001002b73ce in die (msg=0x10052cd9e "!menu_items_inuse", > file=0x10052cdb0 "menu.c", line=120) at alloc.c:7672 > #2 0x00000001000ebbe2 in discard_menu_items () at menu.c:120 > #3 0x00000001004cc2c4 in pop_down_menu (arg=0x1035e5170) at nsmenu.m:1554 Isn't this due to the same reason as bug#58288? The NS build tries to use a popup menu that no code has set up correctly, or whose data was deleted/GCed.