Kernel Panic 4.6 - Page 1

Kernel Panic 4.6

Moderator: Content Developer

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

Re: Kernel Panic 4.6

Post by zwzsg »

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 ?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Kernel Panic 4.6

Post by smoth »

Check with DET, IIRC he knows all about rapid.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Kernel Panic 4.6

Post by zwzsg »

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.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Kernel Panic 4.6

Post by Jools »

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...
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Kernel Panic 4.6

Post by zwzsg »

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

Re: Kernel Panic 4.6

Post by abma »

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
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: Kernel Panic 4.6

Post by zwzsg »

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?
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: Kernel Panic 4.6

Post by abma »

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.
Post Reply

Return to “Kernel Panic”