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


View this message in rfc822 format

From: Kirill A. Korinsky <kirill <at> korins.ky>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 71712 <at> debbugs.gnu.org
Subject: bug#71712: 29.3; Crash on OpenBSD
Date: Sat, 22 Jun 2024 15:41:45 +0100
On Sat, 22 Jun 2024 13:59:04 +0100,
Po Lu <luangruo <at> yahoo.com> wrote:
> 
> >>   0xbf72627f9a1 <XSetWMNormalHints+0x2fd71> at emacs
> >>   0xbf72625a8ee <XSetWMNormalHints+0xacbe> at emacs
> >>   0xbf72627f6c7 <XSetWMNormalHints+0x2fa97> at emacs
> >>   Segmentation fault (core dumped) 
> >
> The printed offsets from XSetWMNormalHints are so large that the
> function in these frames cannot possibly be our XSetWMNormalHints
> replacement, sorry.

Indeed, and GDB confirms that:

(gdb) p XSetWMNormalHints+0x2fd71
$7 = (void (*)(Display *, Window, XSizeHints *)) 0xbf72627f9a1 <emacs_backtrace+289>
(gdb) p XSetWMNormalHints+0xacbe
$8 = (void (*)(Display *, Window, XSizeHints *)) 0xbf72625a8ee <terminate_due_to_signal+133>
(gdb) p XSetWMNormalHints+0x2fa97
$9 = (void (*)(Display *, Window, XSizeHints *)) 0xbf72627f6c7
(gdb)

Also, OpenBSD quite agressive in term of ASLR (address space layout
randomization), I doubt that it has to do with this, but I feel that it
worth to point. Does it ring any bell?

-- 
wbr, Kirill




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.