[Bug 1025985] New: X-server reliably crashing from userspace
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985 Bug ID: 1025985 Summary: X-server reliably crashing from userspace Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: dieter.jurzitza@t-online.de QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- Created attachment 714656 --> http://bugzilla.opensuse.org/attachment.cgi?id=714656&action=edit The name speaks for itself. I have a tgif - file that reliably crashes the X-server each time I try to load it (no problem on opensuse leap 42.1, not on 13.2 not on any other distribution.) It is called "crashx11.obj" and can be found attached to this bug - report. OS: openSUSE Leap 42.2 Condition: start tgif with the file attached Result: server crash When tgif is started on my machine with the attached file, the X-server crashes badly, ending at the login - screen. The logfile Xorg.log.old states: fred@djunix-office:~/x11-crash> cat errorlog2 [ 10168.529] Failed to compile VS: 0:13(43): error: `pos' undeclared 0:13(14): error: operands to arithmetic operators must be numeric 0:13(13): error: operands to arithmetic operators must be numeric [ 10168.529] Program source: #version 130 attribute vec3 primitive; varying float dash_offset; uniform vec2 fill_offset; uniform vec2 fill_size_inv; varying vec2 fill_pos; uniform float dash_length; uniform vec4 v_matrix; void main() { dash_offset = primitive.z / dash_length; gl_Position.xy = primitive.xy.xy * v_matrix.xz + v_matrix.yw; gl_Position.zw = vec2(0.0,1.0); fill_pos = (fill_offset + primitive.xy + pos) * fill_size_inv; } [ 10168.529] (EE) Fatal server error: [ 10168.529] (EE) GLSL compile failure [ 10168.529] (EE) [ 10168.529] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 10168.529] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 10168.529] (EE) [ 10168.529] (II) AIGLX: Suspending AIGLX clients for VT switch [ 10168.903] (EE) Server terminated with error (1). Closing log file. This resembled me to the bug fixed by Michel Dänzer (see Bug 97300) --- glamor/glamor_composite_glyphs.c +++ glamor/glamor_composite_glyphs.c @@ -199,7 +199,8 @@ static const glamor_facet glamor_facet_composite_glyphs_12 .vs_vars = ("attribute vec2 primitive;\n" "attribute vec2 source;\n" "varying vec2 glyph_pos;\n"), - .vs_exec = (GLAMOR_POS(gl_Position, primitive) + .vs_exec = (" vec2 pos = vec2(0,0);\n" + GLAMOR_POS(gl_Position, primitive.xy) " glyph_pos = source.xy * ATLAS_DIM_INV;\n"), .fs_vars = ("varying vec2 glyph_pos;\n"), .fs_exec = (" vec4 mask = texture2D(atlas, glyph_pos);\n"), however, this did not fix the issue. What is somewhat strange is the fact that the error states "primitive.xy.xy", please note the double referencing. I could track this down to the line 81 in the (suse -patched ...) file glamor_program.c, where the line with "fill_pos = ...." orignates from - but my knowledge on x11 and C does not bring me further. I wrote a corresponding comment / question upstream to xorg-devel just to let you know. I experienced tgif to be rock - solid since years, the problem must stem from somewhere else (no userland application should be able to kill the x-server IMHO). If I get any feedback from upstream I will report it here immediatly. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c1
--- Comment #1 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c6
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c7
Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c8
Stefan Dirsch
Hello, isn't this
https://lists.x.org/archives/xorg-devel/2016-August/050713.html
what you are asking for?
This includes only the second hunk of your patch. So what happened to your first hunk? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c9
Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c10
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c11
--- Comment #11 from Marcus Meissner
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c12
Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c13
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c14
--- Comment #14 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c15
--- Comment #15 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c16
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c17
--- Comment #17 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c18
--- Comment #18 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c19
--- Comment #19 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c20
--- Comment #20 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c21
--- Comment #21 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c22
--- Comment #22 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c23
--- Comment #23 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c24
--- Comment #24 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c25
--- Comment #25 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c26
--- Comment #26 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c27
--- Comment #27 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c28
--- Comment #28 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c29
--- Comment #29 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c30
--- Comment #30 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c31
--- Comment #31 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c32
--- Comment #32 from Dieter Jurzitza
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c33
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985
http://bugzilla.opensuse.org/show_bug.cgi?id=1025985#c35
--- Comment #35 from Max Staudt
participants (1)
-
bugzilla_noreply@novell.com