bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34394: 27.0.50; Emacs segfaults with SLY, company and C-g


From: Andreas Schwab
Subject: bug#34394: 27.0.50; Emacs segfaults with SLY, company and C-g
Date: Sat, 09 Feb 2019 09:08:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux)

On Feb 09 2019, João Távora <joaotavora@gmail.com> wrote:

>    The following is printed to stderr, if Emacs was started from the
>    terminal:
>    
>       *** longjmp causes uninitialized stack frame ***: ./src/emacs terminated
>       Fatal error 6: Aborted

That can mean that longjmp tried to use a stale jmp_buf, eg. of a stack
frame after it has returned.

> 4. Also bizarely, when using non-optimized build, configured with:
>
>       ./configure --enable-checking='yes,glyphs' \
>       --enable-check-lisp-object-type CFLAGS='-O0 -g3 -gdwarf-4'
>
>    I get _less_ information in gdb than when debugging an
>    optimized build:
>    
>       (gdb) bt full
>       #0  0x0000000000000000 in ?? ()
>       No symbol table info available.
>       #1  0x0000000000000000 in ?? ()
>       No symbol table info available.

That is typical for a process that has a clobbered stack.  Since longjmp
checking is not active in unoptimized builds (fortify checks require
optimisation), the process doesn't detect the undefined stack early
enough.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]