GNU bug report logs - #42677
27.1; 'Fatal Error 11: Segmentation fault'

Previous Next

Package: emacs;

Reported by: dfireBird _ <aadhishrm11 <at> gmail.com>

Date: Sun, 2 Aug 2020 15:29:02 UTC

Severity: normal

Merged with 42673, 42676

Found in versions 26.3, 27.1

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: dfireBird _ <aadhishrm11 <at> gmail.com>
Cc: 42677 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#42677: 27.1; 'Fatal Error 11: Segmentation fault'
Date: Sun, 02 Aug 2020 19:26:12 +0200
dfireBird _ <aadhishrm11 <at> gmail.com> writes:

> Thanks for helping.
> I used a paste since it's quite long text: https://paste.rs/uZR.

This looks very much like bug#42673:

Thread 1 (Thread 0x7ffff2dbe440 (LWP 65741)):
#0  0x0000555555665c20 in best_xim_style (xim=0x0) at xfns.c:2665
#1  create_frame_xic (f=f <at> entry=0x55555600cbc0) at xfns.c:2665

> The call in question is at
> https://git.savannah.gnu.org/cgit/emacs.git/tree/src/xterm.c?id=9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6#n10316
> Since the return value isn't checked, a failure to initialize here can
> cause `dpyinfo->xim_styles` to be `NULL` which intern cause readers
> like
> https://git.savannah.gnu.org/cgit/emacs.git/tree/src/xfns.c?id=9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6#n2659
> to pass a `NULL` pointer to `best_xim_style` and crash.


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 292 days ago.

Previous Next


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