Kernel Panic 4.6 - Page 1

Kernel Panic 4.6

Moderator: Content Developer

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7015
Joined: 16 Nov 2004, 13:08

Re: Kernel Panic 4.6

Post by zwzsg » 09 Apr 2014, 18:47

I read http://springrts.com/wiki/Rapid

I download and unziped http://packages.springrts.com/versions.gz

Inside it I found:

Code: Select all

kp:latest,4650fd0ab1a9d37a0a31765aa0e907d8,,Kernel Panic 4.5
kp:stable,5cbedd6403a6845bf5a030d8836a26ae,,Kernel Panic 4.6
kp:version:4.0,daca31ba7713d3e2922d6ef0669c88e4,,Kernel Panic 4.0
....
kp:version:4.5,4650fd0ab1a9d37a0a31765aa0e907d8,,Kernel Panic 4.5
kp:version:4.6,5cbedd6403a6845bf5a030d8836a26ae,,Kernel Panic 4.6
So:
- KP 4.6 is known to rapid
- KP latest == KP 4.5
- KP stable == KP 4.6


What tool do I need, which command should I use, to tell rapid to change kp:latest to kp:version:4.6 ?
0 x

User avatar
smoth
Posts: 22297
Joined: 13 Jan 2005, 00:46

Re: Kernel Panic 4.6

Post by smoth » 09 Apr 2014, 19:58

Check with DET, IIRC he knows all about rapid.
0 x

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7015
Joined: 16 Nov 2004, 13:08

Re: Kernel Panic 4.6

Post by zwzsg » 09 Apr 2014, 20:21

I checked with abma, det, and licho in #sy.

The problem is that when I uploaded Kernel Panic 4.6 on http://packages.springrts.com I used the tag "stable" instead of "latest". And Silicon host kp:latest.

I thought that the "latest" tag always point to the last upload version, but it's not the case, "latest" is just tag name that can be applied to any version. I suppose that for games that use a SVN, "latest" automatically change when a commit is done, but KP has no SVN.

I've been told that a version can only bear one tag. And that there is no interface for me to change tags.

For now, det has changed his springie config to use kp:stable instead of kp:latest.

For later, it would be nice if there was a way for me to change what tags point to, so as to have both "latest" and "stable" point to the same file.
0 x

User avatar
Jools
XTA Developer
Posts: 2804
Joined: 23 Feb 2009, 16:29

Re: Kernel Panic 4.6

Post by Jools » 10 Apr 2014, 20:53

We just commit with rapid using VERSION{9.xxx}. Apparently that produces the stable flag. No idea how to produce the latest flag.

I guess it would be nice if someone with rapid knowledge could point xta to default to xta:stable too then...
0 x

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7015
Joined: 16 Nov 2004, 13:08

Re: Kernel Panic 4.6

Post by zwzsg » 10 Apr 2014, 21:29

0 x

abma
Spring Developer
Posts: 3548
Joined: 01 Jun 2009, 00:08

Re: Kernel Panic 4.6

Post by abma » 25 Mar 2015, 01:47

The lua gadget on the map "Hex Farm 7" seems to have an error. it calls Spring.SetMapSquareTerrainType() with an out of range index it seems. engine now gives an error when this function is called with invalid parameters.

see:
https://springrts.com/mantis/view.php?id=4714
https://github.com/spring/spring/commit ... 695c7950a1
0 x

User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7015
Joined: 16 Nov 2004, 13:08

Re: Kernel Panic 4.6

Post by zwzsg » 25 Mar 2015, 14:58

Thanks for the bug report.
abma on github wrote:whats prefered in such a case: silently accept invalid input or give an error message?
Since it used to be accepted silently, I would have preferred it to be changed to a warning or a silent clamping. Though, I kinda wonder, what used to happen when it was accepted, before it crashed the engine?
0 x

abma
Spring Developer
Posts: 3548
Joined: 01 Jun 2009, 00:08

Re: Kernel Panic 4.6

Post by abma » 25 Mar 2015, 15:38

zwzsg wrote:Since it used to be accepted silently, I would have preferred it to be changed to a warning or a silent clamping. Though, I kinda wonder, what used to happen when it was accepted, before it crashed the engine?
i guess sometimes it worked sometimes not. when i tested it, it crashed sometimes at start, sometimes at exit, sometimes it just hanged at exit.
0 x

Post Reply

Return to “Kernel Panic”