Spacechem not working on 64 bit #40

Closed
chrismackey opened this Issue Dec 20, 2012 · 41 comments

Comments

Projects
None yet

Spacechem works fine in a 32 bit installation, but fails to launch on a 64 bit install.

Contributor

mdaffin commented Dec 20, 2012

Do you have the 32bit libraries installed? Steam is only a 32bit application atm and so are its games.

Yeah I do. I'm on Arch and multilib is enabled. The Steam client works fine, as do other games, apart from Spacechem.

alzeih commented Dec 20, 2012

spacechem-launcher: installing required packages...

Spacechem seems to launch sudo apt-get (something) on launch, which is definitely not going to work under Arch.

I have a similar issue on Lubuntu 12.04 64 bit. When I try and start the game nothing happens... Where would one find a log of the program's actions on launch?

Contributor

mdaffin commented Dec 20, 2012

I have a similar issue on Lubuntu 12.04 64 bit. When I try and start the game nothing happens... Where would one find a log of the program's actions on launch?

Launch steam in a terminal.

I ran Steam in a terminal and here's what I got back.
http://seansouthern.com/misc/steam_log.txt

At that point it was up and running so I pressed enter on the command line and it gave me this.
http://seansouthern.com/misc/steam_log2.txt

Ah! Here's what I get when I start SpaceChem before Steam gets a chance to crash.
http://seansouthern.com/misc/steamScLaunch.txt

Contributor

mdaffin commented Dec 20, 2012

sean@sean-laptop:~$ sudo steam

Why would you do that? Steam should not run as root

You probably now have a bunch of root owned files in your home directory which will cause all sorts of problems when you try to run steam :S

Here's the attempt without giving it root priviledges.
http://seansouthern.com/misc/steamScLog.txt

Uh oh, I'll reinstall

Contributor

mdaffin commented Dec 20, 2012

Try:

sudo chown -R $USER:$USER $HOME

that will make all files in your home directory owned by your user

Couldn't that command have some ill side effects?
Would a complete reinstall of Steam do something similar?

draeath commented Dec 20, 2012

That command might be overly broad. Instead of $HOME, run it against your steam directory.

That doesn't seem to fix the problem. I get a similar error as before.
By the way, here is my System Info gathered by the Steam Client.
Also, I am unable to run the latest version of Nvidia graphics driver,
it causes my system to boot to the command line. Not sure what
the problem is there.

Processor Information:
Vendor: GenuineIntel
Speed: 2401 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Unsupported

Network Information:
Network Speed:

Operating System Version:
Ubuntu 12.04.1 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 3.2.0-35-generic
X Server vendor: The X.Org Foundation
X Server release: 11103000

Video Card:
Driver: NVIDIA Corporation GeForce 9650M GT/PCIe/SSE2

Driver Version:  3.3.0 NVIDIA 304.48
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x10de
DeviceID:  0x64c
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1280 x 800
Desktop Resolution: 1280 x 800
Primary Display Size: 13.03" x 8.15"  (15.35" diag)
                                        33.1cm x 20.7cm  (39.0cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 1024 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
Audio device:

Memory:
RAM: 3954 Mb

Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Microphone: Not set
Total Hard Disk Space Available: 234677 Mb
Largest Free Hard Disk Block: 21767 Mb

Installed software:

Recent Failure Reports:

It's not a problem you can fix. It's a bug.

Then this should be flagged as a bug and maybe the SpaceChem team can look into it

I also want to play this game really badly!

frankc-valve was assigned Dec 20, 2012

muesli4 commented Dec 21, 2012

I get the following error messages when starting, also the sync with the steam cloud seems not to work:

...
Attempting to use a Windows only path root on non-Windows platform for game 92800
Failed to resolve path before download
Attempting to use a Windows only path root on non-Windows platform for game 92800
Attempting to use a Windows only path root on non-Windows platform for game 92800
Game update: AppID 92800 "SpaceChem", ProcID 6601, IP 0.0.0.0:0
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
spacechem-launcher: launching SpaceChem...
ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for #=qnH6iBO6MQt97JINRbHwrsw==
Server stack trace: 
  at #=q6nFQ7j0czfMML633KX3NXw==.#=qAP258GY9GQd8BKpnudp4Q_1cNmQks36itakJTS8Pf_s= () [0x00000] in :0 
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (System.String[] #=q2GT7_$3LySJzgouR1z1F6w==) [0x00000] in :0 
  at (wrapper managed-to-native) System.AppDomain:ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[])
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly a, System.String[] args) [0x00000] in :0 
  at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) [0x00000] in :0 
  at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string,System.Security.Policy.Evidence,string[])
  at (wrapper xdomain-dispatch) System.AppDomain:ExecuteAssembly (object,byte[]&,byte[]&,string,string[])
Exception rethrown at [0]: 
 ---> System.TypeInitializationException: An exception was thrown by the type initializer for #=qy0XryZJ1YjnJepAdJT57$Q== ---> System.TypeInitializationException: An exception was thrown by the type initializer for #=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY= ---> System.DllNotFoundException: libnative.so
  at (wrapper managed-to-native) #=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=:#=quRluM_2RkL53TaWHCeOAyTRy6R7cTZZKoBzEK3zeRV36NRSv$v$EAhfUFiXawmxP (#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=)
  at #=qy0XryZJ1YjnJepAdJT57$Q==+#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=..cctor () [0x00000] in :0 
  --- End of inner exception stack trace ---
  at #=qy0XryZJ1YjnJepAdJT57$Q==..cctor () [0x00000] in :0 
  --- End of inner exception stack trace ---
  at #=qnH6iBO6MQt97JINRbHwrsw==..cctor () [0x00000] in :0 
  --- End of inner exception stack trace ---
  at (wrapper xdomain-invoke) System.AppDomain:ExecuteAssembly (string,System.Security.Policy.Evidence,string[])
  at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string,System.Security.Policy.Evidence,string[])
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (System.String[] #=q2GT7_$3LySJzgouR1z1F6w==) [0x00000] in :0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for #=qnH6iBO6MQt97JINRbHwrsw==
Server stack trace: 
  at #=q6nFQ7j0czfMML633KX3NXw==.#=qAP258GY9GQd8BKpnudp4Q_1cNmQks36itakJTS8Pf_s= () [0x00000] in :0 
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (System.String[] #=q2GT7_$3LySJzgouR1z1F6w==) [0x00000] in :0 
  at (wrapper managed-to-native) System.AppDomain:ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[])
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly a, System.String[] args) [0x00000] in :0 
  at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) [0x00000] in :0 
  at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string,System.Security.Policy.Evidence,string[])
  at (wrapper xdomain-dispatch) System.AppDomain:ExecuteAssembly (object,byte[]&,byte[]&,string,string[])
Exception rethrown at [0]: 
 ---> System.TypeInitializationException: An exception was thrown by the type initializer for #=qy0XryZJ1YjnJepAdJT57$Q== ---> System.TypeInitializationException: An exception was thrown by the type initializer for #=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY= ---> System.DllNotFoundException: libnative.so
  at (wrapper managed-to-native) #=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=:#=quRluM_2RkL53TaWHCeOAyTRy6R7cTZZKoBzEK3zeRV36NRSv$v$EAhfUFiXawmxP (#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=,#=qy0XryZJ1YjnJepAdJT57$Q==/#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=/#=qZQNpqkHmnlpV4QjR16A63hybQemzf$i6vxI_z3JmaYY=)
  at #=qy0XryZJ1YjnJepAdJT57$Q==+#=qHu0uhFCUJYAIVB6$zXwYsUVvhynqDFgQw25DL7b5wMY=..cctor () [0x00000] in :0 
  --- End of inner exception stack trace ---
  at #=qy0XryZJ1YjnJepAdJT57$Q==..cctor () [0x00000] in :0 
  --- End of inner exception stack trace ---
  at #=qnH6iBO6MQt97JINRbHwrsw==..cctor () [0x00000] in :0 
  --- End of inner exception stack trace ---
  at (wrapper xdomain-invoke) System.AppDomain:ExecuteAssembly (string,System.Security.Policy.Evidence,string[])
  at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string,System.Security.Policy.Evidence,string[])
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (System.String[] #=q2GT7_$3LySJzgouR1z1F6w==) [0x00000] in :0 
Game removed: AppID 92800 "SpaceChem", ProcID 6601 
Attempting to use a Windows only path root on non-Windows platform for game 92800
...
Attempting to use a Windows only path root on non-Windows platform for game 92800
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Attempting to use a Windows only path root on non-Windows platform for game 92800
Failed to resolve path before download

EvOr commented Dec 22, 2012

The problem lies with mono actually. Most of the game will work with multilib but mono afaik does not work in such environment, therefore a 32bit build of space chem won't work on a 64 bit system, and you can't install a 32 bits mono without a chroot.

The good point is that the humble bundle which featured spacechem had a 64 bits build, that means there is a way to fix that and we just have to wait until it's fixed.

Yes, I remember reading that replacing the version of mono in the PATH with a 32 bit version would fix the issue. Not going to be doing that though. Seems to me like it's just a packaging bug.

Actually, it's not an issue with spacechem; it's with the spacechem-steam integration, provided by a 32bit library, which obviously can't be loaded by a 64bit process such as mono. And surely, installing the mono-runtime:i386 package is currently broken under ubuntu.

For the fun, I tried building a 32bit mono, install it (along with the few sdl dependencies) and tada, I can launch spacechem from Steam, with steam overlay, without resorting to humble bundle files.

It's kind of a hack, but at least can work nicely for people who don't have the humblebundle binary, and don't care that much that they'll get a 32bit mono around. If peoples are interested, I can give the package I made with 32bit mono.

Motivated peoples can also build it themselves, using the instruction on the mono website, if you know how to cross-compile from a 64bit system to get 32bit binaries. After that, just install the sdl dependencies, remove the package check in spacechem-launcher.sh, and off you go.

I am running 64 bit Ubuntu 12.04 and SpaceChem crashes on launch.

List of games that work for me and solutions that I had to do. https://gist.github.com/4420726
sys info: https://gist.github.com/4413776

People with 64bit system can (if they feel courageous ;) ) install this package: http://depositfiles.com/files/zht06i7hb

What it does: install a 32bit mono in /opt/mono32, and symlink it to /usr/bin/mono32
It will not conflict with the 64bit mono install.
Once installed, edit the spacechem-launcher.sh file to call "mono32" instead of "mono". The dependency stuff is harmless and can be left here.
(hint: just change the last line to "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. mono32 SpaceChem.exe", replacing mono with mono32

And that's it: spacechem running fine from steam.

Of course, no guarantees, and note that this "mono32.deb" package is under all applicable license from mono, I only did the build and packaging (and testing on my ubuntu64 system).
Note that this package does depend on the 32bit version of the sdl library, since they are needed by spacechem, and it was convenient to have them installed at this point.

Unless they package their own mono with the game, or provide 64bit aware files, this should do the trick for other mono games that would have this issue...

tl;dr:
1 - install provided mono32.deb package
2 - modify last line of spacechem-launcher.sh to call "mono32" instead of "mono"

Hey everyone - official Zachtronics representative here with a potential fix!

Open Steam to your library and right-click on SpaceChem. Select "Properties", then select the "BETAS" tab, and then select "prerelease" from the dropdown. Let it download its files and then try launching the game again.

Dammit I knew it, everytime I try to do something to mitigate an issue with a game, a fix come right away :D and on 31 December, no less :)

However, still no dice: now the spacechem windows open, but close immediately. I did submit a report on the page that opened in my web browser after the crash.
Interestingly, using "my" 32bit mono version don't work either with the beta, so I'm opting out of it for now... :)

@CleyFaye Send us an email at support@zachtronics.com and we can dig deeper into this.

@zachtronics done. I hope it will be sorted out soon :)

@zachtronics Ok, so I'll send you a mail with these "new" information, but FYI I peeked at the crash log, and it can't find "libSDL_image-1.2.so.0", although it's shipped with the game. I added the path to the "system" version of the sdl (/usr/lib/i386-linux-gnu on a 64bit ubuntu) and it worked fine.

That's all I can tell now, I don't know why it don't like the shipped one; but hopefully it will help you fix this (relatively smaller) issue :)

The pre-release fixed the problem! It didn't launch right away after switching and got stuck for a little bit while "preparing to launch" but after closing out steam and opening it again it launched with out a problem.

In my book I would call this fixed.

I am running 64 bit Ubuntu 12.04

Oh yea.
Thank you Zachtronics and happy new year!

Files

The only flaw I see which is not really a flaw since I should be the only one doing this.
The flaw is fullscreen mode crashes when I have my resolution set to 1280 x 720.
But that is only because I am 2 yards from my 32" screen (personal preference this year).
At 1920x1080 game works flawlessly.

@CleyFaye
Did your spacechem-launcher.sh file get changed back to what it should be?
Other wise maybe update-alternatives might fix your issue if your Ubuntu based.

CleyFaye commented Jan 2, 2013

Ok, so it's fixed for me too, sorta.

Short story: the prerelease beta, with it's 32bit mono and integrated libsdl_image and libsdl_mixer solved most of the issue, BUT you have to have the libtiff4 package installed (libtiff4:i386 for us amd64 user)

Less short story (and I'll send a mail to @zachtronics about it, I believe it's good to know): the shipped libSDL_image-1.2.so DEPEND on libtiff version 4 (marked as an old version in the package manager). That wasn't installed on my system because nothing depend on it, and it's a recent installation, meaning the older version wasn't installed beforehand. This missing dependency caused libSDL_image to not load :-)

Anyway, thanks for the prerelease beta stuff, really helped :)

edit: @filesunknown I didn't see your message before posting (I type slowly). For all my testing, I always revert to "stock" files, so it was not the cause. I fixed it by installing an old package. You can see that the shipped libSDL_image.so file depend on libtiff.so.4 by using the following command:
"ldd libSDL_image-1.2.so.0 |grep tiff"

So I guess some lucky people have this package laying around, some others don't.

edit again: I've just seen that your ubuntu version is 12.04, probably use libtiff4, where ubuntu12.10 seems to use libtiff5.

@CleyFaye
It might have also been because my install was an upgrade from 10.04. And I have had the same problem with your posts as well (typing then seeing you posted before me).

Contributor

frankc-valve commented Jan 3, 2013

I have posted a support article that talks about installing the beta version and the dependency on libtiff. Once zachtronics approves the fix, I will remove the article.
I'm closing this bug as resolved by the article and the beta build of SpaceChem.

