bugWarzone 2100 Project - Bugs: bug #11298, Assert in droid.c:4835

 
 
Show feedback again

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

bug #11298: Assert in droid.c:4835

Submitted by:  Dale Gill <verminus>
Submitted on:  Mon 17 Mar 2008 05:11:59 PM UTC  
 
Category: NoneSeverity: Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Per I. Mathisen <per>Open/Closed: Closed
Release: 2.1_beta2Operating System: GNU/Linux
Planned Release: None

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

Tue 18 Mar 2008 11:51:52 AM UTC, comment #7:

The fixes I committed are obviously not in the beta2 source package. Try checking out the 2.1 branch.

I am more interested in the segfault in trunk. Can you report that in a separate ticket, or is it the same as bug #11311?

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Tue 18 Mar 2008 11:28:28 AM UTC, comment #6:

I figured out that the debug symbols were being stripped out by checkinstall. Sorry about that. I've recompiled the 2.1_beta2 source and tried it again. both loading the save in question and an earlier save and replaying the mission. no luck still getting the same assert :
warzone2100: droid.c:4835: droidUnderRepair: Assertion `droidOnMap(psDroid)' failed.
It did however produce what i hope is a slightly more useful gdmp file.

On a side note I cant test the trunk version as it segfaults whenever I try to load a campaign save or start a new campaign, will let me play skirmish though, haven't tried multiplayer yet. will probably open a new bug about that later....

(file #3987)

Dale Gill <verminus>
Tue 18 Mar 2008 11:13:43 AM UTC, SVN revision 4143:

2.1: Add hack to fix droidOnMap assert when loading some savegames. Reported by Dale Gill in bug #11298.

(Browse SVN revision 4143)

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Tue 18 Mar 2008 11:10:42 AM UTC, SVN revision 4142:

Add hack to fix droidOnMap asserts when loading some savegames. Reported by
Dale Gill in bug #11298.

(Browse SVN revision 4142)

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Tue 18 Mar 2008 09:29:03 AM UTC, comment #3:

i compiles it on my machine from the released 2.1 beta 2 source, and passed --enable-debug=yes to the ./configure script, so could you tell me what I did wrong? and it happens every time I try to load that save file...

Dale Gill <verminus>
Mon 17 Mar 2008 09:04:05 PM UTC, comment #2:

Failed to reproduce with trunk. The gdmp file was useless since it was compiled without debug information (but with asserts? that makes no sense!).

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Mon 17 Mar 2008 05:59:22 PM UTC, comment #1:

Whoops... miss-typed/formated the verbatim markup and so it cut out the first line, it should have been:

sorry

Dale Gill <verminus>
Mon 17 Mar 2008 05:11:59 PM UTC, original submission:

I have just finished the first transport mission, saved the game at the mission complete screen, and when I clicked continue warzone aborted and output the following to the console:

Attached are the saved game and the dump file. I had also started warzone with "warzone2100 --debug=all --debugfile=./warzone2100-2.1-debug.log" but as the full log is 7.3MB I've split it into 1MB chunks and attached the last chunk (274.4KB) if for some reason you want the whole file i've kept it safe just incase.

Dale Gill <verminus>

 

Attached Files
file #3987:  warzone2100.gdmp.new added by verminus (12kB - application/octet-stream)
file #3974:  Alpha 3 End.tar.bz2 added by verminus (141kB - application/x-bzip)
file #3975:  warzone2100-2.1-debug.log-ah added by verminus (274kB - application/octet-stream)
file #3976:  warzone2100.gdmp added by verminus (7kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by per (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Mar 2008 11:28:28 AM UTCverminusAttached File-=>Added warzone2100.gdmp.new, #3987
    Tue 18 Mar 2008 11:13:59 AM UTCperStatusNone=>Fixed
      Assigned toNone=>per
      Open/ClosedOpen=>Closed
    Mon 17 Mar 2008 05:11:59 PM UTCverminusAttached File-=>Added Alpha 3 End.tar.bz2, #3974
      Attached File-=>Added warzone2100-2.1-debug.log-ah, #3975
      Attached File-=>Added warzone2100.gdmp, #3976
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup