View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005515 | The Dark Mod | Coding | public | 29.01.2021 14:37 | 30.01.2021 07:21 |
Reporter | stgatilov | Assigned To | stgatilov | ||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.08 | ||||
Target Version | TDM 2.09 | Fixed in Version | TDM 2.09 | ||
Summary | 0005515: Crash when CBloodMarker::spilledBy points to removed AI | ||||
Description | CBloodMarker::_spilledBy is raw pointer. So if the entity pointed by this member is removed (e.g. from script), then the pointer remains invalid, and any subsequent access causes crash. This problem may happen on "Now And Then" FM. | ||||
Steps To Reproduce | It happenned on "Now And Then" FM, but is pretty hard to reproduce. Way 1 (works well): 1) Load the attached savegame (from beta209-02). 2) Go down the stairs until you get a cutscene showing the guard in the window. 3) Wait for half a minute. Way 2 (supposedly should work, but it does not): 1) Start new game, enable notarget/noclip. 2) setviewpos -2371.72 1124.54 -910.26 4.8 7.2 0.0 3) Take painting. 4) setviewpos -2461.61 1236.86 -1057.22 22.5 177.7 0.0 5) Frob lever, wait for cutscene. 6) teleport Mozir 7) Shoot broadhead arrows at this guy, make sure it leaves blood spill on ground. 8) setviewpos -447.87 -95.21 -580.38 10.2 -89.8 0.0 9) Go down the stairs until cutscene about guard in the window. 10) Wait for some time. | ||||
Additional Information | Forum thread: https://forums.thedarkmod.com/index.php?/topic/20733-seestakeoutsignal-caught-segmentation-fault/ | ||||
Tags | No tags attached. | ||||
Hopefully fixed in svn rev 9091. Although I could not reproduce the problem in Now and Then from clean start (so I could not verify the fix either). |
|
Date Modified | Username | Field | Change |
---|---|---|---|
29.01.2021 14:37 | stgatilov | New Issue | |
29.01.2021 14:37 | stgatilov | Status | new => assigned |
29.01.2021 14:37 | stgatilov | Assigned To | => stgatilov |
29.01.2021 14:38 | stgatilov | Note Added: 0013565 | |
29.01.2021 14:38 | stgatilov | File Added: Sauvegarde_rapide_0.save | |
29.01.2021 17:05 | stgatilov | Relationship added | related to 0003075 |
30.01.2021 07:21 | stgatilov | Note Added: 0013572 | |
30.01.2021 07:21 | stgatilov | Status | assigned => resolved |
30.01.2021 07:21 | stgatilov | Resolution | open => fixed |
30.01.2021 07:21 | stgatilov | Fixed in Version | => TDM 2.09 |