View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005673 | The Dark Mod | Coding | public | 18.07.2021 08:26 | 26.11.2022 22:56 |
Reporter | duzenko | Assigned To | cabalistic | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | PC | OS | Windows | OS Version | 10 |
Product Version | SVN | ||||
Target Version | TDM 2.11 | Fixed in Version | TDM 2.11 | ||
Summary | 0005673: Crash with r_showViewEntities and LOD | ||||
Description | Crash in RB_ShowViewEntitys when LOD model changes/hides | ||||
Steps To Reproduce | Start any test map from https://forums.thedarkmod.com/index.php?/topic/17283-hide_distance-broken-again/ Set r_showViewEntities 1 Walk around the map | ||||
Additional Information | Stack trace dddddddd() Unknown [Frames below may be incorrect and/or missing] Unknown > TheDarkModNoTools.exe!R_IssueEntityDefCallback(idRenderEntityLocal * def=0x277b5560) Line 970 C++ TheDarkModNoTools.exe!R_EntityDefDynamicModel(idRenderEntityLocal * def=0x277b5560) Line 1007 C++ TheDarkModNoTools.exe!RB_ShowViewEntitys(viewEntity_s * vModels=0x20b55d80) Line 921 C++ TheDarkModNoTools.exe!RB_RenderDebugTools(drawSurf_s * * drawSurfs=0x20b5f380, int numDrawSurfs=40) Line 2469 C++ TheDarkModNoTools.exe!RB_STD_DrawView() Line 1109 C++ TheDarkModNoTools.exe!RB_DrawView() Line 1117 C++ TheDarkModNoTools.exe!RB_ExecuteBackEndCommands(const emptyCommand_t * cmds=0x20b6f380) Line 839 C++ TheDarkModNoTools.exe!R_IssueRenderCommands(frameData_t * frameData=0x03092b0c) Line 142 C++ TheDarkModNoTools.exe!idRenderSystemLocal::EndFrame(int * frontEndMsec=0x00000000, int * backEndMsec=0x00000000) Line 638 C++ TheDarkModNoTools.exe!idSessionLocal::UpdateScreen(bool outOfSequence=false) Line 2745 C++ TheDarkModNoTools.exe!idCommonLocal::Frame() Line 2553 C++ TheDarkModNoTools.exe!WinMain(HINSTANCE__ * hInstance=0x00730000, HINSTANCE__ * hPrevInstance=0x00000000, char * lpCmdLine=0x05fe7253, int nCmdShow=10) Line 1221 C++ [External Code] | ||||
Tags | No tags attached. | ||||
With some added debug code I was able to find the stacktrace where entity ref gets deleted It's still puzzling why the viewDef keeps a pointer to it, considering that they get rebuilt every frame |
|
Next stop in R_SetEntityDefViewEntity Enumerating each added viewEntity_t after the delete above only show valid entity ref's However RB_ShowViewEntitys receives a chain of viewEntity_t with an invalid pointer between entities 10 and 15 At this point I start suspecting the backend is not rendering the actually last frame data available, even with SMP off |
|
Assigning to @cabalistic as related to frameData management | |
You're right in that the backend was always one frame behind, independent of whether SMP is active or not. I changed that with 9527 and can't reproduce the crash anymore, so I'm hoping that's all there is to it. | |
Can't repeat the crash any more on the current svn | |
I had to revert rev 9527 because it broke mission success screen. Instead of normal background and the skull, the last in-game frame is simply stuck on-screen when mission ends. Perhaps mission failure screen has the same problem --- did not check. Feel free to restore the original fix, but please fix and test mission success (use tdm_end_mission), mission failure, save/load, i.e. some typical switches =) |
|
Too close to 2.10 release candidate. Moving to 2.11 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
18.07.2021 08:26 | duzenko | New Issue | |
18.07.2021 08:28 | duzenko | Note Added: 0014170 | |
18.07.2021 08:28 | duzenko | File Added: image.png | |
18.07.2021 08:44 | duzenko | Description Updated | |
18.07.2021 08:54 | duzenko | Note Added: 0014171 | |
18.07.2021 09:02 | duzenko | Note Added: 0014172 | |
18.07.2021 09:02 | duzenko | Assigned To | => cabalistic |
18.07.2021 09:02 | duzenko | Status | new => assigned |
01.08.2021 10:34 | cabalistic | Status | assigned => feedback |
01.08.2021 10:34 | cabalistic | Note Added: 0014226 | |
01.08.2021 13:00 | duzenko | Status | feedback => closed |
01.08.2021 13:00 | duzenko | Resolution | open => fixed |
01.08.2021 13:00 | duzenko | Note Added: 0014228 | |
05.08.2021 15:16 | duzenko | Status | closed => feedback |
05.08.2021 15:16 | duzenko | Resolution | fixed => reopened |
05.08.2021 15:16 | duzenko | Status | feedback => resolved |
05.08.2021 15:17 | duzenko | Resolution | reopened => fixed |
05.08.2021 15:25 | nbohr1more | Fixed in Version | => TDM 2.10 |
08.08.2021 14:20 | stgatilov | Status | resolved => assigned |
08.08.2021 14:20 | stgatilov | Note Added: 0014260 | |
11.01.2022 04:35 | stgatilov | Relationship added | related to 0005875 |
16.02.2022 19:13 | nbohr1more | Note Added: 0014726 | |
16.02.2022 19:13 | nbohr1more | Target Version | TDM 2.10 => TDM 2.11 |
26.11.2022 22:56 | nbohr1more | Status | assigned => resolved |
26.11.2022 22:56 | nbohr1more | Fixed in Version | TDM 2.10 => TDM 2.11 |