bugWarzone 2100 Project - Bugs: bug #11635, SegFault on first alpha transport...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #11635: SegFault on first alpha transport mission

Submitted by:  Dale Gill <verminus>
Submitted on:  Mon 05 May 2008 06:47:41 PM UTC  
 
Category: CampaignSeverity: Important
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: svn/trunkOperating System: GNU/Linux
Planned Release: None

(Jump to the original submission Jump to the original submission)

Wed 14 May 2008 03:44:14 AM UTC, comment #8:

I have just done a completly CLEAN re-install of WindowsXp pro, updated through MS update, including SP3. Installed the latest Nvidia forceware (v169.21) for my GF 7600 GT, latest nForce 4 (v6.86) drivers for my motherboard, and latest drivers from creative labs for my Audigy2 Platinum eX. (v02.09.0016, [i]I think.[/i])

I then got a clean copy of the "warzone2100_r5090-debug.exe" nightly build and installed it. played through from the start of the campaign, without any cheats, loaded up the transporter in Alpha 3. and as soon as it left the screen... it crashed as usual.

As far as I can tell the warnings about missing files relatre to the FMV sequences that arn't supposed to be there anyway. and teh segfault just happens to occur when it tries to load the away map for Aplha 3, just after it tries-to-play/skips a FMV sequence.

With --debug=all the reports in the .RPT (WinXP) and .gdmp (linux) change to:
C:\Program Files\Warzone 2100\warzone2100.exe caused an Access


Violation at location 0347f762 Reading from location 06010000.

Log message 1: [scrAddMessage] Adding FLIGHT pViewData=0353D748
Log message 2: [driveInitVars] driveInitVars: Driving


And for linux


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

Log message 1: [scrAddMessage] Adding FLIGHT pViewData=0x8ecb4e8
Log message 2: [driveInitVars] driveInitVars: Driving


The linux .gdmp then goes on (as linux actuall has a debugger):


#0 0xb7bb6751 in waitpid () from /usr/lib/debug/libc.so.6
No locals.
#1 0x0821f229 in posixExceptionHandler (signum=11, siginfo=0xbfb18e6c,
sigcontext=0xbfb18eec) at exceptionhandler.c:469
btBuffer = {0x821efdc, 0xb7f2b440, 0x0 <repeats 18 times>}
btSize = 2
pid = 2271
gdbPipe = {14, 15}
dumpFile = 12
signal = 0x82e4de0 "SIGSEGV: Invalid memory reference: Address not mapped to object"
allreadyRunning = 1
#2 <signal handler called>
No symbol table info available.
#3 0xb7f282f4 in ?? ()
No symbol table info available.


I think I've done as much as I can to rule out bad drivers or corrupt data problems. Any ideas? If not maybe one of the others will have an idea?

Attached a dxdiag report detailing full system hardware and driver details.

Attached updated crash report from winXP and updated save game just before I launched the transport.

Sorry for the long post.