@frankc-valve We've pushed the changes from the prerelease branch to the default branch, along with a copy of libtiff4 so that it will work for Ubuntu 12.10 out of the box as well. You should be free to remove the article.

CleyFaye commented Jan 3, 2013

I can confirm that the game now work out of the box on a pristine ubuntu12.10 amd64 installation.

Thanks!

fosskers commented Jan 4, 2013

Thanks for the hard work guys. I'm still not able to run this on Arch, even with libtiff, libtiff4, and/or their 32bit equivalents installed. I'm getting the following on launch:

Game update: AppID 92800 "SpaceChem", ProcID 4996, IP 0.0.0.0:0
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully
Setting breakpad minidump AppID = 92800
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197978898027 [API loaded no]
The game experienced an error. A report has been saved:
"/home/colin/.local/share/Zachtronics Industries/SpaceChem/crashes/006.zicrash"
Stacktrace:

  at System.Net.WebRequest..cctor () <0x00063>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at #=qq7uJMGpGDxLVIjKUihO_0g==.#=qGxBECihPkehRK4nrAaAEPA== (System.Uri,#=qktLUPOJ$6wDEPdkJ6jzERH9$M127vj0T6ZareaUb1F4=,#=qJdfUDndm16tQ97LF6Pmukw==[]) <0x00053>
  at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qPIRAUrqKXKil8PC4ddVqUg== (System.Exception) <0x003f7>
  at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qXYEX0UCMEzgZT5Za8zdXCw== (#=qQdKRcUfE46$efAqMsrzhkw==) <0x000df>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x001d3>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[]) <0xffffffff>
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x0002b>
  at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00027>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper xdomain-dispatch) System.AppDomain.ExecuteAssembly (object,byte[]&,byte[]&,string,string[]) <0xffffffff>
  at (wrapper xdomain-invoke) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x000cb>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

/home/colin/Steam/SteamApps/common/SpaceChem/spacechem-launcher.sh: line 2:  4997 Segmentation fault      (core dumped) LD_LIBRARY_PATH=~/.steam/bin:. MONO_PATH=monolib ./mono SpaceChem.exe
Game removed: AppID 92800 "SpaceChem", ProcID 4997 
saving roaming config store to 'sharedconfig.vdf'
roaming config store 2 saved successfully

Why the seg fault?

CleyFaye commented Jan 4, 2013

@fosskers You can check; unzip the crash log (the zicrash file), check the content, it should show the full exception, and can be a serious lead.

h4ste commented Jan 4, 2013

I was unable to run in Arch Linux x64.
I investigated the zipped error file and found the following:

