[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71712: 29.3; Crash on OpenBSD
From: |
Eli Zaretskii |
Subject: |
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@korins.ky>
> Cc: manuel@ledu-giraud.fr,
> luangruo@yahoo.com,
> 71712@debbugs.gnu.org
>
> On Mon, 01 Jul 2024 12:18:09 +0100,
> Eli Zaretskii <eliz@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.
- bug#71712: 29.3; Crash on OpenBSD, Manuel Giraud, 2024/07/01
- bug#71712: 29.3; Crash on OpenBSD, Eli Zaretskii, 2024/07/01
- bug#71712: 29.3; Crash on OpenBSD, Kirill A . Korinsky, 2024/07/01
- bug#71712: 29.3; Crash on OpenBSD,
Eli Zaretskii <=
- bug#71712: 29.3; Crash on OpenBSD, Manuel Giraud, 2024/07/01
- bug#71712: 29.3; Crash on OpenBSD, Eli Zaretskii, 2024/07/01
- bug#71712: 29.3; Crash on OpenBSD, Kirill A . Korinsky, 2024/07/01
- bug#71712: 29.3; Crash on OpenBSD, Eli Zaretskii, 2024/07/01
- bug#71712: 29.3; Crash on OpenBSD, Kirill A . Korinsky, 2024/07/01