2.2 rc1 crashes when starting campaign

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
Dark Mayu
Rookie
Rookie
Posts: 25
Joined: 24 May 2009, 17:16
Location: All God's Village

2.2 rc1 crashes when starting campaign

Post by Dark Mayu »

Hi there dear Warzone2100 Community,

I finally was able to compile and install versin 2.2rc1 (took long because of missing libraries...). Before installing it, I used to play the last public released version(was it 2.1.3?) which was working flawlessly except for the videos ofc. So far everything works, except the campaign. When starting a new game, the video plays normally, but after the following loading screen, the game will crash to desktop AND disable my mouse driver. I always have to restart ServerX in order to use the mouse again....
I tried starting the game via terminal and got this error:

Code: Select all

error |04:59:35: [reubuild SearchPath} Failed to remove Path /usr/local/data/ again
Saved dump file to '/tmp/warzone2100.gdmp-P7zSei'
If you create a bugreport regardings this crash, please include this file.
Segmentation fault
The Dump-File is too big for posting here, but I was able to find the error in it(at least I think so...):

Code: Select all

Dump caused by signal: SIGSEGV: Invalid memory reference: Address not mapped to object

Code: Select all

#2  0x000000000065a0f2 in posixExceptionHandler (signum=11, 
    siginfo=0x7fffe09ba510, sigcontext=0x7fffe09ba3e0)
    at exceptionhandler.c:647
	btBuffer = {0x65a004, 0x7fbfd82fe0f0, 0x7fbfd5bbab21, 
  0x64fc0c, 0x64fb7c, 0x7fbfd667fae6, 0x7fbfd6684374, 0x64d7d7, 
  0x656985, 0x64c7f6, 0x51b69f, 0x522a48, 0x522e29, 0x52303e, 
  0x523416, 0x7fbfd5b56466, 0x47d039, 0x0, 0x0, 0x0}
	btSize = 17
	dumpFilename = "/tmp/warzone2100.gdmp-P7zSei"
	dumpFile = 15
	signal = 0x6d6e88 "SIGSEGV: Invalid memory reference: Address not mapped to object"
	allreadyRunning = 1
	gdmpPath = "/tmp/warzone2100.gdmp-XXXXXX"
	__PRETTY_FUNCTION__ = "posixExceptionHandler"
Btw, I'm using Kubuntu 8.10 64Bit. Could someone please help me with this problem?
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: 2.2 rc1 crashes when starting campaign

Post by cybersphinx »

Please attach the complete file (zipped, if it is too large), and your graphics chip and driver version might also be interesting.
User avatar
Dark Mayu
Rookie
Rookie
Posts: 25
Joined: 24 May 2009, 17:16
Location: All God's Village

Re: 2.2 rc1 crashes when starting campaign

Post by Dark Mayu »

Sure, no problem.

Graphic Card is ATI Radeon HD 2600 Pro along with the 9.4 Drivers.

Code: Select all

fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 2600 Pro
OpenGL version string: 2.1.8591
Once again, except for the campaign or loading a campaign level, everything is working. I successfully can start a one player skirmish game and play it.
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: 2.2 rc1 crashes when starting campaign

Post by Buginator »

What language you playing in, and what version of SQLlite are you using?
and it ends here.
User avatar
Dark Mayu
Rookie
Rookie
Posts: 25
Joined: 24 May 2009, 17:16
Location: All God's Village

Re: 2.2 rc1 crashes when starting campaign

Post by Dark Mayu »

Buginator wrote:What language you playing in, and what version of SQLlite are you using?
English. The game's languange is set to system local afaik. Checking now... Yes, the game says "System locale", which would be british english.
SQLite version is 3.6.14.1. I had to download that package since the Synaptic didn't find it...
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: 2.2 rc1 crashes when starting campaign

Post by Buginator »

Dark Mayu wrote: English. The game's languange is set to system local afaik. Checking now... Yes, the game says "System locale", which would be british english.
SQLite version is 3.6.14.1. I had to download that package since the Synaptic didn't find it...
Odd, it should have used the SQLite that we package, if it couldn't find one that meets the requirements.
and it ends here.
User avatar
Dark Mayu
Rookie
Rookie
Posts: 25
Joined: 24 May 2009, 17:16
Location: All God's Village

Re: 2.2 rc1 crashes when starting campaign

Post by Dark Mayu »

When compiling, I got one error after another, every time about another library missing after I installed an additional one. One of those errors mentioned a library package which is part of SQLite. Compiling was aborted and I had to search for that library. Once I got everything, I used ./autogen.sh and ./configure && make and finally sudo make install.

@Buginator: Do you think that SQLite could be the cause for that campaign crash?

Btw, I successfully finished another skirmish game yesterday, the new changes are really great^^.
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

Re: 2.2 rc1 crashes when starting campaign

Post by jaakan »

Dark Mayu wrote:When compiling, I got one error after another, every time about another library missing after I installed an additional one. One of those errors mentioned a library package which is part of SQLite. Compiling was aborted and I had to search for that library. Once I got everything, I used ./autogen.sh and ./configure && make and finally sudo make install.

@Buginator: Do you think that SQLite could be the cause for that campaign crash?

Btw, I successfully finished another skirmish game yesterday, the new changes are really great^^.
do you "sudo make uninstall" and "make clean" before you compile?

