Bug #62
Crash in CTextureBump destructor
Status: | Closed | Start date: | 09/09/2008 | |
---|---|---|---|---|
Priority: | High | Due date: | ||
Assignee: | kervala | % Done: | 100% |
|
Category: | NeL: General | |||
Target version: | Version 0.7.0 | Estimated time: | 5.00 hours |
Description
When going into CTextureBump destructor, _NameToNFHandle (line 332 of src/3d/texture_bump.cpp) is invalid so _NameToNFHandle->second.NumRefs is generating an exception.
It should not occur since neither std::map erase and insert are invalidating iterators (VC++ STL specific case ?).
History
#1 Updated by kervala almost 10 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset r252.
#2 Updated by kervala almost 10 years ago
The fix removes the use of the _NameToNFHandle variable for storing the iterator.
Instead, it's looking for the right iterator in destructor, so it's sure it's correct.
#3 Updated by sfb over 9 years ago
- Status changed from Resolved to Closed
#4 Updated by kervala almost 8 years ago
- Project changed from NeL to Ryzom
- Category deleted (
3d) - Target version deleted (
Version 0.7.0)
#5 Updated by kervala almost 8 years ago
- Category set to NeL: General
- Target version set to Version 0.7.0