View unanswered posts | View active topics It is currently Thu Dec 26, 2024 4:28 am



Reply to topic  [ 4 posts ] 
 Game crashes when switching from planetary view 
Author Message

Joined: Sun Oct 07, 2012 4:14 pm
Posts: 3
Reply with quote
Post Game crashes when switching from planetary view
Hi,

I'm glad to see this game evolving to the point of maturity. I'm trying to play on version 1.0rc-1 (HIB 3) but still having some trouble.

Running the game in Ubuntu 12.04 with the unity desktop environment produces a black screen. The intro music plays and keyboard command seem to go through to the game. running the command "top" shows Compiz going crazy though, loading up the CPU on 40%.

Ok, fine I have the LXDE desktop that doesn't use unity, so I could get into the game and started playing the campaign. However, whenever i hit <esc> in game and then click or RESUME the game crashes with the following:

Attempting to start PulseAudio sound driver
Initialized sound against PulseAudio sound driver.
[Error] OpenAL Error: Invalid Value.
[Error] OpenAL Error: Invalid Value.
Aborted (core dumped)

This also happens every time when going into "Design Base" from the planetary view.
I'm not sure the OpenAL error has anything to do with it, though.

Since the provided build is not made with Debugging symbols I can't get more info but it seems to be a segfault:

Starting program: /home/username/CortexCommand/CortexCommand.bin
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3f5e700 (LWP 13222)]
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
[New Thread 0x7ffff095c700 (LWP 13223)]
[Thread 0x7ffff095c700 (LWP 13223) exited]
[New Thread 0x7ffff095c700 (LWP 13224)]
[Thread 0x7ffff095c700 (LWP 13224) exited]
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[New Thread 0x7ffff095c700 (LWP 13225)]
[Thread 0x7ffff095c700 (LWP 13225) exited]
[New Thread 0x7ffff095c700 (LWP 13226)]
[Thread 0x7ffff095c700 (LWP 13226) exited]
[New Thread 0x7ffff7ed8700 (LWP 13227)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
[Thread 0x7ffff7ed8700 (LWP 13227) exited]
[New Thread 0x7ffff095c700 (LWP 13228)]
Attempting to start PulseAudio sound driver
[New Thread 0x7ffff1231700 (LWP 13229)]
Initialized sound against PulseAudio sound driver.

Program received signal SIGSEGV, Segmentation fault.
0x00000000004a2e94 in ?? ()
(gdb) bt
#0 0x00000000004a2e94 in ?? ()
#1 0x0000000000770d8a in ?? ()


Sun Oct 07, 2012 4:32 pm
Profile

Joined: Sat Nov 26, 2011 3:11 am
Posts: 11
Reply with quote
Post Re: Game crashes when switching from planetary view
Yup, I'm getting the OpenAl warnings independently of whether it crashes, which it does if I try to resume a battle or manually design fortifications. Just says "Aborted" though, no mention of a core dump.


Mon Oct 08, 2012 2:30 pm
Profile

Joined: Sun Oct 07, 2012 4:14 pm
Posts: 3
Reply with quote
Post Re: Game crashes when switching from planetary view
Just adding some more info (as has been requested on the Dev Blog comments about the 1.0 Linux release)

Architecture: x86_64
video: Advanced Micro Devices [AMD] nee ATI M96 [Mobility Radeon HD 4650]

ldd CortexCommand.bin
linux-vdso.so.1 => (0x00007fff43bff000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff7332a2000)
libcAudio.so => ./libs/libcAudio.so (0x00007ff733063000)
libcurl.so.4 => ./libs/libcurl.so.4 (0x00007ff732e18000)
libluabindd.so.0.9.0 => ./libs/libluabindd.so.0.9.0 (0x00007ff732b81000)
liballeg.so.4.4 => ./libs/liballeg.so.4.4 (0x00007ff73287b000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff73257a000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff732280000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff73206a000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff731caa000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff731a8d000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff731889000)
libogg.so.0 => ./libs/libogg.so.0 (0x00007ff731680000)
libopenal.so.1 => ./libs/libopenal.so.1 (0x00007ff731426000)
libvorbis.so.0 => ./libs/libvorbis.so.0 (0x00007ff7311f8000)
libvorbisfile.so.3 => ./libs/libvorbisfile.so.3 (0x00007ff730fee000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff730dd7000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007ff730bce000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007ff7309b4000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007ff730680000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007ff73046e000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007ff730264000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff7334d8000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007ff73005e000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007ff72fe40000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007ff72fc36000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007ff72fa2f000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007ff72f82c000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007ff72f626000)


Sat Oct 13, 2012 6:16 pm
Profile

Joined: Tue Nov 27, 2012 3:27 am
Posts: 2
Reply with quote
Post Re: Game crashes when switching from planetary view
I posted this to another thread, but it was far older.
http://forums.datarealms.com/viewtopic.php?f=72&t=20621

I'm running version cortex_command-1.0rc1-linux-amd64.bin with sha1:
300ee6143e805c993f0bc790826392d2cd04f5d6

I ran an strace and found a number of seeming typos (mmp and mpp file extensions?). None of these are a problem in the 32-bit version, which ran no problem. Since the 64-bit version is having the same problem now as 2 years ago, I wonder if the automated process that builds these is not updating the source for the 64-bit linux buildout.

The first crash is caused trying to load one of two files from Base.rte/GUIs/Skins/MainMenu: text.mpp or text000.bmp
I had text.bmp, but neither of the other two. I copied text.bmp to text000.bmp.

The next crash is caused by trying to load hsize.mmp or hsize000.bmp.
I had hsize.bmp, but neither of the other two. I copied hsize.bmp to hsize000.bmp.

The next crash is caused by trying to load smallfnnt.bmp or smallfnnt000.bmp.
I had smallfont.bmp, so I copied it to smallfnnt.bmp.

Next: can't load brownuii.bmp or brownuii000.bmp.
Copied browngui.bmp to brownuii.bmp.

At this point we lose any of the popups and get a straight segmentation fault. strace shows something along these lines:
    * open ConsoleSkin.ini, read, then close it.
    * fails to open text.mpp, opens text000.bmp, read, then close it.
    * fails to open hsize.mmp, opens hsize000.bmp, read, then close it.
    * open ConsoleGUI.ini, reads from it.
    * open smallfnnt.bmp, many reads, then close it.
    * open brownuii.bmp, many reads, then close it.
    * closes ConsoleGUI.ini
    * CRAaASH immediately after closing the file

Don't know if devs look around here, but maybe this will help track down the 64 bit probs.


Tue Nov 27, 2012 4:00 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.058s | 14 Queries | GZIP : Off ]