(file #4330, file #4331)

Dale Gill <verminus>
Tue 13 May 2008 05:43:19 PM UTC, comment #7:

Although I didn't spend much time on Alpha 3 I did try launching the transporter and even completed some objections of 'Alpha 4 Start', even though it wasn't necessary as it turned out, and still couldn't reproduce the crash on my end.

According to your log the game can't find some data, that's why I assumed corrupted installation.

Roman <troman>
Project Administrator
Tue 13 May 2008 04:15:01 PM UTC, comment #6:

If it were just the graphical corruption I get under wine or a crash under ONE OS then I would tend to agree.

However for me it crashes under WinXP (XP-pro-SP2) AND Linux (Ubuntu 8.04 for i386).
While my windows nvidia drivers may be slightly out of date, I checked the drivers in Ubuntu and they indeed latest version of Nvidia's Unix driver (169.12).

As for the savegames, I honestly can't remember why I included the 'Alpha 4 Start' save and re-reading my original posts maybe I wasn't too clear.

The Segfault doesn't occur immediately on loading the save 'Alpha 3 Start', I occurs when you launch the transport. (after first researching the 'Power Module' tech and upgrading a power generator.)

I have tried uninstalling and reinstalling WZ several times, and playing the campaign through from the beginning in case it was save/data corruption, and I'm not getting any other problems with my GeForce 7600 GT card in any other DirectX or OpenGL apps.

I'm currently having some speed and reliability issues with my internet connection so I cant update my windows drivers at the moment, but I did manage to update my svn checkout of trunk to r5101 and compile under linux, but I still got the segfault.

Dale Gill <verminus>
Mon 12 May 2008 03:41:50 PM UTC, comment #5:

The problem can't be reproduced on XP with r5067. Both save games work ok here. It is probably either a driver problem or currupted data.

Roman <troman>
Project Administrator
Tue 06 May 2008 02:30:40 PM UTC, comment #4:

Did a few quick tests using r4875-debug natively under WinXP-pro-SP2 (ie not under wine) and it crashed utterly.

Out of about 20 runs, Most just crashed bringing up the "This program as encountered a serious error and needs to close, please inform M$ so we can fix it, blah blah blah."

One test run caused the system to hang completely, and one caused the system to reboot.

attached archived stderr.txt and .RPT file. stdout.txt was empty.

Guess Wine IS more stable that windows after all.

(file #4308)

Dale Gill <verminus>
Mon 05 May 2008 07:56:37 PM UTC, comment #3:

Found that the graphical corruption doesn't occur on r4875-debug under wine when running at 640x480.

However changing the resolution does NOT prevent the SEGFAULT when running under GNU/Linux.

Have tried a few other transport missions / maps and it has yet to affect them, could it just be something to do with the SUB_1_1 map?

Dale Gill <verminus>
Mon 05 May 2008 07:41:48 PM UTC, comment #2:

Added an Archive containing screenshots of the graphical corruption under wine. It occurs in both fullscreen and windowed modes

(file #4301)

Dale Gill <verminus>
Mon 05 May 2008 07:12:20 PM UTC, comment #1:

whoops having problems with the firefox beta as well.. oh well any way:

I'm getting a Segfault with the first Alpha transport mission (Alpha 3 / SUB_1_1S + SUB_1_1) when I try to enterer the mission map (SUB_1_1) with svn/trunk r4941 and r4875 on GUN/Linux (Ubuntu 8.04).

This does not occur when using the nightly build of r4875-debug running under wine. Instead I get Graphical Artifacts when I enter the mission map (SUB_1_1). Interestingly these disappears when I complete the mission or approx. 1/2 sec after the music track changes,(could just be a coincidence though).

The main Alpha map is OK, next transport mission (Alpha 4 / SUB_1_2S + SUB_1_2) are OK, looks to just be the 3rd Alpha mission affected.

Archived Savegame and .gdmp + log attached

(file #4300)

Dale Gill <verminus>
Mon 05 May 2008 06:47:41 PM UTC, original submission:
Dale Gill <verminus>

 

Attached Files
file #4330:  DxDiag.txt added by verminus (43kB - text/plain)
file #4331:  WinXP-14-05-08.zip added by verminus (170kB - application/x-zip-compressed)
file #4308:  Xp crash.zip added by verminus (1kB - application/zip)
file #4301:  Graphics-Corruption.tar.gz added by verminus (214kB - application/x-gzip)
file #4300:  Alpha-3-segfault.tar.gz added by verminus (520kB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by troman (Posted a comment)
  • -unavailable- added by verminus (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 14 May 2008 03:44:13 AM UTCverminusAttached File-=>Added DxDiag.txt, #4330
      Attached File-=>Added WinXP-14-05-08.zip, #4331
    Tue 06 May 2008 02:30:40 PM UTCverminusAttached File-=>Added Xp crash.zip, #4308
    Mon 05 May 2008 07:41:48 PM UTCverminusAttached File-=>Added Graphics-Corruption.tar.gz, #4301
    Mon 05 May 2008 07:12:19 PM UTCverminusAttached File-=>Added Alpha-3-segfault.tar.gz, #4300
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup