GNU bug report logs - #24041
25.1.50; xwidget + -nw mode gives segfault

Previous Next

Package: emacs;

Reported by: Shane Hansen <shanemhansen <at> gmail.com>

Date: Wed, 20 Jul 2016 16:08:02 UTC

Severity: normal

Found in version 25.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Cochran <robert-emacs <at> cochranmail.com>
Cc: shanemhansen <at> gmail.com, 24041 <at> debbugs.gnu.org
Subject: Re: bug#24041: 25.1.50; xwidget + -nw mode gives segfault
Date: Mon, 22 Aug 2016 17:41:54 +0300
> From: Robert Cochran <robert-emacs <at> cochranmail.com>
> Cc: Robert Cochran <robert-emacs <at> cochranmail.com>,  shanemhansen <at> gmail.com,  24041 <at> debbugs.gnu.org
> Date: Sun, 21 Aug 2016 19:12:41 -0700
> 
> Anyways, I have a patch, below, that's my first stab at solving the
> problem. All it does is call `check_x_display_info` with the current
> frame and allows any resulting error signals to propagate back up.
> 
> Probably not the most elegant solution, but I'm not entirely clear what
> can and can't be done from within the Emacs C core. Suggestions are very
> welcome.

My only comment is that you could call check_x_display_info with Qnil
as its argument.

Otherwise, LGTM, thanks.  And I see nothing inelegant in this patch.




This bug report was last modified 5 years and 267 days ago.

Previous Next


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