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#71712: 29.3; Crash on OpenBSD Date: Mon, 01 Jul 2024 16:43:39 +0300 Message-ID: <86wmm5dy7o.fsf@gnu.org> References: <864j9lju9u.fsf@gnu.org> <861q4pi9ey.fsf@gnu.org> <87v82116cn.fsf@yahoo.com> <86bk3tgefm.fsf@gnu.org> <6d1bcb846388ac3d@mx2.catap.net> <86le2r977g.fsf@gnu.org> <00ce57affcc0f9c6@mx1.catap.net> <86wmmb7kg2.fsf@gnu.org> <5e1e8a46816e8a53@mx2.catap.net> <86ikxv6jb4.fsf@gnu.org> <5e1e90104a086932@mx2.catap.net> <86wmma4lb2.fsf@gnu.org> <5e1e90d2882be9dc@mx2.catap.net> <8734oug6d9.fsf@ledu-giraud.fr> <790c2e84932750fe@mx2.catap.net> <87wmm6s50b.fsf@ledu-giraud.fr> <790c3123fb846ef4@mx2.catap.net> <86jzi5fjim.fsf@gnu.org> <790c36d32cefaf4c@mx2.catap.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 71712@debbugs.gnu.org, manuel@ledu-giraud.fr To: kirill@korins.ky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 01 15:44:15 2024 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 1sOHKI-0002px-Kt for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Jul 2024 15:44:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOHK7-0007oC-U0; Mon, 01 Jul 2024 09:44:03 -0400 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 1sOHK6-0007lD-3w for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2024 09:44:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOHK5-0005e5-QX for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2024 09:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOHK6-0004NB-0V for bug-gnu-emacs@gnu.org; Mon, 01 Jul 2024 09:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jul 2024 13:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71712 X-GNU-PR-Package: emacs Original-Received: via spool by 71712-submit@debbugs.gnu.org id=B71712.171984143116783 (code B ref 71712); Mon, 01 Jul 2024 13:44:01 +0000 Original-Received: (at 71712) by debbugs.gnu.org; 1 Jul 2024 13:43:51 +0000 Original-Received: from localhost ([127.0.0.1]:60593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOHJv-0004Md-23 for submit@debbugs.gnu.org; Mon, 01 Jul 2024 09:43:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOHJr-0004MP-Rq for 71712@debbugs.gnu.org; Mon, 01 Jul 2024 09:43:49 -0400 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 1sOHJl-0005bj-9h; Mon, 01 Jul 2024 09:43:41 -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=rmcyV5cIK/RcFY4iggm+aZEAcOvc+D1nF+tKTSb4Oqk=; b=jPmu9yX5xL6e /fr2E9WigWghdYtEWsdW7P53el8KctXXJaraUywd3ud39zDtu2Qs/9fkmsOKX8b67ldJPj+r6EqwQ bE1KtlXI+zPe+sEjqY8sM1SPMiFBQ/U+uG3+7ni+Lrx2voer9q5GpZfY+kKEKTrz41BM7cY26zwNF MbsFwd8aI0Q7hmTSJbe6E8ZgEffT0MIrKQhETjZ/AdX/94PW2yH0yYX8GmvQYQkFHr4n0VAXyUbu/ PK9nyzVuJXPHau0/kxoDicxyXJ550vviSxV6zB0OaM4E3xZnnFlbus6TX+SYNHp6obpImP50W9EHE UcBxDc+AZ15Y/CgbN/+Emg==; In-Reply-To: <790c36d32cefaf4c@mx2.catap.net> (message from Kirill A. Korinsky on Mon, 01 Jul 2024 14:29:23 +0100) 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:288255 Archived-At: > Date: Mon, 01 Jul 2024 14:29:23 +0100 > From: Kirill A. Korinsky > Cc: manuel@ledu-giraud.fr, > luangruo@yahoo.com, > 71712@debbugs.gnu.org > > On Mon, 01 Jul 2024 12:18:09 +0100, > Eli Zaretskii wrote: > > > > The URL in [4] is identical to [3], so did you make some copy/paste > > mistake? That URL doesn't suggest to rebuild Emacs. I'd be > > interested to know how you rebuilt it to make the crashes go away. > > > > In any case, does this mean the problem is solved, and this bug can be > > closed now? > > > > Sorry, yes, it is copy/paste mistake. > > I had rebuild it via ports by hacking emacs port as: > > diff --git editors/emacs/Makefile editors/emacs/Makefile > index 7c58942338b..4014d0b555f 100644 > --- editors/emacs/Makefile > +++ editors/emacs/Makefile > @@ -4,6 +4,7 @@ COMMENT= GNU editor: extensible, customizable, self-documenting > # Zap post-extract when updating > VERSION= 29.4 > DISTNAME= emacs-${VERSION} > +REVISION= 0 > > CATEGORIES= editors > > @@ -20,6 +21,11 @@ WANTLIB += tree-sitter xml2 z > SITES= ${SITE_GNU:=emacs/} > EXTRACT_SUFX= .tar.xz > > +# https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71712#8 > +CFLAGS = -O0 -g3 > +CONFIGURE_ARGS+= --enable-checking='yes,glyphs' \ > + --enable-check-lisp-object-type > + > DEBUG_PACKAGES = ${BUILD_PACKAGES} > > FLAVORS= athena gtk2 gtk3 no_x11 > > > and run make upgrade to upgrade this port Thanks. So an unoptimized build doesn't crash. My suggestion would be to try a build with "-O1 -g3" and see if that works for you.