[Mesa-dev] [Bug 108933] Unreal Tournament (UT99) segfault on opengl init

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 8 19:33:50 UTC 2018


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

--- Comment #8 from iive at yahoo.com ---
(In reply to Gustaw Smolarczyk from comment #7)
> 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.

I've already tried placing "#include <locale>" before "iostream", but it has no
effect. I retested it to be sure.


> 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?

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181208/dabd5bed/attachment.html>


More information about the mesa-dev mailing list