Spring 0.77b6 testing - Page 5

Spring 0.77b6 testing

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Spring 0.77b6 testing

Post by TradeMark »

BUG OH NO, i made the window resize crash again:
[ 0] Spring 0.77b5+ (R6977)
[ 0] Build date/time: Nov 4 2008 17:33:22
[ 0] Upgrade pairs registered
[ 0] Player connected with number 0 (client version 0.77b5+ (R6977))
[ 0] Player finished loading and is now ingame
[ 0] Spring 0.77b5+ (R6977) has crashed.
[ 0] Exception: Access violation (0xc0000005)
[ 0] Exception Address: 0x0926ffdd
[ 0] DLL information:
[ 0] 0x00400000 spring
[ 0] 0x77f50000 ntdll
[ 0] 0x77e60000 kernel32
[ 0] 0x77dc0000 ADVAPI32
[ 0] 0x78000000 RPCRT4
[ 0] 0x51080000 dsound
[ 0] 0x77c00000 msvcrt
[ 0] 0x77d30000 USER32
[ 0] 0x77c60000 GDI32
[ 0] 0x771a0000 ole32
[ 0] 0x76b30000 WINMM
[ 0] 0x77bf0000 VERSION
[ 0] 0x690b0000 GLU32
[ 0] 0x5f250000 OPENGL32
[ 0] 0x51000000 DDRAW
[ 0] 0x73b90000 DCIMAN32
[ 0] 0x76c80000 IMAGEHLP
[ 0] 0x6fbc0000 mingwm10
[ 0] 0x773c0000 SHELL32
[ 0] 0x00e20000 SHLWAPI
[ 0] 0x71ac0000 WSOCK32
[ 0] 0x71aa0000 WS2_32
[ 0] 0x71a90000 WS2HELP
[ 0] 0x6ed80000 glew32
[ 0] 0x10000000 SDL
[ 0] 0x7c340000 MSVCR71
[ 0] 0x00e90000 DevIL
[ 0] 0x66fc0000 freetype6
[ 0] 0x61b80000 zlib1
[ 0] 0x003d0000 ILU
[ 0] 0x78090000 comctl32
[ 0] 0x77330000 comctl32
[ 0] 0x5b2a0000 uxtheme
[ 0] 0x69500000 nvoglnt
[ 0] 0x71a40000 mswsock
[ 0] 0x71a80000 wshtcpip
[ 0] 0x72cf0000 wdmaud
[ 0] 0x72ce0000 msacm32
[ 0] 0x77bd0000 MSACM32
[ 0] 0x77bc0000 midimap
[ 0] 0x5ef80000 KsUser
[ 0] 0x6dab0000 DBGHELP
[ 0] Stacktrace:
[ 0] (0) Unknown [0x0926FFDD]
[ 0] (1) I:\Spring77b6b\spring.exe [0x00C642A7]
[ 0] (2) I:\Spring77b6b\spring.exe [0x0099C4FF]
[ 0] (3) I:\Spring77b6b\spring.exe [0x0099C5F1]
[ 0] (4) I:\Spring77b6b\spring.exe [0x0099D8AF]
[ 0] (5) I:\Spring77b6b\spring.exe [0x0099E110]
[ 0] (6) I:\Spring77b6b\spring.exe [0x005BEB41]
[ 0] (7) I:\Spring77b6b\spring.exe [0x005C8F29]
[ 0] (8) I:\Spring77b6b\spring.exe [0x005BBB8D]
[ 0] (9) I:\Spring77b6b\spring.exe [0x005BBD89]
[ 0] (10) I:\Spring77b6b\spring.exe [0x00A394B1]
[ 0] (11) I:\Spring77b6b\spring.exe [0x004010A7]
[ 0] (12) I:\Spring77b6b\spring.exe [0x00401123]
[ 0] (13) L:\WINDOWS\system32\kernel32.dll(GetCurrentDirectoryW+0x44) [0x77E814C7]
Easy to reproduce: comes when i resize the window many times very fast with mouse clicking the window edges.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Spring 0.77b6 testing

Post by TradeMark »

