bugWarzone 2100 Project - Bugs: bug #11733, Textures missing on first beta...

Show feedback again

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

bug #11733: Textures missing on first beta away mission

Submitted by:  Per I. Mathisen <per>
Submitted on:  Sun May 25 20:35:31 2008  
Category: Engine: GraphicsSeverity: Blocker
Priority: 7 - HighStatus: Fixed
Assigned to: Per I. Mathisen <per>Open/Closed: Closed
Release: svn/branches/2.1Operating System: All
Planned Release: None

Wed Jun 4 20:41:25 2008, SVN revision 5215:

2.1: Fix bug #11733: Textures missing on first beta away mission

(Browse SVN revision 5215)

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Wed Jun 4 20:41:17 2008, SVN revision 5214:

Fix bug #11733: Textures missing on first beta away mission

(Browse SVN revision 5214)

Per I. Mathisen <per>
Project AdministratorIn charge of this item.
Mon Jun 2 19:31:03 2008, comment #3:

per, it is unloading the tertiles on this mission, when it should not.

setUpMission() is called.
levReleaseMissionData() -> resReleaseBlockData() -> dataTERTILESRelease().

We then never load up the correct data again.
We hit setUpMission() -> launchMission() (which sets it to LMS_NEWLEVEL)
... then back to levLoadData() (name = 0x016661c0 "SUB_2_1") ... and that is
pretty much it.

I am unsure why it is unloading the tertiles, when it should not. I haven't
been able to find out what controls this.

Bugs Buggy <buginator>
Project Administrator
Wed May 28 17:15:44 2008, comment #2:

Per, check bug #10539 (https://gna.org/bugs/index.php?10539).

Look at (screenshot) file #3379.

Looks like this is the same bug, and has been here since before r3064.

Maybe this is a bit unrelated, looking at r4749, I get this pic also .
file #4260 (from r4803) from bug #11582.

For what it is worth r1300 doesn't have this issue. (but it has other texture issues, like the buildings have wrong textures, but everything else is fine.) That means someplace between r1300 - r3064 the bug was introduced.


Mon May 26 02:27:11 2008, comment #1:

Per, I tried your savegame, and always get this:
msvcr80d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x036dced0) Line 2072 C++
msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x036dced0, int nBlockUse=1) Line 1279 + 0x9 bytes C++
msvcr80d.dll!_free_dbg(void * pUserData=0x036dced0, int nBlockUse=1) Line 1220 + 0xd bytes C++
Warzone2100-Dbg.exe!yydestruct(const char * yymsg=0x00900438, int yytype=4, YYSTYPE * yyvaluep=0x0013f458) Line 66 + 0xb bytes C
Warzone2100-Dbg.exe!res_parse() Line 1499 + 0x22 bytes C
Warzone2100-Dbg.exe!resLoad(const char * pResFile=0x03790298, int blockID=5) Line 121 + 0x5 bytes C
HEAP[Warzone2100-Dbg.exe]: Invalid Address specified to RtlValidateHeap( 01F40000, 036DCEB0 )
Windows has triggered a breakpoint in Warzone2100-Dbg.exe.

This may be due to a corruption of the heap, and indicates a bug in Warzone2100-Dbg.exe or any of the DLLs it has loaded.
%destructor {
// Force type checking by the compiler
char * const s = $$;

if (s)
free(s); //crashes here

+ lev_text 0x01f4a748 "RCOMPRES" char *
+ s 0x036dced0 "ÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝÝ™" char * const
+ yymsg 0x00900438 "Cleanup: popping" const char *
yytype 4 int
+ yyvaluep 0x0013f458 {fval=6.9885449e-037 ival=57528016 bval=57528016 ...} YYSTYPE *


Sun May 25 20:35:31 2008, original submission:

If you play from final alpha mission and until first beta away mission without loading, the mission will start without any textures - all objects will be shades of gray instead.

Attached savegame can be used to reproduce.

Per I. Mathisen <per>
Project AdministratorIn charge of this item.


Attached Files
file #4364:  cam1.tar.gz added by per (182kB - application/x-gzip)


Depends on the following items: None found

Items that depend on this one

   bug dependencies.


Carbon-Copy List
  • -unavailable- added by buginator (Posted a comment)
  • -unavailable- added by per
  • -unavailable- added by per
  • -unavailable- added by per (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.


    Error: not logged in



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Jun 4 20:41:40 2008perStatusNone=>Fixed
      Assigned toNone=>per
    Sun May 25 20:54:40 2008perDependencies-=>bugs #11615 is dependent
    Sun May 25 20:35:32 2008perAttached File-=>Added cam1.tar.gz, #4364
      Carbon-Copy-=>Added devurandom
      Carbon-Copy-=>Added muggenhor
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup