Spring is running in SMP - Page 15

Spring is running in SMP

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
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

imbaczek wrote:dxsound has been ripped out today.
Oh no, there goes my thread safe class :mrgreen:
andre
Posts: 58
Joined: 21 Jun 2008, 04:52

Re: Spring is running in SMP

Post by andre »

http://pastebin.com/m1b574729
(not the freeze-thing..)
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: Spring is running in SMP

Post by MelTraX »

Got some new input for you about the freezes. Spring 1944 seems to cause some GML errors though so I got some data from a BA game aswell.

Both archives contain infolog, replay and the stack output from the linked Microsoft tool.
Attachments
BA68.7z
(107.99 KiB) Downloaded 23 times
Spring 1944.7z
(45.26 KiB) Downloaded 20 times
bishop155
Posts: 7
Joined: 19 Nov 2008, 22:11

Re: Spring is running in SMP

Post by bishop155 »

half way throug a game, using smp, i get dysinced in spring:1944. if you need any logs, or suchlike, let me know
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

Here is another log from a crash. There is another 440M file that i have not included in the zip file, but if you need it, let me know and i will uploaded it somewhere.
I have also used ollydbg to attach to the spring process while it hanged, but i don't yet now if i can save the execution point and send that also.

Hope this info helps.
Attachments
Hang_Mode__Date_02-19-2009__Time_20-35-3939.zip
(12.4 KiB) Downloaded 20 times
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

xyz, I'm note sure which version of spring you were running since you didn't provide the infolog. Please try to reproduce the error with this latest version if you can.
http://planetspring.free.fr/spring/exec ... aee489.zip
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

Ok, I'll try it tonight.

The build that i used is the one found here: http://planetspring.free.fr/spring/exec ... 009a68.zip

And by the way, do you have a list of the LUA widgets that are not thread safe?

Thanks.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

No, I don't have a list.

Also, I discovered a bug in this new version so don't use it. It tends to hang when you select AI...
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

Ok, when you have a version that needs to be tested let me know.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Feel free to try this one: http://zerver.net/spring.zip

Because of changes to the build server, I will not release any more fixed GML executables until the next official spring release. No infologs please :)
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

I've tested the build yesterday for a few hours (8 - 10 games) and the only odd thing that happened besides a Spring crash (witch i suspect it was not related to the MT) was a small freeze, but by the time I managed to opened the debug tools and get the PID, the game was closed completely with no error message.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Thanks for the feedback. Like I said, please don't post any error reports since I have halted development until the next official Spring release. But you could try disabling widgets.

Right now I'm using:
Startboxes
Immobilebuilder
and I have LuaShaders disabled.

I will also post here if I encounter any hangs.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

Hello,

The build still freeze, it happened in a multi player game, but the freezing is a lot rear than it us to be. I have the debug info saved in case you are curios.
[oxnull]Lupus
Posts: 101
Joined: 12 May 2009, 14:52

Re: Spring is running in SMP

Post by [oxnull]Lupus »

Hm, what about linux users? How can they be involved in testing?
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

0.79.0.2 MT is here:
http://planetspring.free.fr/spring/exec ... 85fa21.zip

It is largely untested, but please feel free to try.

Changes from 0.78.2.1 MT:
* Better concurrency --> Lower CPU usage
* Does not create nano particles outside of view
* No hitsphere display when you press B

Known bugs:
* Graphical glitches such as some flickering projectiles, flickering self-shadow, flickering FPS HUD.
* Some mods/widgets may not work and could hang the game. These widgets are known to work: Minimap start boxes, Immobile builders, Autoquit

Concerning Linux, you have to build the source from the "079" branch.
Use options -DUSE_GML -DUSE_GML_SIM. There is a "MT" profile on buildserv that you can use.
Unfortunately I have no Linux skill, so I can't help you. Maybe someone else can?
Last edited by zerver on 24 May 2009, 01:54, edited 2 times in total.
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

Hi,
Nice to have some new toys to play with :) Unfortunately mine already broke while viewing a replay.
I've attached infolog, and the debug info. I can also attach the replay if you want.
Attachments
PID-2560__SPRING.EXE__Date_05-23-2009__Time_19-17-1919.log
(58.79 KiB) Downloaded 107 times
infolog.txt
(27.64 KiB) Downloaded 110 times
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Incompatible widgets...
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
[ 21286] GML error: Sim thread called gmlGenLists
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

Here is the replay. The game freezes in the exact same spot every time, Just watch player [PYB]Awesome. the game will freeze just before this guy fishes building an advance fusion reactor.

BTW the replay was made with the non SMP build.
Attachments
local_20090523_112205_DeltaSiegeDry_0.79.0.sdf
(1.74 MiB) Downloaded 18 times
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring is running in SMP

Post by zerver »

Read my post...
xyz
Posts: 152
Joined: 29 Nov 2008, 16:06

Re: Spring is running in SMP

Post by xyz »

zerver wrote:Incompatible widgets...
That means that this branch will nerve get adopted as the default one, as i seriously doubt that all the mod coders will rewrite all they widget to make them compatible with it?
Post Reply

Return to “Engine”