Spring is running in SMP
Moderator: Moderators
Re: Spring is running in SMP
What exactly needs to be fixed for compatibility zerver?
Re: Spring is running in SMP
That's strange. I played it yesterday, and it worked fine.YHCIR wrote:I replaced spring.exe with the SMP version, and unitsync.dll.
I get the single player menu even when starting from an internet game with other players.
Re: Spring is running in SMP
Move all LUA OpenGL calls from Sim to Draw. The same applies for widgets.Ashnal wrote:What exactly needs to be fixed for compatibility zerver?
Re: Spring is running in SMP
I just tried it again and it works fine, really weird.zerver wrote:That's strange. I played it yesterday, and it worked fine.YHCIR wrote:I replaced spring.exe with the SMP version, and unitsync.dll.
I get the single player menu even when starting from an internet game with other players.
It runs quite well, only crashed when I destroyed a few thousand fighters in one go.
Re: Spring is running in SMP
It was a lobby bug YHCIR, it was fixed yesterday.
Re: Spring is running in SMP
Ah, that makes sense, thanks.Ashnal wrote:It was a lobby bug YHCIR, it was fixed yesterday.
Re: Spring is running in SMP
If you have crashes, post the infolog.txtYHCIR wrote:It runs quite well, only crashed when I destroyed a few thousand fighters in one go.
Thanks
Re: Spring is running in SMP
Thanks but you are using incompatible widgets.Satirik wrote:freeze in midgame
I'm only interested in crashes or hangs without any "GML error" in the infolog.txt
Re: Spring is running in SMP
There i have one for you:
http://pastebin.com/m31bc8c9e
http://pastebin.com/m31bc8c9e
Re: Spring is running in SMP
Thanks, it is an old network bug that has come back.
This one one may work better:
http://planetspring.free.fr/spring/exec ... 009a68.zip
This one one may work better:
http://planetspring.free.fr/spring/exec ... 009a68.zip
Re: Spring is running in SMP
Got a crash: Translated stack
- Attachments
-
- local_20090125_124253_unnamed_0.78.2.7z
- (32.72 KiB) Downloaded 18 times
-
- infolog.txt
- (20.3 KiB) Downloaded 116 times
Re: Spring is running in SMP
Thanks. Looks like concurrent access to drawCmdQueueUnits. Will fix asap.
At least three people also reported a hang. I'm having a hard time reproducing this on my computer. What I need to solve the deadlock is call stack dumps for all threads. I'm not sure about the simplest method to dump this data from the process. I first thought drwtsn32.exe might do it but it didn't work out. The method below can be used though. If someone has a better way, please post it...
Download and install this:
http://msdl.microsoft.com/download/symb ... .3.233.msi
Open a command prompt and change directory to the install folder
If you have dual monitor put the command prompt on the secondary monitor, preferably together with a task manager.
If you do not have a dual monitor I recommend running spring in windowed mode so that the command prompt can be accessed also after a hang.
When spring hangs, read the Process Identifier (PID) of spring.exe in Task Manager. (View --> Select Columns may be needed)
In the command prompt type
On the first run you may get a question about cscript.exe, click Yes.
A new folder named Hang_Mode_XXX will be created in the current directory. Inside is a .log file. Post the log file in this forum. Thanks.
At least three people also reported a hang. I'm having a hard time reproducing this on my computer. What I need to solve the deadlock is call stack dumps for all threads. I'm not sure about the simplest method to dump this data from the process. I first thought drwtsn32.exe might do it but it didn't work out. The method below can be used though. If someone has a better way, please post it...
Download and install this:
http://msdl.microsoft.com/download/symb ... .3.233.msi
Open a command prompt and change directory to the install folder
Code: Select all
cd "C:\Program Files\Debugging Tools for Windows (x86)"
If you do not have a dual monitor I recommend running spring in windowed mode so that the command prompt can be accessed also after a hang.
When spring hangs, read the Process Identifier (PID) of spring.exe in Task Manager. (View --> Select Columns may be needed)
In the command prompt type
Code: Select all
adplus.vbs -Hang -p PID
A new folder named Hang_Mode_XXX will be created in the current directory. Inside is a .log file. Post the log file in this forum. Thanks.
Re: Spring is running in SMP
process explorer can copy thread stack dumps, but only one frame at a time so that's a lot of clicking.
Re: Spring is running in SMP
Hey zerver, right now updating sound, doing things such as updating the camera position, is done during sim, and has a mutex tied to it, so I thought I would ask your opinion about tying sound updates into rendered frames instead. How much work would this cause for you? 3 minutes, 2 hours?
Re: Spring is running in SMP
If you are talking about CDxSound::Update() the sound classes are thread safe so you should be able to call it from anywhere.
Re: Spring is running in SMP
dxsound has been ripped out today.
Re: Spring is running in SMP
Was it called from both threads before? Just wondering why it already has a mutex, but thanks, should be a nice quick change then.
Re: Spring is running in SMP
Here again the freeze:
(happend two times in a row after a quite large ffa game after my last com died)
http://pastebin.com/m323d6b99
here the infolog:
(happend two times in a row after a quite large ffa game after my last com died)
http://pastebin.com/m323d6b99
here the infolog:
- Attachments
-
- infolog.txt
- (487.67 KiB) Downloaded 123 times
Re: Spring is running in SMP
Thanks, but I think you didn't get all the addresses. If the list is long, you must scroll to be able to copy it all.andre wrote:Here again the freeze:
(happend two times in a row after a quite large ffa game after my last com died)
Unfortunately it is usually the long traces that are important because these should be the Sim and Draw threads.
If you have another hang please post again. Sorry for the trouble.