View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002487 | Spring engine | General | public | 2011-06-21 01:44 | 2012-03-28 16:21 |
| Reporter | Malina | Assigned To | abma | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | unable to reproduce | ||
| Product Version | 0.82.7.1 | ||||
| Summary | 0002487: Spring MT - Lua exception handling appears to be busted | ||||
| Description | Single-Threaded works great, BUT Multi-Threaded crashed in a middle of a game. | ||||
| Additional Information | I started playing the game in MT mode. In a middle of a game there was a crash. I tried to enter the game again (also MT) - crash again. I tried to enter the game again (ST) - no crash. When the game ended I tried to replay in MT - crash again. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
Well, it appears the lua exception handling (at least for MT) isn't working as expected. I'm getting completely random hangs. The hangs seem to be caused by failure to release mutexes after an exception has been thrown. In other words pretty much like setjump/longjmp behavior. Also there is a "C stack overflow" spam that strongly points towards some kind of internal lua error and failure to clean up after the exception has been caught. So, I'm not sure how to proceed with this one right now. |
|
|
infolog2.txt, log2_1.sdf, log2_2.sdf another crash. when the main structure was annihilated by enemy bombers. |
|
|
Thanks, I will do a stress test of the lua exception handling. As you see, these exceptions are what makes hell break loose. [f=0091392] LuaRules::RunCallIn: error = 2, RecvFromSynced, [string "LuaRules/Gadgets/unit_is_on_fire.lua"]:156: Invalid call |
|
|
Interesting, but I think, I don't understand what you are talking about :) |
|
|
this is hopefully fixed in 88.0. please report back if not. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-06-21 01:44 | Malina | New Issue | |
| 2011-06-21 01:44 | Malina | File Added: infolog.txt | |
| 2011-06-21 01:44 | Malina | Graphics Card | => unknown |
| 2011-06-21 01:44 | Malina | File Added: 20110621_015217_FrozenFortress_v2_0.82.7.sdf | |
| 2011-06-23 21:08 | zerver | Status | new => assigned |
| 2011-06-23 21:08 | zerver | Assigned To | => zerver |
| 2011-06-24 02:46 | zerver | File Added: infolog.morehang.txt | |
| 2011-06-24 02:56 | zerver | Note Added: 0006804 | |
| 2011-06-24 02:57 | zerver | Assigned To | zerver => |
| 2011-06-24 02:57 | zerver | Summary | Spring MT - Crash in 0.82.7.1 => Spring MT - Lua exception handling appears to be busted |
| 2011-06-24 02:57 | zerver | Status | assigned => new |
| 2011-06-24 02:58 | zerver | Note Edited: 0006804 | |
| 2011-06-28 00:00 | Malina | File Added: infolog2.txt | |
| 2011-06-28 00:02 | Malina | File Added: log2_1.sdf | |
| 2011-06-28 00:02 | Malina | File Added: log2_2.sdf | |
| 2011-06-28 00:04 | Malina | Note Added: 0006820 | |
| 2011-06-28 17:14 | zerver | Note Added: 0006825 | |
| 2011-06-28 19:04 | Malina | Note Added: 0006826 | |
| 2012-03-28 16:21 | abma | Note Added: 0008536 | |
| 2012-03-28 16:21 | abma | Status | new => resolved |
| 2012-03-28 16:21 | abma | Resolution | open => unable to reproduce |
| 2012-03-28 16:21 | abma | Assigned To | => abma |