Page 1 of 1
Shard issues in spring 89
Posted: 14 Jul 2012, 23:18
by Forboding Angel
Infolog hit 57mb, full of this:
Code: Select all
[f=0000000] <SkirmishAI: Shard dev (team 0)>: added UnitHandler module
Re: Shard issues in spring 89
Posted: 15 Jul 2012, 14:41
by Tobi
Re: Shard issues in spring 89
Posted: 16 Jul 2012, 02:35
by Forboding Angel
Thanks for the update Tobi. Is there anything I can do in the meantime, or do I just need to hold my horses and wait till it's sorted?
I was wanting to make some more youtube vids, but it's not like the sky will fall if I don't get to them right this second

Re: Shard issues in spring 89
Posted: 16 Jul 2012, 10:08
by Tobi
No need to do anything unless you have a good guess as to what the cause is: As far as I know no one yet has a clue why this is happening
(looks a bit like memory corruption, but valgrind didn't find anything)
Re: Shard issues in spring 89
Posted: 16 Jul 2012, 11:55
by AF
Try using my last VS build, I'm not sure if it still works though as nobodies given feedback
Could this be related at all to how Shards lua vm is being linked in and possible crossover with springs own lua vm fork?
Re: Shard issues in spring 89
Posted: 16 Jul 2012, 13:05
by Tobi
I considered that option, but dismissed it as unlikely since in Shard you integrate Lua as C source code, while Spring integrates Lua as C++ source code, so Spring's Lua has all its names mangled. (I also checked this using nm and/or objdump)
Re: Shard issues in spring 89
Posted: 24 Jul 2012, 03:37
by abma
i hopefully fixed the issue...
@Forb: can you please try if
http://springrts.com/dl/buildbot/defaul ... -gb9e0932/ works? (either the portable or the minimal portable)
Re: Shard issues in spring 89
Posted: 24 Jul 2012, 14:44
by Forboding Angel
Just saw this. I'll give it a shot today and report back. Thanks :)
Re: Shard issues in spring 89
Posted: 25 Jul 2012, 03:22
by Forboding Angel
Loads up fine, does nothing. Infolog:
http://pastebin.com/F2JRuzUj
One thing interesting to note. First time I started, there was an issue with unit_scripts.lua (ya know, the gadget that loads lus), so I removed it as all my scripts are COB. However, while it didn't crash the game, It took out the gadget handler.
It took me a minute to realize that the gadget handler was toast, and before I figured that out I had spawned a commander on both sides. When I spawned one for shard, it started building and stuff.
Re: Shard issues in spring 89
Posted: 25 Jul 2012, 09:49
by abma
ok, thanks for testing. the endless loop seems to be fixed. that it does nothing ... hmm, maybe the datafiles of Shard for evorts have to be updated?
Re: Shard issues in spring 89
Posted: 25 Jul 2012, 11:58
by Forboding Angel
But why would it function when the gadget handler tanked the first time?
Re: Shard issues in spring 89
Posted: 25 Jul 2012, 13:11
by AF
Separate lua VMs, this is more likely an issue with the gadget handler being taken out interrupting the expected flow of events. Hence why shard started building once given a commander