View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000214 | Gameplay + OpenGL | [All Projects] Bug | public | 2017-02-08 21:45 | 2017-02-09 09:11 |
Reporter | DoomKrakken | ||||
Assigned To | |||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0000214: Guncaster not working on the latest 2.8 build... | ||||
Description | I'm getting hit with a massive blizzard of error messages whenever I run Guncaster. I'm using GZDoom x64 2.4 pre-359. Here are a few examples... - Unknown class name <insert classname> of type 'Inventory' - Truncation of floating point constant <insert float number> - Self pointer used in ambiguous context; VM execution may abort! A few specific ones... Class PowerRunDamage1 referenced but not defined Class PowerTomeEffect referenced but not defined Class PowerGunzerking referenced but not defined Class PowerBerserkDamage referenced but not defined Execution could not continue. 4 errors during actor postprocessing Help? :( | ||||
Steps To Reproduce | Simple. Run the latest version of Guncaster with the latest version of GZDoom. | ||||
Additional Information | Could all of this be due to the new ZScript format? | ||||
Tags | DECORATE, Guncaster, ZScript | ||||
That's anything but an engine bug. And shouldn't be marked with urgent. You can fix these mod-side. | |
Then I'm sure you can tell me what the hell just happened... 'cuz I have absolutely no clue! I didn't change anything between switching GZDoom versions, and it ran in the version I was using before (and still runs)... but now that I switched GZDoom up and craps out on me. If you're saying I can fix it via simple modding, then how do I do it? |
|
Using the latest commit it starts fine. Lots of warnings are still there but most likely they need to be fixed in the mod itself. 'Most likely' because using Debug configuration I'm getting this:
It's not related to Guncaster and will be fixed in the engine. |
|
That assert means that some unmanaged object slipped back into the garbage collector. | |
The assert happens without any mods, just finish a level in any game and it will be triggered. | |
The breaking issue was fixed, the assert will have to wait until I see it myself - if it wasn't the ReadyWeapon issue I last fixed yesterday evening. |
|
If you get the assert again, please try to find out a bit more about the object that triggered it and where the call originated. | |
Can I download that version of GZDoom, then? If so, where? Or is it not available yet? Thanks for getting to this... :D |
|
Here is the callstack I've got upon entering Doom II MAP02 from MAP01:
Actor's class is Pistol. |
|
It's a sort of double free issue: GC::Mark() is called twice at least for inventory classes. The first one is from player's garbage collection:
The second one is from flat pointers list:
Is it correct behavior to collect those objects twice? |
|
GC::Mark can be called many times for the same actor. It shouldn't do anything when trying to mark an already marked object again. And can we please do this on a separate ticket? This one has been resolved. |
|
And if I am not mistaken I got this already fixed. AActor declared 2 pointers to classes which I missed when deleting the others. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-08 21:45 | DoomKrakken | New Issue | |
2017-02-08 21:45 | DoomKrakken | Tag Attached: DECORATE Guncaster ZScript | |
2017-02-09 00:05 | DoomKrakken | Tag Detached: DECORATE Guncaster ZScript | |
2017-02-09 00:05 | DoomKrakken | Tag Attached: DECORATE | |
2017-02-09 00:05 | DoomKrakken | Tag Attached: ZScript | |
2017-02-09 00:05 | DoomKrakken | Tag Attached: Guncaster | |
2017-02-09 03:11 | Lud | Note Added: 0000454 | |
2017-02-09 03:48 | DoomKrakken | Note Added: 0000455 | |
2017-02-09 03:52 | DoomKrakken | Note Edited: 0000455 | View Revisions |
2017-02-09 04:06 | _mental_ | Note Added: 0000456 | |
2017-02-09 04:21 | _mental_ | Note Edited: 0000456 | View Revisions |
2017-02-09 04:26 | Graf Zahl | Note Added: 0000458 | |
2017-02-09 04:35 | _mental_ | Note Added: 0000459 | |
2017-02-09 04:44 | Graf Zahl | Status | new => resolved |
2017-02-09 04:44 | Graf Zahl | Resolution | open => fixed |
2017-02-09 04:44 | Graf Zahl | Note Added: 0000460 | |
2017-02-09 04:45 | Graf Zahl | Note Added: 0000461 | |
2017-02-09 04:49 | DoomKrakken | Note Added: 0000463 | |
2017-02-09 04:53 | DoomKrakken | Note Edited: 0000463 | View Revisions |
2017-02-09 04:59 | _mental_ | Note Added: 0000464 | |
2017-02-09 08:51 | _mental_ | Note Added: 0000471 | |
2017-02-09 08:52 | _mental_ | Status | resolved => needs review |
2017-02-09 09:09 | Graf Zahl | Note Added: 0000472 | |
2017-02-09 09:10 | Graf Zahl | Status | needs review => resolved |
2017-02-09 09:11 | Graf Zahl | Note Added: 0000473 |