Works fine for me on Arch with the latest KDE and AMD Catalyst Beta drivers.
Faults on call to XCreateIC()
@scottlu Any progress on this?
Problem still occurs with Catalyst 13.1.
I have the same issue here (segmentation fault in call to XCreateIC()) with an Nvidia Geforce GTX 560 (on Gentoo linux). So it is unlikely to be a driver related issue.
Looks like a NULL pointer is passed to XCreateIC which causes a segfault. My guess would be that a function call fails somewhere and returns NULL , which is passed on instead of being checked and acted upon.
Output from GDB:
Program received signal SIGSEGV, Segmentation fault.
0xf7eeab55 in XCreateIC () from /home/troels/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
(gdb) x/10i 0xf7eeab55-20
0xf7eeab41 <XCreateIC+33>: mov 0x28(%esp),%edx
0xf7eeab45 <XCreateIC+37>: lea 0x2c(%esp),%eax
0xf7eeab49 <XCreateIC+41>: mov %eax,(%esp)
0xf7eeab4c <XCreateIC+44>: lea 0x44(%esp),%eax
0xf7eeab50 <XCreateIC+48>: call 0xf7eea950
=> 0xf7eeab55 <XCreateIC+53>: mov (%esi),%eax
0xf7eeab57 <XCreateIC+55>: mov 0x2c(%esp),%edx
0xf7eeab5b <XCreateIC+59>: mov %esi,(%esp)
0xf7eeab5e <XCreateIC+62>: mov %edx,0x4(%esp)
0xf7eeab62 <XCreateIC+66>: call *0xc(%eax)
(gdb) info registers
eax 0x862e998 140700056
ecx 0xe 14
edx 0x862e998 140700056
ebx 0xf7fd6ff4 -134385676
esp 0xffff3bd0 0xffff3bd0
ebp 0x843b030 0x843b030
esi 0x0 0
edi 0xedc41119 -305917671
eip 0xf7eeab55 0xf7eeab55 <XCreateIC+53>
eflags 0x10282 [ SF IF RF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
The issue is the XOpenIM() is failing. I'm making it so Steam won't crash, but you still won't be able to enter text. I can put up a debug X11 library that you can drop in, if you would like to investigate.
A comparison of strace output with and without the STEAM_RUNTIME enabled would be valuable as well. I'm pretty sure what's happening is that X isn't finding your locale files, but I'm not entirely sure.
Here is the output of strace -f steam with STEAM_RUNTIME=0: https://gist.github.com/dom96/4734489
And here it is with STEAM_RUNTIME=1: https://gist.github.com/dom96/4734477
I'm not entirely sure why, but with STEAM_RUNTIME=0 I get an error dialog with the message:
Couldn't set up the Steam Runtime. Are you running low on disk space?
Continuing...
Hope this helps!
Okay, I uploaded debug X11 libraries:
cd /tmp
wget http://media.steampowered.com/client/runtime/libx11-debug.tgz
tar xvf libx11-debug.tgz
cp -av libx11-1.4.99.1/src/.libs/libX11_.so._ ~/.steam/root/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/
DEBUGGER=gdb steam
gdb> b XOpenIM
gdb> r
... :)
dom96, what locate settings are you using? If you do locale -a, which one of those is your default?
Here you go:
~ » locale -a
C
en_GB.utf8
POSIX
The latest steam update fixed the problem for me :)
Still fails for me, output:
~ » steam dom@EliteArch
Running Steam on arch 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1360379549_client)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
Installing breakpad exception handler for appid(steam)/version(1360379549_client)
Installing breakpad exception handler for appid(steam)/version(1360379549_client)
Installing breakpad exception handler for appid(steam)/version(1360379549_client)
Running Steam on arch 64-bit
STEAM_RUNTIME has been set by the user to: /home/dom/.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(1360724938_client)
Installing breakpad exception handler for appid(steam)/version(1360724938_client)
unlinked 0 orphaned pipes
surface_linux.cpp (693) : Assertion Failed: XOpenIM() failed, LANG = en_GB.UTF_8
Assert( Assertion Failed: XOpenIM() failed, LANG = en_GB.UTF_8 ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/vgui2/src/surface_linux.cpp:693
Installing breakpad exception handler for appid(steam)/version(1360724938_client)
Uploading dump (in-process) [proxy '']
/tmp/dumps/assert_20130213164109_1.dmp
success = yes
response: CrashID=bp-6e0d0339-057d-44a0-8fae-229d12130213
Installing breakpad exception handler for appid(steam)/version(1360724938_client)
[0213/164114:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(steam)/version(1360724938_client)
Installing breakpad exception handler for appid(steam)/version(1360724938_client)
Installing breakpad exception handler for appid(steam)/version(1360724938_client)
Steam: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 18 (X_ChangeProperty)
Value in failed request: 0x0
Serial number of failed request: 102
xerror_handler: X failed, continuing
/home/dom/.local/share/Steam/steam.sh: line 561: 1455 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
@scottlu Would you just like the output of GDB once that breakpoint is hit, or should I investigate, if so, how?
X supports en_GB.UTF-8, but does not support en_GB.UTF_8 (notice the underscore).
Please try with en_GB.UTF-8.
Btw, the very latest Steam client was changed to use en_US.UTF-8 if the default locale isn't supported by X.
Changing the locale has fixed it! (Not sure if you pushed the update which meant that an incorrect locale would still work, but it still segfaulted when I tried it.)
It seems that the steam window does not like being resized, in fact I resized it a bit and now it refuses to render the UI at all. It instead shows whatever was behind the window. (Possibly related to #679)
Nothing extracted yet.
When I try to run Steam I get the following output:
I am using AMD Catalyst 12.11 Beta 11 drivers, installed as the 'catalyst-total' package from the AUR.
Using XFCE but the same crash occurs on Cinnamon.
Output of
uname -a:Output of atisysteminfo script: https://gist.github.com/941899d7462ce55a0d26
My system specifications are:
I hope that's enough info. Please fix this, I would really love to use Steam on Linux.
Here is a thread on the Steam community with the same problem: http://steamcommunity.com/app/221410/discussions/1/882966057159057048/?tscn=1355901883