From: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 74981@debbugs.gnu.org, visuweshm@gmail.com
Subject: bug#74981: 29.4; X11 crash when minibuffer text scale is increased greatly
Date: Sat, 21 Dec 2024 11:03:48 -0800 [thread overview]
Message-ID: <87ttawsvsb.fsf@breatheoutbreathe.in> (raw)
In-Reply-To: <86seqh8p93.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Dec 2024 09:32:56 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Joseph Turner <joseph@breatheoutbreathe.in>
>> Cc: 74981@debbugs.gnu.org, Visuwesh <visuweshm@gmail.com>
>> Date: Fri, 20 Dec 2024 18:15:33 -0800
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> >> Date: Thu, 19 Dec 2024 14:06:59 -0800
>> >> From: Joseph Turner via "Bug reports for GNU Emacs,
>> >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>> >>
>> >> Tested on two window managers, exwm and dwm, with emacs -Q:
>> >>
>> >> Open the minibuffer, e.g., with M-x eval-expression. Run
>> >> text-scale-adjust with C-x C-=. The minibuffer text gets
>> >> bigger. Repeatedly press C-= until X11 crashes, bringing you back
>> >> to the
>> >> login prompt.
>> >
>> > Thanks.
>> >
>> > I can't reproduce this, but I'm not on X11. What happens here is
>> > that
>> > after many "C-x C-= C-=" presses, the minibuffer (whose contents
>> > becomes illegible long before that) starts blinking, and I need to
>> > C-g
>> > out of it (or C-x C-c to kill Emacs). This seems harmless enough,
>> > since the enlarged font is not useful past the point where the
>> > minibuffer no longer shows the minibuffer text.
>> >
>> > Can you run this under GDB, and when Emacs crashes, type
>> >
>> > (gdb) thread apply all bt
>> >
>> > and post everything GDB produces as result?
>>
>> Since the entire X11 session crashes, I'm not sure how to do this.
>>
>> Please advise. Thanks!
>
> I thought by "X11 session crashes" you meant the Emacs session. If
> X11 itself crashes, then I'd first look in the syslog file for any
> more detailed information about the crash, and then look for
> description of similar X11 crashes on the Internet. Also, perhaps
> upgrading or downgrading your X11 version would fix the problem.
The relevant part of ~/.local/share/xorg/Xorg.0.log.old appears to be:
[173297.242] Failed to compile FS: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES
[173297.242] Program source:
#version 130
#ifdef GL_ES
precision mediump float;
#endif
#define RepeatNone 0
#define RepeatNormal 1
#define RepeatPad 2
#define RepeatReflect 3
#define RepeatFix 10
uniform int source_repeat_mode;
uniform int mask_repeat_mode;
vec2 rel_tex_coord(vec2 texture, vec4 wh, int repeat)
{
vec2 rel_tex;
rel_tex = texture * wh.xy;
if (repeat == RepeatFix + RepeatNone)
return rel_tex;
else if (repeat == RepeatFix + RepeatNormal)
rel_tex = floor(rel_tex) + (fract(rel_tex) / wh.xy);
else if (repeat == RepeatFix + RepeatPad) {
if (rel_tex.x >= 1.0)
rel_tex.x = 1.0 - wh.z * wh.x / 2.;
else if (rel_tex.x < 0.0)
rel_tex.x = 0.0;
if (rel_tex.y >= 1.0)
rel_tex.y = 1.0 - wh.w * wh.y / 2.;
else if (rel_tex.y < 0.0)
rel_tex.y = 0.0;
rel_tex = rel_tex / wh.xy;
} else if (repeat == RepeatFix + RepeatReflect) {
if ((1.0 - mod(abs(floor(rel_tex.x)), 2.0)) < 0.001)
[173297.242] (EE)
Fatal server error:
[173297.242] (EE) GLSL compile failure
[173297.242] (EE)
[173297.242] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[173297.242] (EE) Please also check the log file at "/home/joseph/.local/share/xorg/Xorg.0.log" for additional information.
[173297.242] (EE)
[173297.242] (II) AIGLX: Suspending AIGLX clients for VT switch
[173297.256] (EE) Server terminated with error (1). Closing log file.
I looked up keywords like "GLSL compile failure" but to no avail.
> Perhaps you can run X11 itself under GDB, but I don't know how.
> Sorry.
>
> One other idea is to change the font you use for the default face,
> maybe it's the font which causes the problem. Cairo could also be the
> culprit, so using a different version of Cairo or a non-Cairo build
> might solve the problem.
>
> Finally, can I ask why you need to repeatedly press C-= so many times?
> is that a real-life need or just a curiosity?
I initially did it in an attempt to see greater detail in the Chinese
characters I'd typed in, but it's not something I need to do. This is a
very low-priority issue for me.
Joseph
next prev parent reply other threads:[~2024-12-21 19:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-19 22:06 bug#74981: 29.4; X11 crash when minibuffer text scale is increased greatly Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-20 6:55 ` Eli Zaretskii
2024-12-20 13:28 ` Visuwesh
2024-12-21 2:15 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-12-21 6:28 ` Visuwesh
2024-12-21 7:32 ` Eli Zaretskii
2024-12-21 19:03 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-12-21 20:30 ` Gerd Möllmann
2024-12-21 20:37 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttawsvsb.fsf@breatheoutbreathe.in \
--to=bug-gnu-emacs@gnu.org \
--cc=74981@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=joseph@breatheoutbreathe.in \
--cc=visuweshm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).