I also get this in current release:
[ 0] Spring 0.77b5 (R6847) has crashed.
[ 0] Exception: Privileged instruction (0xc0000096)
[ 0] Exception Address: 0x018bc968
[ 0] DLL information:
[ 0] 0x00400000 spring
[ 0] 0x77f50000 ntdll
[ 0] 0x77e60000 kernel32
[ 0] 0x77dc0000 ADVAPI32
[ 0] 0x78000000 RPCRT4
[ 0] 0x51080000 dsound
[ 0] 0x77c00000 msvcrt
[ 0] 0x77d30000 USER32
[ 0] 0x77c60000 GDI32
[ 0] 0x771a0000 ole32
[ 0] 0x76b30000 WINMM
[ 0] 0x77bf0000 VERSION
[ 0] 0x690b0000 GLU32
[ 0] 0x5f250000 OPENGL32
[ 0] 0x51000000 DDRAW
[ 0] 0x73b90000 DCIMAN32
[ 0] 0x76c80000 IMAGEHLP
[ 0] 0x6fbc0000 mingwm10
[ 0] 0x773c0000 SHELL32
[ 0] 0x00e40000 SHLWAPI
[ 0] 0x71ac0000 WSOCK32
[ 0] 0x71aa0000 WS2_32
[ 0] 0x71a90000 WS2HELP
[ 0] 0x6ed80000 glew32
[ 0] 0x10000000 SDL
[ 0] 0x7c340000 MSVCR71
[ 0] 0x00eb0000 DevIL
[ 0] 0x66fc0000 freetype6
[ 0] 0x61b80000 zlib1
[ 0] 0x003d0000 ILU
[ 0] 0x78090000 comctl32
[ 0] 0x77330000 comctl32
[ 0] 0x5b2a0000 uxtheme
[ 0] 0x69500000 nvoglnt
[ 0] 0x71a40000 mswsock
[ 0] 0x71a80000 wshtcpip
[ 0] 0x72cf0000 wdmaud
[ 0] 0x72ce0000 msacm32
[ 0] 0x77bd0000 MSACM32
[ 0] 0x77bc0000 midimap
[ 0] 0x5ef80000 KsUser
[ 0] 0x6dab0000 DBGHELP
[ 0] Stacktrace:
[ 0] (0) Unknown [0x018BC968]
[ 0] (1) I:\Spring77b5\spring.exe [0x00C5E2B7]
[ 0] (2) I:\Spring77b5\spring.exe [0x0099801F]
[ 0] (3) I:\Spring77b5\spring.exe [0x00998111]
[ 0] (4) I:\Spring77b5\spring.exe [0x0099A447]
[ 0] (5) I:\Spring77b5\spring.exe [0x0099B150]
[ 0] (6) I:\Spring77b5\spring.exe [0x005BB619]
[ 0] (7) I:\Spring77b5\spring.exe [0x005C4E1B]
[ 0] (8) I:\Spring77b5\spring.exe [0x005B77BD]
[ 0] (9) I:\Spring77b5\spring.exe [0x005B79B9]
[ 0] (10) I:\Spring77b5\spring.exe [0x00A34D81]
[ 0] (11) I:\Spring77b5\spring.exe [0x004010A7]
[ 0] (12) I:\Spring77b5\spring.exe [0x00401123]
[ 0] (13) L:\WINDOWS\system32\kernel32.dll(GetCurrentDirectoryW+0x44) [0x77E814C7]
comes sometimes when i maximize the window (havent tested in newest release since it appears randomly), i guess its about the resizing thing...
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring 0.77b6 testing

Post by lurker »

Acidd_UK wrote:
lurker wrote:Disabled vsync is no excuse for changing the output buffer mid-frame.
Isn't turning off vsync exactly that?
No, properly implemented vsync just means that you wait 1/60th of a second or what have you after you started the last frame to start this frame.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: Spring 0.77b6 testing

Post by Masure »

