Page 1 of 2
Spring crashes in Karmic
Posted: 04 Nov 2009, 19:16
by wombatron
(sorry if it seems like all I do is complain

)
I installed Spring on Ubuntu Jaunty, and it worked without any major problems. I upgraded to Karmic, and suddenly the game wouldn't start from the Lobby over half the time; no error messages or anything, just nothing. Pushing the button several times would start it, but afterwards there would still be a "spring" process running that I would have to kill in the system monitor in order to start another game.
I thought it might be because it was originally installed in Jaunty, so I removed the pacakages and deleted the .spring and .springlobby directories in my home directory, and then reinstalled. Got the same problem, except I get an error message saying the game has crashed. Again, it will still launch sometimes, but there is still a process running that I have to kill (killing it gives me the same error message).
Also, this happened in single player. Haven't tried multi yet.
Is this a problem with Spring or with Karmic? Should I post the infolog file?
And for more fun, units in-game often have white boxes appear above them, and the idle builders widget doesn't work. Almost makes me want to find my OTA disc

Re: Spring crashes in Karmic
Posted: 04 Nov 2009, 23:03
by bartvbl
wombatron wrote:
Is this a problem with Spring or with Karmic? Should I post the infolog file?
It would help a bit if you would, yeah. Just paste it on pastebin or something like that.
wombatron wrote:
And for more fun, units in-game often have white boxes appear above them, and the idle builders widget doesn't work. Almost makes me want to find my OTA disc

Wasn't this already a known bug? Or was that with the 3d trees?
In case you have an ATI graphics card: check if you have ATI hacs turned on. That often solves things for many people.
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 04:16
by wombatron
Ok, here it is. Also, I installed from the official Karmic repos, and I've purged the packages and deleted all files associated with Spring and then reinstalled multiple times, so I don't think it was just a 1-time buggy install.
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 06:46
by wombatron
Pretty sure it's a Karmic problem, because the error didn't occur in Jaunty, but just in case:
Ubuntu 9.10 Karmic Koala
NVIDIA GeForce 6150 SE (integrated; using recommended NVIDIA accelerated graphics driver Version 185)
AMD Athlon 64 X2 4000+ 2.1 GHz
2GB DDR2 SDRAM
Yeah, I know it sucks

Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 07:11
by MidKnight
Have you tried reverting spring settings to defaults (there's an option in the file menu of the SpringSettings app)?
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 07:35
by aegis
.springrc
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 08:35
by wombatron
MidKnight wrote:Have you tried reverting spring settings to defaults (there's an option in the file menu of the SpringSettings app)?
Just tried it. Still have the problem.
aegis wrote:.springrc
What do you mean?
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 08:43
by Dragon45
Post your springrc
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 09:07
by wombatron
(.springrc attached)
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 09:45
by koshi
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 19:06
by wombatron
I get this error message after make:
Error: Could not find 7z.
make[2]: *** [CMakeFiles/gamedata] Error 1
make[1]: *** [CMakeFiles/gamedata.dir/all] Error 2
make: *** [all] Error 2
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 20:40
by wombatron
Well, I decided to try the binary installer. It worked, and the game isn't crashing almost every time. I do get a dialog saying that "You cannot start a spring instance while another is already running" whenever I try and start a single player game after playing one, but there isn't a ghost process and I just have to close out of the lobby.
EDIT: Never mind, there is still a process left over after a game. Ugh. At least it isn't crashing any more.
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 21:01
by Wombat
ur nick sounds familiar, hmmmm...
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 21:16
by wombatron
Wombat wrote:ur nick sounds familiar, hmmmm...
Hail, fellow burrowing marsupial!

Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 21:21
by Wombat
f u
Re: Spring crashes in Karmic
Posted: 05 Nov 2009, 22:17
by hoijui
wombatron wrote:I get this error message after make:
Error: Could not find 7z.
make[2]: *** [CMakeFiles/gamedata] Error 1
make[1]: *** [CMakeFiles/gamedata.dir/all] Error 2
make: *** [all] Error 2
install package
p7zip-full
Re: Spring crashes in Karmic
Posted: 06 Nov 2009, 00:40
by wombatron
Thanks hoijui! Ok, I uninstalled the binary, built spring from the link posted above, and it doesn't crash anymore. However, there are still several processes running after I close out of a single-player game, called "spring" and "sh". I guess this is a different bug, so does anyone know what to do about this? I have to manually end the processes in the system monitor, and doing that after every time I play a game just strikes me as being a bad idea.
Re: Spring crashes in Karmic
Posted: 06 Nov 2009, 12:32
by hoijui
could it be that this only happens when using Java AIs?
that would explain it at least, cause... because the JVM can not be created, deleted, and created again in a single native process (eg running spring once), and because of the current way AI Interfaces are loaded, i can not kill the JVM, and hugh already reported that he has problems wiht that.
it might help if you disable the debug agent in the jvm.properties file under AI/Interfaces/Java/0.1 (will not change anything if you odnt use Java AIs).
Re: Spring crashes in Karmic
Posted: 06 Nov 2009, 19:45
by wombatron
No, I haven't been using the Java AIs. Just NullAI 0.1 and RAI 0.601.
Re: Spring crashes in Karmic
Posted: 06 Nov 2009, 20:06
by hoijui
ok.. then i have no idea :/