View previous topic :: View next topic |
Author |
Message |
djdunn l33t


Joined: 26 Dec 2004 Posts: 775 Location: Arrakis
|
Posted: Tue Jan 02, 2018 2:11 am Post subject: Borderlands 2 steam (fixed) |
|
|
getting this error in /var/log/messages
Code: | Jan 1 20:55:42 Iris kernel: traps: Borderlands2[14657] general protection ip:f782cfc0 sp:ffe177b8 error:0 in libc-2.26.so[f77f8000+1d9000] |
on ~amd64 with AMD cpu, AMD gpu with mesa drivers.
[Moderator edit: added [code] tags to preserve output layout. -Hu]
EDIT and fix: so the problem was with gcc-7.3 and bugs it had, things like the mstackrealign on glibc and others was a workaround, but upgrading and rebuilding with gcc-8 fixed all the bugs for me and everything works great, videos and all. _________________ A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.
-The First Law of Mentat
Last edited by djdunn on Sat Jun 23, 2018 12:11 am; edited 1 time in total |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 5539 Location: Removed by Neddy
|
Posted: Fri Jan 05, 2018 1:30 pm Post subject: |
|
|
probably downto libstd++ mismatch
have this set in your environment variables: STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 will force steam to prefer your system libs over the older steam libs _________________ The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king |
|
Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 775 Location: Arrakis
|
Posted: Sun Jan 07, 2018 11:47 pm Post subject: |
|
|
CIPCServer::Thr[14561]: segfault at 1 ip 0000000000000001 sp 00000000e75feddc error 14 in steam[56588000+3f4000]
tried that and got this. _________________ A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.
-The First Law of Mentat |
|
Back to top |
|
 |
Naib Watchman


Joined: 21 May 2004 Posts: 5539 Location: Removed by Neddy
|
Posted: Sun Jan 07, 2018 11:53 pm Post subject: |
|
|
ok, change the launch options (in steam) and add: SSL_CERT_DIR="/etc/ssl/certs" LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6' %command% _________________ The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king |
|
Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 775 Location: Arrakis
|
Posted: Mon Jan 08, 2018 1:15 am Post subject: |
|
|
Code: | Jan 7 20:14:24 Iris kernel: [10397.448894] traps: Borderlands2[14377] general protection ip:f7b85172 sp:ffc80b98 error:0 in libpthread-2.26.so[f7b78000+1c000] |
now this one.
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.
-The First Law of Mentat |
|
Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 775 Location: Arrakis
|
Posted: Mon Jan 08, 2018 1:17 am Post subject: |
|
|
Code: | Jan 7 20:17:04 Iris kernel: [10556.789767] traps: Borderlands2[18405] general protection ip:f7303299 sp:ffcb2668 error:0 in libxcb.so.1.1.0[f72f8000+2a000] |
[Moderator edit: added [code] tags to preserve output layout. -Hu] _________________ A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.
-The First Law of Mentat |
|
Back to top |
|
 |
PuckPoltergeist Apprentice

Joined: 28 Jul 2004 Posts: 189
|
Posted: Tue Mar 13, 2018 7:30 pm Post subject: |
|
|
I've had the same problem on my amdfam10 machine and after some search I found this: https://bugs.archlinux.org/task/54136
Stack alignment is the problem here too. I've identified the following packages need to be build with -mstackrealign:
Code: |
sys-libs/glibc
x11-libs/libxcb
media-libs/openal
media-sound/pulseaudio
|
Unfortunately for glibc this means hacking the eclass. But after recompiling the packages Borderlands2 works again for me. _________________ printk(KERN_CRIT "Whee.. Swapped out page in kernel page table\n");
linux-2.6.6/mm/vmalloc.c |
|
Back to top |
|
 |
ziemia n00b


Joined: 21 Sep 2005 Posts: 58
|
Posted: Wed Mar 14, 2018 1:42 pm Post subject: |
|
|
I've had the same problem - amdfam10. For me it was enough to recompile with Code: | -march=opteron-sse3 |
|
|
Back to top |
|
 |
mcraeaa n00b

Joined: 29 Aug 2007 Posts: 4
|
Posted: Thu Mar 22, 2018 1:59 am Post subject: |
|
|
Re-compiling the packages PuckPoltergeist mentioned also worked on my Ryzen machine. Thanks! |
|
Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 775 Location: Arrakis
|
Posted: Sat Mar 31, 2018 4:57 am Post subject: |
|
|
i got it to work compiling only glibc with -mstackrealign _________________ A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.
-The First Law of Mentat |
|
Back to top |
|
 |
Chiitoo Administrator


Joined: 28 Feb 2010 Posts: 1661 Location: Here and Away Again
|
Posted: Sat Mar 31, 2018 1:22 pm Post subject: |
|
|
At least Portal 2 seems to be affected by something similar, as I mentioned here: After profile switch 13.0-17.0 Wine apps stop working
Portal 2 would work just fine until certain audio clips are played (a character start speaking somewhere in the game level).
That's on an Athlon 7750 (amdfam10) stable amd64 testing machine.
On the other hand, I do /not/ see the issue on my main, Ryzen 1700 (znver1) unstable ~amd64 machine. _________________ Kind Regards,
~ The Noob Unlimited ~
Sore wa sore, kore wa kore. |
|
Back to top |
|
 |
djdunn l33t


Joined: 26 Dec 2004 Posts: 775 Location: Arrakis
|
Posted: Sat Jun 23, 2018 12:10 am Post subject: |
|
|
had to upgrade and rebuild things with gcc-8 to get the bugs ironed out.
likely the bugs with like gcc-7.3 that got fixed in gcc-8
no mstackrealign on glibc or anything else either. _________________ A process cannot be understood by stopping it. Understanding must move with the flow of the process, must join it and flow with it.
-The First Law of Mentat |
|
Back to top |
|
 |
kajzer Guru


Joined: 27 Nov 2014 Posts: 340
|
Posted: Thu Feb 07, 2019 1:20 pm Post subject: |
|
|
Doesn't launch here, gcc 8.2.0 , znver1
Other games are working fine.
Any clue?
Code: | traps: Borderlands2[25711] general protection fault ip:f7427845 sp:ffbc81a8 error:0 in libxcb.so.1.1.0[f741c000+2c000] |
Edit:
Never mind, found the solution here, if someone needs it in the future here it is:
https://www.gamersonlinux.com/forum/threads/steam-on-non-ubuntu-64bit.2404/ |
|
Back to top |
|
 |
|