View Issue Details

IDProjectCategoryView StatusLast Update
0005454Spring engineGeneralpublic2017-02-06 13:05
ReporterGoogle_Frog Assigned ToKloot  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version103.0 +git 
Summary0005454: 103.0.1-529-gb68830c Access violation with malformed _data.lua
DescriptionHere is a crash: https://github.com/ZeroK-RTS/CrashReports/issues/12

The cause seems to be malformed _data, similar to this ticket.

103.0.1-529-gb68830c includes the fix for malformed _data. https://github.com/spring/spring/commit/67de5882d3e5256ac3c9a963422dd7a522ea5f73
TagsNo tags attached.
Attached Files
IGL_data.lua (Attachment missing)
Checked infolog.txt for Errors

Activities

Google_Frog

2017-02-05 00:30

reporter   ~0017210

Similar to this ticket: https://springrts.com/mantis/view.php?id=5429

Kloot

2017-02-05 00:42

developer   ~0017211

rts/System/SpringApp.cpp:975
/opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/functional:601
/opt/mxe/usr/lib/gcc/i686-w64-mingw32/4.8.1/include/c++/functional:2469
rts/System/SpringApp.cpp:867
rts/System/Main.cpp:48
rts/System/Main.cpp:109

is the malformed _data.lua available somewhere?

Google_Frog

2017-02-05 00:48

reporter   ~0017212

I doubt I can find the users _data.lua. I can create my own though.
infolog malformed reproduced.txt (Attachment missing)

Kloot

2017-02-05 00:50

developer   ~0017214

that's fine too if it reproduces the crash.

Google_Frog

2017-02-05 00:51

reporter   ~0017215

I have experiemented a bit and it seems that any non-valid lua file will crash with the same stacktrace.

Kloot

2017-02-05 01:54

developer   ~0017216

Strangely, hacking up the LuaMenu handler s.t. either it always loads a garbage code string or the Initialize callin always fails doesn't cause any problems.

Anonymous

2017-02-06 13:05

viewer   ~0017227

Fix eff0d15a735de78720594c26ccf7118138446197 committed to develop branch: fix 0005454, repo: spring changeset id: 7885

Issue History

Date Modified Username Field Change
2017-02-05 00:29 Google_Frog New Issue
2017-02-05 00:30 Google_Frog Note Added: 0017210
2017-02-05 00:42 Kloot Note Added: 0017211
2017-02-05 00:48 Google_Frog File Added: infolog malformed reproduced.txt
2017-02-05 00:48 Google_Frog Note Added: 0017212
2017-02-05 00:49 Google_Frog File Added: IGL_data.lua
2017-02-05 00:50 Kloot Note Added: 0017214
2017-02-05 00:51 Google_Frog Note Added: 0017215
2017-02-05 01:54 Kloot Note Added: 0017216
2017-02-06 12:55 Kloot Assigned To => Kloot
2017-02-06 12:55 Kloot Status new => assigned
2017-02-06 13:05 Changeset attached => spring develop eff0d15a
2017-02-06 13:05 Anonymous Note Added: 0017227
2017-02-06 13:05 Anonymous Status assigned => resolved
2017-02-06 13:05 Anonymous Resolution open => fixed