| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0005885 | Spring engine | Lua | public | 2018-02-06 16:44 | 2018-02-06 17:47 | ||||
| Reporter | Floris | ||||||||
| Assigned To | Kloot | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Product Version | 104.0 +git | ||||||||
| Target Version | Fixed in Version | 104.0 +git | |||||||
| Summary | 0005885: calling Spring.GetTeamUnitsSorted(teamID) with enemy team param (when playing) crashes spring | ||||||||
| Description | calling Spring.GetTeamUnitsSorted(teamID) with enemy team param (when playing) crashes spring | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||
Notes |
|
|
Kloot (developer) 2018-02-06 17:21 Last edited: 2018-02-06 17:21 |
infolog? |
|
Floris (reporter) 2018-02-06 17:34 |
i must note its not a real problem for me because i can just check if user is spec or not |
|
Kloot (developer) 2018-02-06 17:40 |
rts/Lua/LuaSyncedRead.cpp:1735 rts/lib/lua/src/ldo.cpp:321 rts/lib/lua/src/lvm.cpp:613 /opt/mxe/tmp-gcc/gcc-4.8.1.build/i686-w64-mingw32/libgcc/./gthr-default.h:628 rts/lib/lua/src/ldo.cpp:378 rts/lib/lua/src/ldo.cpp:465 rts/System/Misc/SpringTime.h:35 rts/lib/lua/src/lbaselib.cpp:378 rts/lib/lua/src/ldo.cpp:321 rts/lib/lua/src/lvm.cpp:613 strange-ish trace, also doesn't reproduce in a quick test with 151. |
|
Kloot (developer) 2018-02-06 17:44 Last edited: 2018-02-06 17:47 |
fixed in upstream maintenance, the "for (int unitDefID = 0;" would cause "unitDefHandler->GetUnitDefByID(unitDefID)" to return a nullptr |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2018-02-06 16:44 | Floris | New Issue | |
| 2018-02-06 17:21 | Kloot | Note Added: 0018780 | |
| 2018-02-06 17:21 | Kloot | Note Edited: 0018780 | View Revisions |
| 2018-02-06 17:34 | Floris | File Added: infolog.txt | |
| 2018-02-06 17:34 | Floris | Note Added: 0018782 | |
| 2018-02-06 17:40 | Kloot | Note Added: 0018783 | |
| 2018-02-06 17:44 | Kloot | Assigned To | => Kloot |
| 2018-02-06 17:44 | Kloot | Status | new => resolved |
| 2018-02-06 17:44 | Kloot | Resolution | open => fixed |
| 2018-02-06 17:44 | Kloot | Fixed in Version | => 104.0 +git |
| 2018-02-06 17:44 | Kloot | Note Added: 0018784 | |
| 2018-02-06 17:47 | Kloot | Note Edited: 0018784 | View Revisions |


