<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Alien Isolation segfault after initial loading screen/video"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95026#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Alien Isolation segfault after initial loading screen/video"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95026">bug 95026</a>
from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
<pre>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 ""?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>