From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: [feature/native-comp] Segfaulting in push or =?utf-8?Q?nrever?= =?utf-8?Q?se=C2=A0=3F?= Date: Mon, 30 Nov 2020 20:03:51 +0000 Message-ID: References: <457a0d97-fdaa-473e-9f7a-257d5792d70c@www.fastmail.com> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26675"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "Emacs development discussions." To: "Gerry Agbobada" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 30 21:05:07 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kjpQ2-0006nu-9F for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 21:05:06 +0100 Original-Received: from localhost ([::1]:52230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjpQ1-0008MK-7i for ged-emacs-devel@m.gmane-mx.org; Mon, 30 Nov 2020 15:05:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjpOv-0007rJ-0I for emacs-devel@gnu.org; Mon, 30 Nov 2020 15:03:57 -0500 Original-Received: from mab.sdf.org ([205.166.94.33]:43798 helo=ma.sdf.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjpOt-0006AM-9C for emacs-devel@gnu.org; Mon, 30 Nov 2020 15:03:56 -0500 Original-Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from ) id 1kjpOq-0000CK-Se; Mon, 30 Nov 2020 20:03:52 +0000 In-Reply-To: <457a0d97-fdaa-473e-9f7a-257d5792d70c@www.fastmail.com> (Gerry Agbobada's message of "Mon, 30 Nov 2020 17:47:10 +0100") Received-SPF: pass client-ip=205.166.94.33; envelope-from=akrl@sdf.org; helo=ma.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260094 Archived-At: "Gerry Agbobada" writes: > Hello, > > I've been using native-comp for a while and thanks for that. I think I found an issue with a seemingly simple function > that only uses basic elisp procedures. > > * Issue > > When I run a specific rustic.el function while native-compiled, emacs segfaults; whereas if I delete the .eln file > (rustic-flycheck.eln) and use the byte-compiled file instead, the function works as advertised. > > I've included the basic code to trigger the segfault and the source of the function for easier inspection > > * Reproduction > > 1) Install rustic.el > 2) Native compile rustic.el > 3) Run emacs -l rustic-segfault.el > > Regards, > > Gerry Hi Gerry, thanks for the bug report and for having already isolated the offending function. This looks fun :) I've opened bug#44968 [1] so we can handle it there and we have record of it. Andrea [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44968