[Bug 95026] Alien Isolation segfault after initial loading screen/video

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 19 20:52:10 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95026

--- Comment #1 from Christoph Haag <haagch at frickel.club> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160419/12ddb6a1/attachment-0001.html>


More information about the dri-devel mailing list