TheAssemblyArmada / Thyme

An open source re-implementation of Generals : Zero Hour written in C++.
GNU General Public License v2.0
584 stars 59 forks source link

w3dview texture crash 3 #1137

Closed xezon closed 2 months ago

xezon commented 3 months ago
    ntdll.dll!_RtlReportCriticalFailure@12()    Unknown
    ntdll.dll!_RtlpReportHeapFailure@4()    Unknown
    ntdll.dll!_RtlpHpHeapHandleError@12()   Unknown
>   ntdll.dll!_RtlpLogHeapFailure@24()  Unknown
    ntdll.dll!@RtlpAllocateHeap@24()    Unknown
    ntdll.dll!_RtlpAllocateHeapInternal@16()    Unknown
    ntdll.dll!RtlAllocateHeap() Unknown
    KernelBase.dll!771cc682()   Unknown
    [Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]    
    [Inline Frame] w3dview.exe!Raw_Allocate_No_Zero(int) Line 47    C++
    w3dview.exe!MemoryPoolSingleBlock::Raw_Allocate_Single_Block(MemoryPoolSingleBlock * * list_head, int size, MemoryPoolFactory * owning_fact) Line 109   C++
    w3dview.exe!DynamicMemoryAllocator::Allocate_Bytes_No_Zero(int bytes) Line 145  C++
    w3dview.exe!DynamicMemoryAllocator::Allocate_Bytes(int bytes) Line 156  C++
    w3dview.exe!operator new[](unsigned int bytes) Line 200 C++
    w3dview.exe!BufferedFileClass::Read(void * buffer, int size) Line 72    C++
    w3dview.exe!DDSFileClass::DDSFileClass(const char * filename, unsigned int reduction_factor) Line 70    C++
    w3dview.exe!TextureLoadTaskClass::Get_Texture_Information(const char * name, unsigned int & reduction, unsigned int & width, unsigned int & height, unsigned int & depth, WW3DFormat & format, unsigned int & levels, bool use_dds) Line 711    C++
    w3dview.exe!TextureLoadTaskClass::Begin_Compressed_Load() Line 177  C++
    w3dview.exe!TextureLoadTaskClass::Begin_Load() Line 571 C++
    w3dview.exe!TextureLoader::Begin_Load_And_Queue(TextureLoadTaskClass * task) Line 505   C++
    w3dview.exe!TextureLoader::Request_Background_Loading(TextureBaseClass * texture) Line 322  C++
    w3dview.exe!TextureClass::Init() Line 331   C++
    w3dview.exe!DX8Wrapper::Apply_Render_State_Changes() Line 1546  C++
    w3dview.exe!DX8Wrapper::Draw(unsigned int primitive_type, unsigned short start_index, unsigned short polygon_count, unsigned short min_vertex_index, unsigned short vertex_count) Line 1432 C++
    w3dview.exe!DX8Wrapper::Draw_Triangles(unsigned short start_index, unsigned short polygon_count, unsigned short min_vertex_index, unsigned short vertex_count) Line 1519    C++
    [Inline Frame] w3dview.exe!DX8PolygonRendererClass::Render(int offset) Line 73  C++
    w3dview.exe!DX8TextureCategoryClass::Render() Line 655  C++
    w3dview.exe!DX8RigidFVFCategoryContainer::Render() Line 1388    C++
    w3dview.exe!Render_FVF_Category_Container_List(MultiListClass<DX8FVFCategoryContainer> & containers) Line 324   C++
    w3dview.exe!DX8MeshRendererClass::Flush() Line 342  C++
    w3dview.exe!W3D::Flush(RenderInfoClass & rinfo) Line 370    C++
    w3dview.exe!W3D::Render(SceneClass * scene, CameraClass * cam, bool clear, bool clearz, const Vector3 & color) Line 340 C++
    w3dview.exe!CGraphicView::Render(int update, unsigned int time) Line 599    C++
    w3dview.exe!CGraphicView::WindowProc(unsigned int message, unsigned int wParam, long lParam) Line 87    C++
    [External Code] 
Critical error detected c0000374
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in w3dview.exe.

This indicates corrupted heap.