Opened 11 years ago

Last modified 10 years ago

#2056 new defect

Assertion failure in CHeightMipmap::BilinearUpdate, modifying terrain in Atlas on Win 7 64-bit

Reported by: historic_bruno Owned by:
Priority: If Time Permits Milestone: Backlog
Component: Core engine Keywords:
Cc: Pureon Patch:

Description

Reported by Pureon here, when modifying terrain on Cycladic Archipelago 6:

Assertion failed: "right > left && right <= out_mipmap.m_MapSize"
Location: HeightMipmap.cpp:184 (CHeightMipmap::BilinearUpdate)
Call stack:
(error while dumping stack: No stack frames found)
errno = 0 (No error reported here)
OS error = 0 (no error code was set)

Not reproducible and looks different than #2050 - also a crash modifying terrain in Atlas.

Change History (2)

comment:1 by Stan, 10 years ago

Can't find Cycladic Archipelago (6) also, #2050 is fixed.

comment:2 by historic_bruno, 10 years ago

Component: Atlas editorCore engine
Priority: Should HaveIf Time Permits

It should be one of the Cycladic Archipelago skirmish maps now, but in any case it's not a problem in the map, but a problem in the height mipmap logic.

Possibly relevant, there is a TODO in HeightMipmap.cpp

// TODO: should verify that the bounds calculations are actually correct
Note: See TracTickets for help on using tickets.