<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - XCOM: Enemy Unknown Causes lockup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80419#c27">Comment # 27</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - XCOM: Enemy Unknown Causes lockup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=80419">bug 80419</a>
from <span class="vcard"><a class="email" href="mailto:lordheavym@gmail.com" title="Laurent carlier <lordheavym@gmail.com>"> <span class="fn">Laurent carlier</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=80419#c26">comment #26</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=80419#c24">comment #24</a>)
> > (In reply to <a href="show_bug.cgi?id=80419#c23">comment #23</a>)
> > > Thanks, but again it won't work. This time it complains about missing
> > > libsteam_api.so
> >
> > It's possible running through apitrace is somehow losing the LD_LIBRARY_PATH
> > working variable or working directory. You can attach it with LD_PRELOAD
> > which should prevent this. Set the launch options to something like this:
> > LD_PRELOAD=/usr/local/lib/apitrace/wrappers/glxtrace.so:$LD_PRELOAD %command%
> > Adjust the path to the x86_64 glxtrace.so if necessary.
>
> And now it segfaults again, just like before:
>
> apitrace: redirecting dlopen("libGL.so.1", 0x102)
> apitrace: tracing to
> /home/ryan/.local/share/Steam/SteamApps/common/XCom-Enemy-Unknown/game.
> x86_64.trace
> Dumped crashlog to
> /home/ryan/.local/share/feral-interactive/XCOM/crashes//7f31c2e8-309f-1dae-
> 547b3bc4-458a6b0d.dmp
> /home/ryan/.local/share/Steam/SteamApps/common/XCom-Enemy-Unknown/binaries/
> linux/xcom.sh: line 39: 6587 Segmentation fault (core dumped)
> ${DEBUGGER} "${GAMEBINARY}" $@
> Game removed: AppID 200510 "XCOM: Enemy Unknown", ProcID 6576</span >
In ~/.local/share/Steam/SteamApps/common/XCom-Enemy-Unknown/ directory
* do a backup of xcom.sh file then edit the file
* line 79, change the line: eval "$GAMESCRIPT" $@
into: apitrace trace "$GAMESCRIPT" $@
* then save and launch the game, now the trace is properly generated</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>