TradeMark wrote:I also get this in current release:
[ 0] Spring 0.77b5 (R6847) has crashed.
[ 0] Exception: Privileged instruction (0xc0000096)
[ 0] Exception Address: 0x018bc968
[ 0] DLL information:
[ 0] 0x00400000 spring
[ 0] 0x77f50000 ntdll
[ 0] 0x77e60000 kernel32
[ 0] 0x77dc0000 ADVAPI32
[ 0] 0x78000000 RPCRT4
[ 0] 0x51080000 dsound
[ 0] 0x77c00000 msvcrt
[ 0] 0x77d30000 USER32
[ 0] 0x77c60000 GDI32
[ 0] 0x771a0000 ole32
[ 0] 0x76b30000 WINMM
[ 0] 0x77bf0000 VERSION
[ 0] 0x690b0000 GLU32
[ 0] 0x5f250000 OPENGL32
[ 0] 0x51000000 DDRAW
[ 0] 0x73b90000 DCIMAN32
[ 0] 0x76c80000 IMAGEHLP
[ 0] 0x6fbc0000 mingwm10
[ 0] 0x773c0000 SHELL32
[ 0] 0x00e40000 SHLWAPI
[ 0] 0x71ac0000 WSOCK32
[ 0] 0x71aa0000 WS2_32
[ 0] 0x71a90000 WS2HELP
[ 0] 0x6ed80000 glew32
[ 0] 0x10000000 SDL
[ 0] 0x7c340000 MSVCR71
[ 0] 0x00eb0000 DevIL
[ 0] 0x66fc0000 freetype6
[ 0] 0x61b80000 zlib1
[ 0] 0x003d0000 ILU
[ 0] 0x78090000 comctl32
[ 0] 0x77330000 comctl32
[ 0] 0x5b2a0000 uxtheme
[ 0] 0x69500000 nvoglnt
[ 0] 0x71a40000 mswsock
[ 0] 0x71a80000 wshtcpip
[ 0] 0x72cf0000 wdmaud
[ 0] 0x72ce0000 msacm32
[ 0] 0x77bd0000 MSACM32
[ 0] 0x77bc0000 midimap
[ 0] 0x5ef80000 KsUser
[ 0] 0x6dab0000 DBGHELP
[ 0] Stacktrace:
[ 0] (0) Unknown [0x018BC968]
[ 0] (1) I:\Spring77b5\spring.exe [0x00C5E2B7]
[ 0] (2) I:\Spring77b5\spring.exe [0x0099801F]
[ 0] (3) I:\Spring77b5\spring.exe [0x00998111]
[ 0] (4) I:\Spring77b5\spring.exe [0x0099A447]
[ 0] (5) I:\Spring77b5\spring.exe [0x0099B150]
[ 0] (6) I:\Spring77b5\spring.exe [0x005BB619]
[ 0] (7) I:\Spring77b5\spring.exe [0x005C4E1B]
[ 0] (8) I:\Spring77b5\spring.exe [0x005B77BD]
[ 0] (9) I:\Spring77b5\spring.exe [0x005B79B9]
[ 0] (10) I:\Spring77b5\spring.exe [0x00A34D81]
[ 0] (11) I:\Spring77b5\spring.exe [0x004010A7]
[ 0] (12) I:\Spring77b5\spring.exe [0x00401123]
[ 0] (13) L:\WINDOWS\system32\kernel32.dll(GetCurrentDirectoryW+0x44) [0x77E814C7]
comes sometimes when i maximize the window (havent tested in newest release since it appears randomly), i guess its about the resizing thing...
Did you make a mantis entry ?
User avatar
insaneinside
Posts: 29
Joined: 06 Jul 2008, 05:13

Re: Spring 0.77b6 testing

Post by insaneinside »

I've noticed units going in circles around their target movement point. Rather amusing, that.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Spring 0.77b6 testing

Post by Argh »

SVN, 6991: Spring crashes if you set it to the Commanders script, refuses to start a game until you've hit CTRL+ENTER, and will only run with an AI enabled (even if testGlobalAI.dll). Otherwise, worked well, and jK's patch (with Dizekat's assistance) to fix point lights works.

Question: should I expect b6 in days, weeks, or months, at anybody's best guess?

I want to wrap up P.U.R.E. RC4 soon and get some private-beta testing going before a public release, as it contains a hell of a lot of new code... so the big question is whether to release it for b5, with the shoddy implementation of "point-lights" (good enough most of the time, but as has been pointed out, really flawed) or wait for b6, and take that time to polish the release and get more content ready?

I don't want to trap myself, like I did with 0.77b in general, basically, so if nobody has a clue as to when we should reasonably expect b6, I'll just assume the worst-case scenario (months) and just go ahead and release with the less-than-perfect lighting, instead of putting in more time working on multi-light stuff that will probably all be DOA anyhow. No pressure, of course, I'll go either way and it'll be all right.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Spring 0.77b6 testing

Post by Auswaschbar »

Argh wrote:Spring crashes if you set it to the Commanders script
Works for me
Argh wrote:refuses to start a game until you've hit CTRL+ENTER
Its intended behaviour and used to be that way all times (besides it was only ENTER)
Argh wrote:will only run with an AI enabled
The "Commanders"-script creates an AI if no player controlles the second team. If you don't want this, use another script (behaviour haven't changed since ages).

About b6, I don't know if we make a b6 at all.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Spring 0.77b6 testing

Post by Argh »

Ok, then I'll just assume that we're going to be waiting for awhile, and will just use what's working in 0.77b5. It's not the end of the world, if the lighting stuff isn't entirely perfect.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: Spring 0.77b6 testing

