View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000841 | LDMud 3.5 | Runtime | public | 2015-06-06 23:19 | 2018-01-30 03:59 |
Reporter | abathur | Assigned To | Gnomi | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 3.5.0 | Fixed in Version | 3.5.0 | ||
Summary | 0000841: Hard crash with inline closures | ||||
Description | We ran into a hard crash earlier this week while I've been working on a representative LPC test case for developing a syntax highlighter (this was on 3.3.719). Today I had time to do some more work on the syntax test and was able to reproduce a crash in 3.5.0.3 (more precisely: Current Commit: 3.5.0.3-8-g874d088). I assume this is the same crash on both versions, but I can't swear by that. I took a while this afternoon to drill down to a pretty minimal test case, which is attached (yes; even though the closures don't reference each other, both are necessary.) Also found this in the log: 2015.06.06 22:51:52 allocation from free list for 80 bytes: block 0x2fb39ae (user 0x2fb39be) magic match failed, expected 624a92f0, found 624a92f00000 | ||||
Steps To Reproduce | 1.) find_and_load_object(closure_crash.c) 2.) wait a few seconds (the two runs I did with this final draft of the test case took 3-4 seconds to actually crash). Note: assumes your MUD will apply reset() in order to self-destruct. If not you may need to modify the file or use some other means of destructing it. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
|
Fix committed in revision f6469558302de635caf768dd561054d7555baf73 to master branch (see changeset 999 for details). Thank you for reporting! |
|
Thanks for the test case. With that file the bug was pretty easy to find. |
|
Should we port it to 3.3? |
|
Yes, at a first glance seems to be the same on 3.3, so I'll fix it there, too. |
|
Fix committed in revision f6469558302de635caf768dd561054d7555baf73 to master branch (see changeset 1394 for details). Thank you for reporting! |
|
Fix committed in revision f6469558302de635caf768dd561054d7555baf73 to master branch (see changeset 2721 for details). Thank you for reporting! |
|
Fix committed in revision f6469558302de635caf768dd561054d7555baf73 to master branch (see changeset 3807 for details). Thank you for reporting! |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-06-06 23:19 | abathur | New Issue | |
2015-06-06 23:19 | abathur | File Added: closure_crash.c | |
2015-06-18 19:34 | Gnomi | Assigned To | => Gnomi |
2015-06-18 19:34 | Gnomi | Status | new => assigned |
2015-06-18 20:17 | Source_changeset_attached | => ldmud.git master f6469558 | |
2015-06-18 20:17 | guest | Note Added: 0002257 | |
2015-06-18 20:17 | guest | Status | assigned => resolved |
2015-06-18 20:17 | guest | Resolution | open => fixed |
2015-06-18 20:36 | Gnomi | Note Added: 0002258 | |
2015-06-18 20:58 | zesstra | Project | LDMud => LDMud 3.5 |
2015-06-18 20:58 | zesstra | Fixed in Version | => 3.5.0 |
2015-06-18 20:58 | zesstra | Target Version | => 3.5.0 |
2015-06-18 21:04 | zesstra | Note Added: 0002259 | |
2015-06-19 16:54 | Gnomi | Note Added: 0002260 | |
2018-01-29 18:59 | Gnomi | Source_changeset_attached | => ldmud.git master f6469558 |
2018-01-29 18:59 | Gnomi | Note Added: 0002308 | |
2018-01-29 21:57 | Gnomi | Source_changeset_attached | => ldmud.git master f6469558 |
2018-01-29 21:57 | Gnomi | Note Added: 0002359 | |
2018-01-30 03:59 | Gnomi | Source_changeset_attached | => ldmud.git master f6469558 |
2018-01-30 03:59 | Gnomi | Note Added: 0002410 |