<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#c8">Comment # 8</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:iive@yahoo.com" title="iive@yahoo.com">iive@yahoo.com</a>
</span></b>
<pre>(In reply to Gustaw Smolarczyk from <a href="show_bug.cgi?id=108933#c7">comment #7</a>)
<span class="quote">> 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.</span >
I've already tried placing "#include <locale>" before "iostream", but it has no
effect. I retested it to be sure.
<span class="quote">> 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?</span >
The game does not link to dynamic libstdc++ , most likely it had been
statically linked. The binaries are dated from 2006.
The binaries themselves could be obtained from the freely available linux
installer(s), but they do not contain enough to reproduce the crash. (You need
some of the game files).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>