Post by Acidd_UK »

lurker wrote:
Acidd_UK wrote:
lurker wrote:Disabled vsync is no excuse for changing the output buffer mid-frame.
Isn't turning off vsync exactly that?
No, properly implemented vsync just means that you wait 1/60th of a second or what have you after you started the last frame to start this frame.
But doesn't that mean you can end up with incomplete rendered frames?

http://en.wikipedia.org/wiki/Vertical_synchronization
reivanen
Posts: 180
Joined: 12 Feb 2008, 15:52

Re: Spring 0.77b6 testing

Post by reivanen »

In almost every game it gets desynced as of b5+ allthepatchesinfilenamespring.exe applied. Is this issued already in b6 branch? If so, i'd like to know what caused it.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring 0.77b6 testing

Post by zerver »

In conjunction with the 77b6 release, I'd like to at least have a link to the multithreading version posted/mentioned somewhere so that regular users can find it and try it.

http://planetspring.free.fr/spring/exec ... _R7052.zip

I've been running it for a while now and I consider it playable, some stability issues remain. CA is still not working but I consider that a problem with CA itself - all LuaOpenGL calls should be in the rendering thread.
Last edited by zerver on 16 Nov 2008, 18:03, edited 3 times in total.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Spring 0.77b6 testing

Post by TradeMark »

reivanen wrote:In almost every game it gets desynced as of b5+ allthepatchesinfilenamespring.exe applied. Is this issued already in b6 branch? If so, i'd like to know what caused it.
i think you get desynced because your spring.exe differns too much from others.

IIRC there are only one or two fixed exes which syncs with first b5 release...
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring 0.77b6 testing

Post by lurker »

Acidd_UK wrote: But doesn't that mean you can end up with incomplete rendered frames?
http://en.wikipedia.org/wiki/Vertical_synchronization
Only if you implement it the stupid way. To run without vsync correctly you always keep the outgoing framebuffer the same until the frame finishes displaying. Any frames you create in the meantime wait their turn, or if a new one is made while they're waiting, get thrown out.

zerver, which callins are in the rendering thread? Is there a list anywhere?
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Spring 0.77b6 testing

Post by TradeMark »

Crashes on /skip command:
viewtopic.php?f=11&t=16794

+ can you fix the /skip feature? it reads the numbers wrong, i type /skip 400 and it skips 200.5 seconds, and when i wrote /skip 500 it skipped 6.2 seconds :D:D or something like that.
+ can you make it possible to cancel the skipping? just for that i dont need to restart game if i type too long skip, or if it takes too long to skip and i dont want to wait.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring 0.77b6 testing

Post by lurker »

/skip framenumber: skip to framenumber
/skip +frames: skip to current frame + frames
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Spring 0.77b6 testing

Post by imbaczek »

lurker wrote:/skip framenumber: skip to framenumber
/skip +frames: skip to current frame + frames
it's seconds, actually. you have to do something to skip to a frame, don't remember what.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Spring 0.77b6 testing

Post by TradeMark »

lurker wrote:/skip framenumber: skip to framenumber
/skip +frames: skip to current frame + frames
i typed /skip 1000 and it started skipping: "Skipping 985.1 game seconds (22669 frames left)"

/skip +500 doesnt work at start, i had to do /skip 1000 first, then /skip +500 did work.
But it actually works, when i dont use + in the command, it skips random seconds :S

/skip framenumber doesnt work, really. it seems to do it like this in pseudo code:

Code: Select all

if(framenumber > frames){
    skip_seconds(framenumber*something_very_random);
}
since i couldnt skip with a number that was less than current frames were played...
Last edited by TradeMark on 08 Nov 2008, 18:59, edited 1 time in total.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring 0.77b6 testing

Post by lurker »

I think it used to be framenumber? Either way it's been changed around a lot and I don't see any easy way to make it again possible to /skip in a game.

Trademark: skip TO a time. As in,
/skip 100 then /skip 500
and
/skip 400 then /skip 500
BOTH
take you to 500
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Spring 0.77b6 testing

Post by TradeMark »

OMFG you are right, it is TO A TIME.

change that pls, its not logical, since the command is "/skip" and not "/skiptotime"

/skip 50 makes me think it will skip 50 seconds, or 50 frames...

God, i cant believe you changed the TDF tags into more logical names while breaking up every old mod, but still you make illogical command names >_>
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Spring 0.77b6 testing

Post by lurker »

It's fine as it is, just make sure the +number is documented in the list of commands.

Any specific tdf tags you mean?
Post Reply

Return to “Engine”