View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002602 | Spring engine | General | public | 2011-08-04 20:45 | 2011-08-04 23:24 |
| Reporter | abma | Assigned To | Kloot | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 0.82.7+git | ||||
| Fixed in Version | 0.82.7+git | ||||
| Summary | 0002602: (master) failed assertion on start with zero-k 0.8.9.1 | ||||
| Description | to reproduce, just select Zero-K as game -> assertion failed http://pastebin.com/P3iB3bwr or is this fine? if so, how to bug game-authors? afaik assertions can be only seen in debug builds, the buildbot produces release-builds... | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
Not fine, this means some widget (or unsynced gadget) performed a div0 and leaked the value back to a Spring callout in its Update function. In this case it actually seems to be a call to Lua's own math.floor, which is defined in lmathlib.cpp (math_floor) and uses luaL_checknumber to read its argument from the stack as Spring's API callouts do. Can be ignored so long as the value stays in pure Lua. |
|
|
fixed by d6755ce4574aeee196708be2fd3884310bd63c56 (so scripts can still do math.floor(1.0 / 0.0) and whatnot in debug builds, even though it makes no sense) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-08-04 20:45 | abma | New Issue | |
| 2011-08-04 20:45 | abma | Summary | (master) failed assertion on start with zero-k => (master) failed assertion on start with zero-k 0.8.9.1 |
| 2011-08-04 20:46 | abma | Description Updated | |
| 2011-08-04 21:11 | Kloot | Note Added: 0007218 | |
| 2011-08-04 21:20 | Kloot | Note Edited: 0007218 | |
| 2011-08-04 21:24 | Kloot | Note Edited: 0007218 | |
| 2011-08-04 23:24 | Kloot | Note Added: 0007219 | |
| 2011-08-04 23:24 | Kloot | Status | new => resolved |
| 2011-08-04 23:24 | Kloot | Fixed in Version | => 0.82.7+git |
| 2011-08-04 23:24 | Kloot | Resolution | open => fixed |
| 2011-08-04 23:24 | Kloot | Assigned To | => Kloot |