Exception:
System.DllNotFoundException: libSDL_mixer-1.2.so.0
  at (wrapper managed-to-native) Tao.Sdl.SdlMixer:Mix_CloseAudio ()
  at #=qQdKRcUfE46$efAqMsrzhkw==.Dispose () [0x00000] in <filename unknown>:0 
  at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qXYEX0UCMEzgZT5Za8zdXCw== (.#=qQdKRcUfE46$efAqMsrzhkw== #=q0$n93C$V4NetGUT2w$MoNQ==) [0x00000] in <filename unknown>:0 

Thread: , State: Running, Alive: True, Background: False
   at #=q_NBFQMIpQjD$HQamvk2Uhg==+#=qI$BvSd2Uftk07Rvihib1o52D5Pum755wuY66skL0SEU=.#=qMV5rDdaeRXlLtW619wOEmeEIUicYePtYlMs3IoR5mTE=(System.Threading.Thread #=qpxDtGJXhVw2YOfCmk$HnOw==)
   at #=q_NBFQMIpQjD$HQamvk2Uhg==.#=q0IKouFewI4DFr4BllgNRPg==(System.Exception #=qYi5cWA9_zXUbpgmTgr8kKw==, System.String #=qaKJ$6UhDq_d3bjxJCg1Jxw==, System.Object[] #=qAbNZbMasyCDxZz17XWQPhA==)
   at #=q_NBFQMIpQjD$HQamvk2Uhg==.#=q4C02Ev21FiT1oXYb4pBhrw==(System.Exception #=qkXvG78_G0Sshei8eD8TeaA==)
   at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qPIRAUrqKXKil8PC4ddVqUg==(System.Exception #=qcqTNdwKS9ja5DXrRUWjW2g==)
   at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qXYEX0UCMEzgZT5Za8zdXCw==(.#=qQdKRcUfE46$efAqMsrzhkw== #=q0$n93C$V4NetGUT2w$MoNQ==)
   at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w==(System.String[] #=q2GT7_$3LySJzgouR1z1F6w==)
   at System.AppDomain.ExecuteAssembly(System.AppDomain , System.Reflection.Assembly , System.String[] )
   at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args)
   at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w==(System.String[] #=q2GT7_$3LySJzgouR1z1F6w==)

Thread: .locals, State: Running, Alive: True, Background: False

I was able to fix it by changing spacechem-launcher as follows:

#!/bin/sh
LD_LIBRARY_PATH=$HOME/.steam/bin:/usr/lib32:$PWD MONO_PATH=monolib $PWD/mono SpaceChem.exe

That is, it loads my 32bit system libraries before those in the local path.

If it helps, the output of lsof -P -T -p on the SpaceChem process:

COMMAND    PID   USER   FD   TYPE             DEVICE SIZE/OFF    NODE NAME
MainThrd 21742 travis  cwd    DIR                8,8     4096 1572886 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem
MainThrd 21742 travis  rtd    DIR                8,5     4096       2 /
MainThrd 21742 travis  txt    REG                8,8  3025284 1573097 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/mono
MainThrd 21742 travis  mem    CHR              226,0             1324 /dev/dri/card0
MainThrd 21742 travis  mem    REG                8,8   290816 1573141 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/Mono.Security.dll
MainThrd 21742 travis  mem    REG               0,16 67108904  145968 /dev/shm/pulse-shm-760797671
MainThrd 21742 travis  mem    REG                8,8   443392 1573152 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Drawing.dll
MainThrd 21742 travis  mem    REG                8,5    22088  785509 /usr/lib32/libnss_dns-2.17.so
MainThrd 21742 travis  mem    REG                8,8   444416 1572974 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/Ionic.Zip.dll
MainThrd 21742 travis  mem    REG                8,8    31744 1573098 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/I18N.dll
MainThrd 21742 travis  DEL    REG                0,4           147142 /drm mm object
MainThrd 21742 travis  DEL    REG                0,4           146003 /drm mm object
MainThrd 21742 travis  mem    REG                8,8   105984 1573161 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Xml.Linq.dll
MainThrd 21742 travis  mem    REG                8,8   194560 1573150 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Runtime.Serialization.dll
MainThrd 21742 travis  mem    REG                8,5    87716  820014 /usr/lib32/libz.so.1.2.7
MainThrd 21742 travis  mem    REG                8,5   398992  817039 /usr/lib32/libtiff.so.4.3.4
MainThrd 21742 travis  mem    REG                8,5   210604  826150 /usr/lib32/libjpeg.so.8.0.2
MainThrd 21742 travis  mem    REG                8,5   173972  827242 /usr/lib32/libpng12.so.0.50.0
MainThrd 21742 travis  mem    REG                8,8    50640 1573092 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/libSDL_image-1.2.so.0
MainThrd 21742 travis  mem    REG                8,8    25600 1573143 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.ComponentModel.DataAnnotations.dll
MainThrd 21742 travis  mem    REG                8,8    66048 1573099 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/I18N.West.dll
MainThrd 21742 travis  mem    REG                8,8   122880 1573144 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Configuration.dll
MainThrd 21742 travis  mem    REG                8,8   319488 1573016 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/Newtonsoft.Json.dll
MainThrd 21742 travis  mem    REG                8,5   714240  829616 /usr/lib32/libsqlite3.so.0.8.6
MainThrd 21742 travis  mem    REG                8,8  1269248 1573156 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Xml.dll
MainThrd 21742 travis  mem    REG                8,8   849408 1573147 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Data.dll
MainThrd 21742 travis  mem    REG                8,8    30208 1573151 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Transactions.dll
MainThrd 21742 travis  mem    REG                8,8   159232 1573056 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/System.Data.SQLite.dll
MainThrd 21742 travis  mem    REG                8,5    38460  820219 /usr/lib32/libpciaccess.so.0.11.1
MainThrd 21742 travis  mem    REG                8,5   133804  820237 /usr/lib32/libdrm_intel.so.1.0.0
MainThrd 21742 travis  mem    REG                8,5   161200  820009 /usr/lib32/libexpat.so.1.6.0
MainThrd 21742 travis  mem    REG                8,5  3689524  820261 /usr/lib32/libdricore9.0.1.so.1.0.0
MainThrd 21742 travis  mem    REG                8,5   810452  827595 /usr/lib32/xorg/modules/dri/i965_dri.so
MainThrd 21742 travis  mem    REG                8,5    50716  820235 /usr/lib32/libdrm.so.2.4.0
MainThrd 21742 travis  mem    REG                8,5    99680  788430 /usr/lib32/libxcb-glx.so.0.0.0
MainThrd 21742 travis  mem    REG                8,5     5404  820144 /usr/lib32/libX11-xcb.so.1.0.0
MainThrd 21742 travis  mem    REG                8,5     9548  820174 /usr/lib32/libXdamage.so.1.1.0
MainThrd 21742 travis  mem    REG                8,5    87768  820254 /usr/lib32/libglapi.so.0.0.0
MainThrd 21742 travis  mem    REG                8,5   378940  820260 /usr/lib32/libGL.so.1.2.0
MainThrd 21742 travis  mem    REG                8,5    22172  828396 /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
MainThrd 21742 travis  mem    REG                8,5   999784  827180 /usr/lib32/libasound.so.2.0.0
MainThrd 21742 travis  mem    REG                8,5    17732  820151 /usr/lib32/libXfixes.so.3.1.0
MainThrd 21742 travis  mem    REG                8,5    34484  820154 /usr/lib32/libXrender.so.1.3.0
MainThrd 21742 travis  mem    REG                8,5    38552  820158 /usr/lib32/libXcursor.so.1.0.2
MainThrd 21742 travis  mem    REG                8,5    68256  820166 /usr/lib32/libXext.so.6.4.0
MainThrd 21742 travis  mem    REG                8,5  1268692  820143 /usr/lib32/libX11.so.6.3.0
MainThrd 21742 travis  mem    REG                8,8    91448 1573090 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/libmad.so.0
MainThrd 21742 travis  mem    REG                8,5    34336  828355 /usr/lib32/libvorbisfile.so.3.3.5
MainThrd 21742 travis  mem    REG                8,8   315820 1573091 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/libmikmod.so.2
MainThrd 21742 travis  mem    REG                8,8   211332 1573093 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/libSDL_mixer-1.2.so.0
MainThrd 21742 travis  mem    REG                8,5   457948  829635 /usr/lib32/libSDL-1.2.so.0.11.4
MainThrd 21742 travis  mem    REG                8,8  1171456 1573010 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/Tao.OpenGl.dll
MainThrd 21742 travis  mem    REG                8,5    17900  820250 /usr/lib32/libXxf86vm.so.1.0.0
MainThrd 21742 travis  mem    REG                8,5    13820  828376 /usr/lib32/libpulse-simple.so.0.0.3
MainThrd 21742 travis  mem    REG                8,8    81920 1573045 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/Tao.Sdl.dll
MainThrd 21742 travis  mem    REG                8,8  4247660 1444454 /home/travis/.local/share/Steam/ubuntu12_32/libsteam.so
MainThrd 21742 travis  mem    REG                8,5    83804  785517 /usr/lib32/libresolv-2.17.so
MainThrd 21742 travis  mem    REG                8,5    87932  785516 /usr/lib32/libnsl-2.17.so
MainThrd 21742 travis  mem    REG                8,5    26024  828337 /usr/lib32/libogg.so.0.8.0
MainThrd 21742 travis  mem    REG                8,5   177860  828351 /usr/lib32/libvorbis.so.0.4.6
MainThrd 21742 travis  mem    REG                8,5  1533320  828356 /usr/lib32/libvorbisenc.so.2.0.9
MainThrd 21742 travis  mem    REG                8,5   331088  828347 /usr/lib32/libFLAC.so.8.2.0
MainThrd 21742 travis  mem    REG                8,5    21904  820036 /usr/lib32/libXdmcp.so.6.0.0
MainThrd 21742 travis  mem    REG                8,5     9632  820041 /usr/lib32/libXau.so.6.0.0
MainThrd 21742 travis  mem    REG                8,5    21920  828322 /usr/lib32/libasyncns.so.0.3.1
MainThrd 21742 travis  mem    REG                8,5   453228  828365 /usr/lib32/libsndfile.so.1.0.25
MainThrd 21742 travis  mem    REG                8,5   132812  788425 /usr/lib32/libxcb.so.1.1.0
MainThrd 21742 travis  mem    REG                8,5   301284  826007 /usr/lib32/libdbus-1.so.3.7.2
MainThrd 21742 travis  mem    REG                8,5   446348  181448 /usr/lib32/pulseaudio/libpulsecommon-3.0.so
MainThrd 21742 travis  mem    REG                8,5    30344  828314 /usr/lib32/libjson.so.0.0.1
MainThrd 21742 travis  mem    REG                8,5   322248  828375 /usr/lib32/libpulse.so.0.15.3
MainThrd 21742 travis  mem    REG                8,5   342260  827287 /usr/lib32/libopenal.so.1.15.1
MainThrd 21742 travis  mem    REG                8,8 15006999 1444458 /home/travis/.local/share/Steam/ubuntu12_32/steamclient.so
MainThrd 21742 travis  mem    REG                8,8   448899 1444456 /home/travis/.local/share/Steam/ubuntu12_32/libvstdlib_s.so
MainThrd 21742 travis  mem    REG                8,8   201569 1444455 /home/travis/.local/share/Steam/ubuntu12_32/libtier0_s.so
MainThrd 21742 travis  mem    REG                8,5   922196  785546 /usr/lib32/libstdc++.so.6.0.17
MainThrd 21742 travis  mem    REG                8,5   104240  785542 /usr/lib32/libgcc_s.so.1
MainThrd 21742 travis  mem    REG                8,8    74147 1573095 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/libsteam_api.so
MainThrd 21742 travis  mem    REG                8,8   332155 1573089 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/libnative.so
MainThrd 21742 travis  mem    REG                8,8  1690624 1573148 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.dll
MainThrd 21742 travis  mem    REG                8,8   291328 1573146 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/System.Core.dll
MainThrd 21742 travis  mem    REG                8,5    47064  785510 /usr/lib32/libnss_files-2.17.so
MainThrd 21742 travis  mem    REG                8,8  2596352 1573142 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/monolib/mscorlib.dll
MainThrd 21742 travis  mem    REG                8,8  1798144 1573009 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/SpaceChem.exe
MainThrd 21742 travis  mem    REG               0,16     4096  145946 /dev/shm/mono.21742
MainThrd 21742 travis  mem    REG                8,5  1607632  785276 /usr/lib/locale/locale-archive
MainThrd 21742 travis  mem    REG                8,5  2004882  785463 /usr/lib32/libc-2.17.so
MainThrd 21742 travis  mem    REG                8,5   130318  785445 /usr/lib32/libpthread-2.17.so
MainThrd 21742 travis  mem    REG                8,5    13848  785514 /usr/lib32/libdl-2.17.so
MainThrd 21742 travis  mem    REG                8,5    30684  785518 /usr/lib32/librt-2.17.so
MainThrd 21742 travis  mem    REG                8,5   267808  785515 /usr/lib32/libm-2.17.so
MainThrd 21742 travis  mem    REG                8,5   149371  785462 /usr/lib32/ld-2.17.so
MainThrd 21742 travis    0u   CHR              136,1      0t0       4 /dev/pts/1
MainThrd 21742 travis    1u   CHR              136,1      0t0       4 /dev/pts/1
MainThrd 21742 travis    2u   CHR              136,1      0t0       4 /dev/pts/1
MainThrd 21742 travis    3w   REG                8,5     2334  272971 /var/log/slim.log
MainThrd 21742 travis    4r   CHR                1,9      0t0    5061 /dev/urandom
MainThrd 21742 travis    5r  FIFO                0,8      0t0  145950 pipe
MainThrd 21742 travis    6w  FIFO                0,8      0t0  145950 pipe
MainThrd 21742 travis    7u  IPv4             145951      0t0     TCP localhost.localdomain:60942->localhost.localdomain:57343
MainThrd 21742 travis    8r   REG                0,3        0  147096 /proc/21742/status
MainThrd 21742 travis    9u   REG                8,8     4640 1311928 /home/travis/.local/share/Zachtronics Industries/SpaceChem/.locals-journal
MainThrd 21742 travis   10r   REG                8,8  5278854 1572981 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/2.ogg
MainThrd 21742 travis   11u  unix 0xffff88005de36d80      0t0  147102 socket
MainThrd 21742 travis   12u  unix 0xffff880075e02a00      0t0  147104 socket
MainThrd 21742 travis   13u   CHR              226,0      0t0    1324 /dev/dri/card0
MainThrd 21742 travis   14r   REG                8,8  3208293 1572975 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/1.ogg
MainThrd 21742 travis   15r  FIFO                0,8      0t0  145965 pipe
MainThrd 21742 travis   16r   REG                8,8  3649746 1572977 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/8.ogg
MainThrd 21742 travis   17w  FIFO                0,8      0t0  145965 pipe
MainThrd 21742 travis   18r  FIFO                0,8      0t0  145966 pipe
MainThrd 21742 travis   19w  FIFO                0,8      0t0  145966 pipe
MainThrd 21742 travis   20u  unix 0xffff88005579f480      0t0  145969 socket
MainThrd 21742 travis   21uw  REG                8,8    97280 1311927 /home/travis/.local/share/Zachtronics Industries/SpaceChem/.locals
MainThrd 21742 travis   22r   REG                8,8  5460397 1572976 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/4.ogg
MainThrd 21742 travis   23r   REG                8,8  7250837 1572982 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/7.ogg
MainThrd 21742 travis   24r   REG                8,8  3741454 1572997 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/5.ogg
MainThrd 21742 travis   25r   REG                8,8  3272838 1572964 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/3.ogg
MainThrd 21742 travis   26r   REG                8,8  3219001 1572980 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/music/6.ogg
MainThrd 21742 travis   27u  0000                0,9        0    5054 anon_inode
MainThrd 21742 travis   28u  IPv4             147271      0t0     TCP Travis-L.tomato:32772->perfora.net:80
MainThrd 21742 travis   29r   REG                8,8    33604 1573041 /home/travis/.local/share/Steam/SteamApps/common/SpaceChem/sounds/GooSplat2.wav
MainThrd 21742 travis   30u  IPv4             145980      0t0     TCP Travis-L.tomato:32771->perfora.net:8

fosskers commented Jan 4, 2013

@h4ste Thank you! That fixes it!

Skiski commented Jan 8, 2013

I'm using Fedora 17 x64 and it is still not working for me. I've got the 64 bit version of mono installed but I've tried and the 32 bit rpm available at HumbleBundle is working fine.

When I try the steam version of spacechem-launcher.sh, I get:


$ ./spacechem-launcher.sh
Setting breakpad minidump AppID = 92800
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197998453545 [API loaded no]
The game experienced an error. A report has been saved:
"/home/fedoski/.local/share/Zachtronics Industries/SpaceChem/crashes/003.zicrash"
Stacktrace:
  at System.Net.WebRequest..cctor () <0x00063>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at #=qq7uJMGpGDxLVIjKUihO_0g==.#=qGxBECihPkehRK4nrAaAEPA== (System.Uri,#=qktLUPOJ$6wDEPdkJ6jzERH9$M127vj0T6ZareaUb1F4=,#=qJdfUDndm16tQ97LF6Pmukw==[]) <0x00053>
  at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qPIRAUrqKXKil8PC4ddVqUg== (System.Exception) <0x003f7>
  at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qXYEX0UCMEzgZT5Za8zdXCw== (#=qQdKRcUfE46$efAqMsrzhkw==) <0x000df>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x001d3>
  at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[]) <0xffffffff>
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x0002b>
  at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00027>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper xdomain-dispatch) System.AppDomain.ExecuteAssembly (object,byte[]&,byte[]&,string,string[]) <0xffffffff>
  at (wrapper xdomain-invoke) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x000cb>
  at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
./spacechem-launcher.sh : ligne 2 :  4083 Erreur de segmentation  (core dumped)LD_LIBRARY_PATH=~/.steam/bin:. MONO_PATH=monolib ./mono SpaceChem.exe

With the fixe provided by @h4ste, I get:


Setting breakpad minidump AppID = 92800
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197998453545 [API loaded no]
Stacktrace:
  at (wrapper managed-to-native) Tao.Sdl.Sdl.__SDL_Init (int) <0xffffffff>
  at Tao.Sdl.Sdl.SDL_Init (int) <0x000a3>
  at #=qQdKRcUfE46$efAqMsrzhkw==.#=qgLEANBhVfIuIevx4ZYI9dQ== () <0x0005b>
  at #=qQdKRcUfE46$efAqMsrzhkw==.#=qtAieMJa3O4$ICce59T5vcg== () <0x000f7>
  at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qXYEX0UCMEzgZT5Za8zdXCw== (#=qQdKRcUfE46$efAqMsrzhkw==) <0x00093>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x001d3>
  at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[]) <0xffffffff>
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x0002b>
  at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00027>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper xdomain-dispatch) System.AppDomain.ExecuteAssembly (object,byte[]&,byte[]&,string,string[]) <0xffffffff>
  at (wrapper xdomain-invoke) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x000cb>
  at (wrapper runtime-invoke) .runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
./launcher.sh : ligne 2 :  4107 Erreur de segmentation  (core dumped)LD_LIBRARY_PATH=$HOME/.steam/bin:/usr/lib:$PWD MONO_PATH=monolib $PWD/mono SpaceChem.exe

So it's not working for me.

Edit:

I tried installing:
taoframework-glfw.x86_64 : The Tao Framework for Mono, SDL Bindings
which was kind of hard under Fedora, due to missing deps. But even after that, it is still not working and I get the same error.

Terseus commented Feb 16, 2013

Same problem as @Skiski, here is my backtrace after applying the fix of @h4ste:

Setting breakpad minidump AppID = 92800
Stacktrace:

  at (wrapper managed-to-native) Tao.Sdl.Sdl.__SDL_Init (int) <0xffffffff>
  at Tao.Sdl.Sdl.SDL_Init (int) <0x000a3>
  at #=qQdKRcUfE46$efAqMsrzhkw==.#=qgLEANBhVfIuIevx4ZYI9dQ== () <0x0005b>
  at #=qQdKRcUfE46$efAqMsrzhkw==.#=qtAieMJa3O4$ICce59T5vcg== () <0x000f7>
  at #=qT5m9zMMOGgeXuvB5RBp1CjKxG2TMp9VAFSsa0vglCLY=.#=qXYEX0UCMEzgZT5Za8zdXCw== (#=qQdKRcUfE46$efAqMsrzhkw==) <0x00093>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x001d3>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[]) <0xffffffff>
  at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x0002b>
  at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00027>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper xdomain-dispatch) System.AppDomain.ExecuteAssembly (object,byte[]&,byte[]&,string,string[]) <0xffffffff>
  at (wrapper xdomain-invoke) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff>
  at #=q_kNnXHjBp6OH1879peO3_DruPfChZ2vzI_L2drgdLTw=.#=qC1N1QIcG3BaOsMiqVVYv5w== (string[]) <0x000cb>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

/home/terseus/.local/share/Steam/SteamApps/common/SpaceChem/spacechem-launcher.sh: line 3:   495 Segmentation fault      (core dumped) LD_LIBRARY_PATH=$HOME/.steam/bin:/usr/lib32:$PWD MONO_CFG_DIR=etc MONO_PATH=monolib $PWD/mono SpaceChem.exe

Edit: Sorry, forgot to mention that I'm using Archlinux x86_64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment