2025-07-18 15:35 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005454Spring engineGeneralpublic2017-02-06 13:05
ReporterGoogle_Frog 
Assigned ToKloot 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version103.0 +git 
Target VersionFixed in Version 
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.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0017210

Google_Frog (reporter)

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

~0017211

Kloot (developer)

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?

~0017212

Google_Frog (reporter)

I doubt I can find the users _data.lua. I can create my own though.

~0017214

Kloot (developer)

that's fine too if it reproduces the crash.

~0017215

Google_Frog (reporter)

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

~0017216

Kloot (developer)

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.

~0017227

Anonymous (viewer)

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

-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
+Issue History