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#59104: 28.2; Uninitialized field command_modes in Lisp_Module_Function Date: Thu, 10 Nov 2022 12:56:30 +0200 Message-ID: <8335arrsbl.fsf@gnu.org> References: <6bee3bae-864a-e00c-cf13-4d98215688a9@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31441"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59104-done@debbugs.gnu.org To: Richard Copley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 10 11:57:19 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 1ot5FH-000822-DW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Nov 2022 11:57:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ot5F1-0002xC-Rs; Thu, 10 Nov 2022 05:57:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot5F0-0002wp-BH for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2022 05:57:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ot5F0-0002sF-2o for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2022 05:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ot5Ez-0000DD-V4 for bug-gnu-emacs@gnu.org; Thu, 10 Nov 2022 05:57:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Nov 2022 10:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59104 X-GNU-PR-Package: emacs Mail-Followup-To: 59104@debbugs.gnu.org, eliz@gnu.org, rcopley@gmail.com Original-Received: via spool by 59104-done@debbugs.gnu.org id=D59104.1668077807789 (code D ref 59104); Thu, 10 Nov 2022 10:57:01 +0000 Original-Received: (at 59104-done) by debbugs.gnu.org; 10 Nov 2022 10:56:47 +0000 Original-Received: from localhost ([127.0.0.1]:42099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot5Ek-0000Ce-VQ for submit@debbugs.gnu.org; Thu, 10 Nov 2022 05:56:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ot5Ei-0000CS-Vp for 59104-done@debbugs.gnu.org; Thu, 10 Nov 2022 05:56:45 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ot5Ed-0002n2-JT; Thu, 10 Nov 2022 05:56:39 -0500 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=Q3/y3bj8/cpULSTn2rKKFqEj2wrYDQ/RojXHdcqApjA=; b=SAOVAQozU5eh t6Kt6x+X0NG4+22GlyVfWjYPGKRZL85FDLfwuU9q+4SqXyaI2V2B36drflKgj1tZS/uT9TyZx9opX 2tlJSRJGkV+eoC6i0vJJN2rF/And6IK8VRXfYCs9Nw7DTWfFXMhUfVhAKCUAPBaY0x+uMXz0/Wu7I 2jdSjbpqkAYIDR2pnXUMsPlpftEX4ZX9UgCA2Dj/tY3cAiLwF1orWlEW2JxcXaTTJ0fur6d3ppkad bTwSxhF5FVr+H9f6mi0TXWFljnQ0oJuH0kOI1260gSZg3h4SE0EggNpU/00hxDHXNjc/ebQQ6oa8r G5DVY2mpCVaCR4YAN5kqwA==; Original-Received: from [87.69.77.57] (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 1ot5EV-0005pB-EP; Thu, 10 Nov 2022 05:56:38 -0500 In-Reply-To: <6bee3bae-864a-e00c-cf13-4d98215688a9@gmail.com> (message from Richard Copley on Wed, 9 Nov 2022 16:24:35 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247509 Archived-At: > Date: Wed, 9 Nov 2022 16:24:35 +0000 > From: Richard Copley > > > The command_modes field seems to be uninitialized. This might print a > > random integer, print a randomly selected lisp object from memory, or > > segfault. > > I can confirm that changing the 'field' argument from "interactive_form" > to "command_modes", in the invocation of ALLOCATE_PSEUDOVECTOR in > allocate_module_function (), fixes the problem. See "emacs-module.c", > line 564. Thanks, I think this is the right fix, so I've now installed this on the master branch, and I'm closing the bug.