GNU bug report logs - #75846
31.0.50; feature/igc pgtk build crash on Linux/wayland (kde plasma6)

Previous Next

Package: emacs;

Reported by: Eval EXEC <execvy <at> gmail.com>

Date: Sun, 26 Jan 2025 02:43:01 UTC

Severity: normal

Found in version 31.0.50

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eval Exec <execvy <at> gmail.com>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: 75846 <at> debbugs.gnu.org
Subject: Re: bug#75846: 31.0.50; feature/igc pgtk build crash on Linux/wayland
 (kde plasma6)
Date: Sun, 26 Jan 2025 11:06:37 +0800
I confirmed I didn't include -fno-omit-frame-pointer, but I find I
have -fno-omit-frame-pointer in MPS_CFLAGS:

```bash
$ cat config.log | grep -C3 fno-omit-frame
MODULES_OBJ='emacs-module.o'
MODULES_SECONDARY_SUFFIX=''
MODULES_SUFFIX='.so'
MPS_CFLAGS='-fno-omit-frame-pointer'
NANOSLEEP_LIB=''
NATIVE_COMPILATION_AOT='yes'
NDK_BUILD_ABI=''
```

And I build emacs by:

#!/usr/bin/env bash
set -ex

make extraclean

BRANCH_NAME=$(git branch --show-current | sed 's/\//_/g')
COMMIT_ID=$(git rev-parse HEAD)
BUILD_DIR=${BRANCH_NAME}-${COMMIT_ID}-pgtk-gdb
INSTALL_PREFIX=$(realpath ../emacs-build/${BUILD_DIR})

./autogen.sh
./configure  CFLAGS='-g3 -ggdb -O3 -march=native' \
  --prefix=${INSTALL_PREFIX} \
  --with-imagemagick  \
  --with-mps=yes \
  --with-pgtk \
  --with-modules \
  --with-cairo --with-cairo-xcb \
  --without-compress-install \
  --with-mailutils\
  --enable-link-time-optimization \
  --with-tree-sitter --with-xinput2 \
  --with-dbus \
  --with-native-compilation=aot \
  --with-file-notification=inotify\
  && make -j20 install

On Sun, Jan 26, 2025 at 11:02 AM Pip Cet <pipcet <at> protonmail.com> wrote:
>
> "Eval EXEC" <execvy <at> gmail.com> writes:
>
> > Hello,
> >
> > I'm helping to test feature/igc branch on my machine, and I got a crash,
> > the build doesn't have gdb debug symbols, and I'm going to recompile
> > emacs with gdb debug symbol to reproduce it.
>
> Thanks for the report!
>
> Reproducing this with a gdb backtrace would be great; it's possible
> there's no additional information in there, but it's also possible it'll
> reveal the problem.
>
> Could you confirm (from the build log) that the
> "-fno-omit-frame-pointer" option was present when building Emacs?
>
> > In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
> >  3.24.43, cairo version 1.18.2) of 2025-01-25 built on Mufasa
> > Repository revision: 67e602105774a31508239a6d2a6a05a4d4c5d363
> > Repository branch: feature/igc
> > System Description: NixOS 24.11 (Vicuna)
> >
> > Configured using:
> >  'configure 'CFLAGS=-O3 -march=native'
>
> I tried configuring like that, and my CFLAGS didn't include
> -fno-omit-frame-pointer.
>
> Stefan Kangas, you added the code in commit
> 2dfef251453f591c51d983c3e5148efc1d534760.  Any idea why it might not be
> working?
>
> Pip
>




This bug report was last modified 167 days ago.

Previous Next


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