https://bugs.freedesktop.org/show_bug.cgi?id=80419
--- Comment #27 from Laurent carlier lordheavym@gmail.com --- (In reply to comment #26)
(In reply to comment #24)
(In reply to comment #23)
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
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