I use the following daily but on the trunk from svn under root via "sudo -i"
make uninstall && make clean && svn update && ./autogen.sh && ./configure && make && make install
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: 2.2 rc1 crashes when starting campaign

Post by cybersphinx »

Dark Mayu wrote:@Buginator: Do you think that SQLite could be the cause for that campaign crash?
Your crashdump suggests this. Can you uninstall the sqlite you installed, then run ./configure from a clean source directory and post the resulting config.log? It should use the included sqlite when there is no other version installed, but that doesn' t seem to work for you.
User avatar
Dark Mayu
Rookie
Rookie
Posts: 25
Joined: 24 May 2009, 17:16
Location: All God's Village

Re: 2.2 rc1 crashes when starting campaign

Post by Dark Mayu »

Hmm, ok. I will try uninstalling SQlite, but from the look of things it doesn't have a make uninstall option... I will remove the files manually, just hope that works...

Btw, I tried to compile the game from Trunk, but got a permission denied when trying to use ./autogen.sh. Even sudo or sudo -i does not allow me to run ./autogen.sh
User avatar
Dark Mayu
Rookie
Rookie
Posts: 25
Joined: 24 May 2009, 17:16
Location: All God's Village

Re: 2.2 rc1 crashes when starting campaign

Post by Dark Mayu »

no way, I cannot uninstall it. Looks like that SQLite I installed was some sort of update. It is necessary for some KDE programs like Amarok, so if I uninstall it via synaptic manager, I will also remove half of my desktop.

There's one more bug I noticed:
E: /var/cache/apt/archives/libsdl1.2-dev_1.2.13-2ubuntu1_amd64.deb: trying to overwrite `/usr/share/man/man3/SDL_AddTimer.3.gz', which is also in package sdl-devel
This is the error I get when trying to install libsdl-devel from the synaptic manager. If I keep it open, I can compile and install warzone, but once I close synaptic, warzone is uncompilable...
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: 2.2 rc1 crashes when starting campaign

Post by cybersphinx »

Dark Mayu wrote:Btw, I tried to compile the game from Trunk, but got a permission denied when trying to use ./autogen.sh. Even sudo or sudo -i does not allow me to run ./autogen.sh
Try "chmod +x autogen.sh;./autogen.sh", or ". autogen.sh".
Dark Mayu wrote:no way, I cannot uninstall it. Looks like that SQLite I installed was some sort of update. It is necessary for some KDE programs like Amarok, so if I uninstall it via synaptic manager, I will also remove half of my desktop.
Ok, if it was installed before... still strange why it didn't use the integrated version before. Can you post your current config.log?
There's one more bug I noticed:
E: /var/cache/apt/archives/libsdl1.2-dev_1.2.13-2ubuntu1_amd64.deb: trying to overwrite `/usr/share/man/man3/SDL_AddTimer.3.gz', which is also in package sdl-devel
This is the error I get when trying to install libsdl-devel from the synaptic manager. If I keep it open, I can compile and install warzone, but once I close synaptic, warzone is uncompilable...
Seems like a conflict in your distribution's packages, report it as a bug to them.
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

Re: 2.2 rc1 crashes when starting campaign

Post by jaakan »

Dark Mayu wrote:no way, I cannot uninstall it. Looks like that SQLite I installed was some sort of update. It is necessary for some KDE programs like Amarok, so if I uninstall it via synaptic manager, I will also remove half of my desktop.

There's one more bug I noticed:
E: /var/cache/apt/archives/libsdl1.2-dev_1.2.13-2ubuntu1_amd64.deb: trying to overwrite `/usr/share/man/man3/SDL_AddTimer.3.gz', which is also in package sdl-devel
This is the error I get when trying to install libsdl-devel from the synaptic manager. If I keep it open, I can compile and install warzone, but once I close synaptic, warzone is uncompilable...
have you tried removing libsdl1.2-dev and reinstalling it

sudo aptitude remove libsdl1.2-dev or use sudo aptitude purge libsdl1.2-dev
sudo aptitude clean
sudo aptitude update
sudo aptitude upgrade
sudo aptitude install libsdl1.2-dev

was anything listed under autoremove?
User avatar
Dark Mayu
Rookie
Rookie
Posts: 25
Joined: 24 May 2009, 17:16
Location: All God's Village

Re: 2.2 rc1 crashes when starting campaign

Post by Dark Mayu »

1st of all, Thank you to everyone who tried to help me^^.

@Jaakan: I tired the aptitude command, but the outcome is the same

I was able to compile it from trunk finally(made a mistake previously, but the compile guide put me on the right way again), but the game crashed whenever I started a campaign
I know it's not the best fix, but since it only takes me 1 1/2 hours to reinstall Kubuntu, I did that and recompiled & installed WZ2100 right after I configured everything. Now it's working flawlessly. I suppose that I installed a corrupt library which maybe damaged or corrupted the game's scripts in a way so the campaign wasn't playable anymore(or startable in my case).
I only tested it briefly, but I was able to start the campaign and order my units. Btw, the new terrain renderer looks awesome!
User avatar
jaakan
Trained
Trained
Posts: 75
Joined: 15 Jun 2008, 01:51

Re: 2.2 rc1 crashes when starting campaign

Post by jaakan »

That sucks you had to wipe it but now your up and running on a clean system.