MantisBT - Zandronum |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000823 | Zandronum | [All Projects] Bug | public | 2012-04-29 15:38 | 2018-09-30 19:52 |
|
| Reporter | Tribeam213 | |
| Assigned To | Torr Samaho | |
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
| Product Version | 1.0-beta | |
| Target Version | | Fixed in Version | 1.0 | |
|
| Summary | 0000823: Strange ACS Crash |
| Description | 'http://pastebin.com/Seh0yUep [^]'
Was programing some scripts when a strange crash started to occur. I narrowed the problem and created this script to demonstrate. |
| Steps To Reproduce | Put this in a blank map, play it, puke 5
the scripts have comments with extra details. |
| Additional Information | This crash does not bring up the crash dialog. |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | ACScrash.wad (2,663) 2012-08-05 10:08 /tracker/file_download.php?file_id=657&type=bug |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2012-04-29 15:38 | Tribeam213 | New Issue | |
| 2012-04-29 15:56 | Edward-san | Note Added: 0003492 | |
| 2012-04-29 15:57 | Tribeam213 | Note Added: 0003493 | |
| 2012-04-29 16:52 | Dusk | Product Version | => 1.0-beta |
| 2012-04-30 00:47 | Torr Samaho | Note Added: 0003501 | |
| 2012-04-30 02:36 | Tribeam213 | Note Added: 0003504 | |
| 2012-04-30 02:37 | Tribeam213 | Note Edited: 0003504 | bug_revision_view_page.php?bugnote_id=3504#r1885 |
| 2012-04-30 04:55 | Tribeam213 | Note Edited: 0003504 | bug_revision_view_page.php?bugnote_id=3504#r1889 |
| 2012-04-30 07:34 | Tribeam213 | Note Edited: 0003504 | bug_revision_view_page.php?bugnote_id=3504#r1890 |
| 2012-04-30 07:34 | Tribeam213 | Note Edited: 0003504 | bug_revision_view_page.php?bugnote_id=3504#r1891 |
| 2012-05-04 22:11 | Blzut3 | Note Added: 0003562 | |
| 2012-05-06 23:41 | MP2E | Note Added: 0003573 | |
| 2012-06-09 13:22 | Torr Samaho | Category | General => Bug |
| 2012-07-31 19:28 | Torr Samaho | Status | new => acknowledged |
| 2012-08-05 10:08 | Torr Samaho | File Added: ACScrash.wad | |
| 2012-08-05 10:37 | Torr Samaho | Note Added: 0004262 | |
| 2012-08-05 10:37 | Torr Samaho | Assigned To | => Torr Samaho |
| 2012-08-05 10:37 | Torr Samaho | Status | acknowledged => needs testing |
| 2012-08-24 10:39 | Dusk | Note Added: 0004427 | |
| 2012-08-24 10:39 | Dusk | Status | needs testing => resolved |
| 2012-08-24 10:39 | Dusk | Fixed in Version | => 1.0 |
| 2012-08-24 10:39 | Dusk | Resolution | open => fixed |
| 2018-09-30 19:52 | Blzut3 | Status | resolved => closed |
|
Notes |
|
|
|
|
You need to specify if it crashes in 98d and in latest 98e alpha. |
|
|
|
|
|
|
|
|
|
|
|
(0003504)
|
|
Tribeam213
|
2012-04-30 02:36
(edited on: 2012-04-30 07:34) |
|
This does work in ZDoom, however I haven't upgraded GZDoom in a long time and it doesn't work there.
Edit:
Newest GZDoom rev does not crash,
the GZDoom version I used before had zdoom r3010.
zdoom r3563(that's the earliest I could find on the svn builds) didn't crash.
so I'm guessing between r3010 and r3563 is a fix.
Edit2: I "think" i might of found the main issue, though thats a maybe; it appears that if a script has more than 20 variables, ACS becomes unstable and all kinds of weird things start to happen like string corruption and crashing.
moving them to map scope fixes everything.
|
|
|
|
(0003562)
|
|
Blzut3
|
|
2012-05-04 22:11
|
|
|
There was a bug in ZDoom where the chunk that tells the VM to allocate room for more than 20 variables (the default limit is 20) was not read properly. I don't know the revision for the fix offhand, but if someone were to look through the log for p_acs.cpp they should find it. |
|
|
|
(0003573)
|
|
MP2E
|
|
2012-05-06 23:41
|
|
|
|
|
|
|
I backported the fix from 3352 and this seems to fix the problem. Please confirm with this binary. |
|
|
|
(0004427)
|
|
Dusk
|
|
2012-08-24 10:39
|
|
|