Crash Report

From Skyscraper Wiki
Revision as of 17:41, 16 July 2024 by Elevator1512 (talk | contribs)
Jump to navigation Jump to search

A crash report will occur when a building has an error that may or may not result in an error message. It can either appear during or after loading any building due to a number of factors. One example is an issue with a development build.

A report generally starts with "Unhandled Exception" and lists an Exp Code, Exp Flags, and Exp Address as well as what OS version was running at the time. It then shows a call stack about what was happening at the time of the crash, then a dump of the operating system specifications as well as the building.

Example Crash Report from the Simple building when attempting to Ctrl+Alt+Click to remove an elevator call or floor button:

*** Unhandled Exception
   ExpCode: 0xC0000005
   ExpFlags: 0
   ExpAddress: 0xEF7B0EDF

SymInit: Symbol SearchPath: '.', symOptions: 530, 

OS Version: 6.2.9200 ()

Loading symbols........................................................................................................

Call stack:
C:\bullet-svn\src\BulletCollision\BroadphaseCollision\btQuantizedBvh.cpp (168): btQuantizedBvh::buildTree
C:\bullet-svn\src\BulletCollision\CollisionShapes\btOptimizedBvh.cpp (187): btOptimizedBvh::build
C:\bullet-svn\src\BulletCollision\CollisionShapes\btBvhTriangleMeshShape.cpp (352): btBvhTriangleMeshShape::buildOptimizedBvh
C:\bullet-svn\src\BulletCollision\CollisionShapes\btBvhTriangleMeshShape.cpp (37): btBvhTriangleMeshShape::btBvhTriangleMeshShape
C:\skyscraper\ogrebullet\Collisions\src\Shapes\OgreBulletCollisionsTrimeshShape.cpp (133): OgreBulletCollisions::TriangleMeshCollisionShape::Finish
C:\skyscraper\src\sbs\mesh.cpp (840): SBS::MeshObject::CreateCollider
C:\skyscraper\src\sbs\wall.cpp (156): SBS::Wall::DeletePolygons
C:\skyscraper\src\sbs\mesh.cpp (394): SBS::MeshObject::DeleteWalls
C:\skyscraper\src\sbs\mesh.cpp (145): SBS::MeshObject::~MeshObject
00007FFCF2507303 (SBS): (filename not available): SBS::MeshObject::`vector deleting destructor'
C:\skyscraper\src\sbs\control.cpp (150): SBS::Control::~Control
00007FFCF250E5F3 (SBS): (filename not available): SBS::Control::`vector deleting destructor'
C:\skyscraper\src\sbs\sbs.cpp (2590): SBS::SBS::DeleteObject
C:\skyscraper\src\sbs\camera.cpp (635): SBS::Camera::ClickedObject
C:\skyscraper\src\frontend\mainscreen.cpp (705): Skyscraper::MainScreen::OnMouseButton
00007FFCDE1D3884 (wxbase32u_vc_custom): (filename not available): wxAppConsoleBase::CallEventHandler
00007FFCDE2D71AF (wxbase32u_vc_custom): (filename not available): wxEvtHandler::ProcessEventIfMatchesId
00007FFCDE2D7CC3 (wxbase32u_vc_custom): (filename not available): wxEvtHandler::SearchDynamicEventTable
00007FFCDE2D8032 (wxbase32u_vc_custom): (filename not available): wxEvtHandler::TryHereOnly
00007FFCDE2D7113 (wxbase32u_vc_custom): (filename not available): wxEvtHandler::ProcessEvent
00007FFCDE2D7C2A (wxbase32u_vc_custom): (filename not available): wxEvtHandler::SafelyProcessEvent
00007FFCDAB755D2 (wxmsw32u_core_vc_custom): (filename not available): wxWindow::HandleMouseEvent
00007FFCDAB7B050 (wxmsw32u_core_vc_custom): (filename not available): wxWindow::MSWHandleMessage
00007FFCDAB7D4F8 (wxmsw32u_core_vc_custom): (filename not available): wxWindow::MSWWindowProc
00007FFCDAB82496 (wxmsw32u_core_vc_custom): (filename not available): wxWndProc
00007FFD28ADE858 (USER32): (filename not available): CallWindowProcW
00007FFD28ADE299 (USER32): (filename not available): DispatchMessageW
00007FFCDAB8E66D (wxmsw32u_core_vc_custom): (filename not available): wxGUIEventLoop::Dispatch
00007FFCDE2097C3 (wxbase32u_vc_custom): (filename not available): wxEventLoopManual::DoRun
00007FFCDE209A4A (wxbase32u_vc_custom): (filename not available): wxEventLoopBase::Run
00007FFCDE1D61B7 (wxbase32u_vc_custom): (filename not available): wxAppConsoleBase::MainLoop
00007FFCDE259F1C (wxbase32u_vc_custom): (filename not available): wxEntryReal
00007FFCDE336458 (wxbase32u_vc_custom): (filename not available): wxEntry
C:\skyscraper\src\frontend\skyscraper.cpp (182): main
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
00007FFD28447034 (KERNEL32): (filename not available): BaseThreadInitThunk
00007FFD29E02651 (ntdll): (filename not available): RtlUserThreadStart

Simulator State Dump
--------------------------
Platform: Windows x86 64-bit
Renderer: Direct3D9
Frontend version: 1.12.0.2976
SBS version: 0.12.0.2980
Instance number: 0
Building Name: My Building
Building Filename: Simple.bld
Building Version: 
InStairwell: false
InElevator: true
InShaft: false
CameraFloor: 0
ElevatorNumber: 1
CarNumber: 1
ElevatorSync: true
Running Time: 17.68
BuildingsEnabled: false
ExternalEnabled: false
LandscapeEnabled: false
SkyboxEnabled: true
Verbose: false
InterfloorOnTop: false
Object Count: 1026
Camera Floor: 0
Camera Position: -2.44, 5.53, 7.62

--------------------------
Copy and paste the above information (select it and press CTRL-C)
and either post it to the Skyscraper forum at http://forum.skyscrapersim.net
or email to ryan@skyscrapersim.net

Press OK to close Skyscraper