GNU bug report logs - #71712
29.3; Crash on OpenBSD

Previous Next

Package: emacs;

Reported by: Kirill A. Korinsky <kirill <at> korins.ky>

Date: Sat, 22 Jun 2024 00:29:02 UTC

Severity: normal

Tags: unreproducible

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #89 received at 71712 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: kirill <at> korins.ky
Cc: luangruo <at> yahoo.com, 71712 <at> debbugs.gnu.org, manuel <at> ledu-giraud.fr
Subject: Re: bug#71712: 29.3; Crash on OpenBSD
Date: Mon, 01 Jul 2024 16:43:39 +0300
> Date: Mon, 01 Jul 2024 14:29:23 +0100
> From: Kirill A. Korinsky <kirill <at> korins.ky>
> Cc: manuel <at> ledu-giraud.fr,
> 	luangruo <at> yahoo.com,
> 	71712 <at> debbugs.gnu.org
> 
> On Mon, 01 Jul 2024 12:18:09 +0100,
> Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 271 days ago.

Previous Next


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