From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 95026] Alien Isolation segfault after initial loading screen/video Date: Tue, 19 Apr 2016 20:52:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0092940551==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 228516E846 for ; Tue, 19 Apr 2016 20:52:10 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0092940551== Content-Type: multipart/alternative; boundary="14610991300.68fF6.24076"; charset="UTF-8" --14610991300.68fF6.24076 Date: Tue, 19 Apr 2016 20:52:10 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=95026 --- Comment #1 from Christoph Haag --- Aww I got it wrong. When CFLAGS is not set, mesa is compiled with this: CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp And it still segfaults, but with -g I can of course get a backtrace: Thread 34 "WinMain" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffc8553700 (LWP 2682)] 0x00007fffe985e557 in glsl_to_tgsi_visitor::visit (this=0x7fff3eddace0, ir=0x7fff3eebc7e8) at state_tracker/st_glsl_to_tgsi.cpp:1537 1537 { (gdb) set logging on Copying output to gdb.txt. (gdb) bt full #0 0x00007fffe985e557 in glsl_to_tgsi_visitor::visit (this=0x7fff3eddace0, ir=0x7fff3eebc7e8) at state_tracker/st_glsl_to_tgsi.cpp:1537 operand = op = {{file = PROGRAM_TEMPORARY, index = 0, index2D = 0, swizzle = 0, negate = 0, type = 0, reladdr = 0x0, reladdr2 = 0x0, has_index2 = false, double_reg2 = false, array_id = 0, is_double_vertex_input = false}, {file = PROGRAM_TEMPORARY, index = 0, index2D = 0, swizzle = 0, negate = 0, type = 0, reladdr = 0x0, reladdr2 = 0x0, has_index2 = false, double_reg2 = false, array_id = 0, is_double_vertex_input = false}, {file = PROGRAM_TEMPORARY, index = 0, index2D = 0, swizzle = 0, negate = 0, type = 0, reladdr = 0x0, reladdr2 = 0x0, has_index2 = false, double_reg2 = false, array_id = 0, is_double_vertex_input = false}, {file = PROGRAM_TEMPORARY, index = 0, index2D = 0, swizzle = 0, negate = 0, type = 0, reladdr = 0x0, reladdr2 = 0x0, has_index2 = false, double_reg2 = false, array_id = 0, is_double_vertex_input = false}} result_src = result_dst = vector_elements = #1 0x0000000000000000 in ?? () No symbol table info available. I'll keep playing around to find out how it did actually work. Maybe it was with CFLAGS not unset, but set to ""? -- You are receiving this mail because: You are the assignee for the bug. --14610991300.68fF6.24076 Date: Tue, 19 Apr 2016 20:52:10 +0000 MIME-Version: 1.0 Content-Type: text/html

Comment # 1 on bug 95026 from
Aww I got it wrong. When CFLAGS is not set, mesa is compiled with this:
CFLAGS:          -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration
-Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno
-fno-trapping-math -fno-builtin-memcmp
CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp

And it still segfaults, but with -g I can of course get a backtrace:

Thread 34 "WinMain" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc8553700 (LWP 2682)]
0x00007fffe985e557 in glsl_to_tgsi_visitor::visit (this=0x7fff3eddace0,
ir=0x7fff3eebc7e8) at state_tracker/st_glsl_to_tgsi.cpp:1537
1537    {
(gdb) set logging on
Copying output to gdb.txt.
(gdb) bt full
#0  0x00007fffe985e557 in glsl_to_tgsi_visitor::visit (this=0x7fff3eddace0,
ir=0x7fff3eebc7e8) at state_tracker/st_glsl_to_tgsi.cpp:1537
        operand = <optimized out>
        op = {{file = PROGRAM_TEMPORARY, index = 0, index2D = 0, swizzle = 0,
negate = 0, type = 0, reladdr = 0x0, reladdr2 = 0x0, has_index2 = false,
double_reg2 = false, array_id = 0,
            is_double_vertex_input = false}, {file = PROGRAM_TEMPORARY, index =
0, index2D = 0, swizzle = 0, negate = 0, type = 0, reladdr = 0x0, reladdr2 =
0x0, has_index2 = false,
            double_reg2 = false, array_id = 0, is_double_vertex_input = false},
{file = PROGRAM_TEMPORARY, index = 0, index2D = 0, swizzle = 0, negate = 0,
type = 0, reladdr = 0x0,
            reladdr2 = 0x0, has_index2 = false, double_reg2 = false, array_id =
0, is_double_vertex_input = false}, {file = PROGRAM_TEMPORARY, index = 0,
index2D = 0, swizzle = 0,
            negate = 0, type = 0, reladdr = 0x0, reladdr2 = 0x0, has_index2 =
false, double_reg2 = false, array_id = 0, is_double_vertex_input = false}}
        result_src = <optimized out>
        result_dst = <optimized out>
        vector_elements = <optimized out>
#1  0x0000000000000000 in ?? ()
No symbol table info available.

I'll keep playing around to find out how it did actually work. Maybe it was
with CFLAGS not unset, but set to ""?


You are receiving this mail because:
  • You are the assignee for the bug.
--14610991300.68fF6.24076-- --===============0092940551== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0092940551==--