Calibrating sync crashes server

Information and error posts in regards to testing.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
kingi89.new
Posts: 5
Joined: Sun Mar 13, 2016 12:10 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Calibrating sync crashes server

Postby kingi89.new » Sun Mar 13, 2016 12:22 pm

It seems that if I go to Options > Calibrate Audio Sync while logged in, the SMO server crashes. Of course, this could also be a series of weird coincidences. I'm running StepMania5.0-git-108b297 on Debian Jessie x64.

Repro steps:
1. Start StepMania
2. Log in to SMO as usual.
3. Return to Options, go to Input Options > Calibrate Audio Sync.

Expected behavior:
The user should be able to sync while the other players can keep on playing.

Actual behavior:
The server crashes, all users are disconnected, and the user syncing also sees "Connection to server dropped" message in their sync screen.

Workaround:
To not crash the server, the user must first disconnect from the SMO server, then sync, and then re-connect.

User avatar
SpoOkyGames
Moderator
Posts: 281
Joined: Sat Dec 22, 2012 4:16 pm
Location: Louisville, KY
Contact:

Re: Calibrating sync crashes server

Postby SpoOkyGames » Mon Mar 14, 2016 12:59 am

This is actually a known issue. (Well, SM5 wise... Server wise, I never actually tried that.) As the devs explained it to me, the game itself stops responding but generally does not crash. I know on windows you can stop the freeze. As for linux, no idea.

As far as the server is concerned, yeah, this should be fixed. (if even possible.) Hopefully, SM6 will fix this issue at some point though.

~ SpoOkyMagician
"You don't have to understand me; I'm just there!" ~ SpoOkyMagician on himself.

User avatar
Cube
Site Admin
Posts: 354
Joined: Mon Sep 24, 2012 10:18 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Calibrating sync crashes server

Postby Cube » Mon Mar 14, 2016 2:51 pm

Yeah.... have known about this for along time. Basically don't do it for now, from the server side its tricky to fix this. I can see in the logs who causes the crash though. Easy way to get yourself banned is to do this on purpose. Thanks for reporting it though

User avatar
SpoOkyGames
Moderator
Posts: 281
Joined: Sat Dec 22, 2012 4:16 pm
Location: Louisville, KY
Contact:

Re: Calibrating sync crashes server

Postby SpoOkyGames » Mon Mar 14, 2016 7:49 pm

I cannot seem to reproduce this issue anymore on windows. (the stop responding part.) As for crashing the server, i did some testing with cube and I think he fixed it at some point. (somehow or another.) I will still recommend NOT doing this though. Just in case it happens again though...

~ SpoOkyMagician
"You don't have to understand me; I'm just there!" ~ SpoOkyMagician on himself.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Bug Reports ONLY”

Who is online

Users browsing this forum: No registered users and 2 guests