<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unreal Tournament (UT99) segfault on opengl init"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108933#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Unreal Tournament (UT99) segfault on opengl init"
href="https://bugs.freedesktop.org/show_bug.cgi?id=108933">bug 108933</a>
from <span class="vcard"><a class="email" href="mailto:wielkiegie@gmail.com" title="Gustaw Smolarczyk <wielkiegie@gmail.com>"> <span class="fn">Gustaw Smolarczyk</span></a>
</span></b>
<pre>Static initialization order is undefined between translation units (i.e. source
files) but it is defined within one translation unit - it is the global
variable definition order. Since #include <iostream> defines (not declares) a
static global variable with initializer, you can safely use std::cout and
friends from other static initializers that are defined after the <iostream>
include.
The segfault looks like a mismatch in the standard library. Does UT99 use the
/usr/lib/libstdc++.so.6 or does it use a local version? If it's the latter,
what happens when you force it to use the distro one?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>