CORDIAL MINUET ENSEMBLE

??????

You are not logged in.

#1 2014-11-23 01:22:29

Pilzi
Member
Registered: 2014-11-22
Posts: 5
Website

Mac crashes

Sometimes on OS X Yosemite when just playing and moving the two cursors around the game hangs, beachballs and never responds. It ends up crashing at the end resulting in one disconnecting from the server and loosing your bet. (I just lost around 3.20$ ;_;) Here is the crash log OS X threw me:
http://rly.moe/crash

Offline

#2 2014-11-23 01:32:43

Asminthe
Member
Registered: 2014-11-21
Posts: 44

Re: Mac crashes

Did you actually lose $3.20? That should have put you in the bottom 4 on the profit leaderboard (unless you were number 1 or 2 on the leaderboard before that and I missed your climb) and I think they look the same as the last time I looked down there.

Edit: Nevermind, just saw the bottom of the leaderboard change, maybe it just hadn't updated yet.

Last edited by Asminthe (2014-11-23 01:35:51)

Offline

#3 2014-11-23 01:35:07

Pilzi
Member
Registered: 2014-11-22
Posts: 5
Website

Re: Mac crashes

It was weird. I restarted the game. Then it told me I had 0.9$ left. (from 4.2$ I had before) Then 5 minutes later they magically transformed to 2.3$.

Offline

#4 2014-11-23 01:37:25

Asminthe
Member
Registered: 2014-11-21
Posts: 44

Re: Mac crashes

Oh, I bet the game just hadn't finished closing up yet, so your balance was still considering the money on the table to be unavailable!

Offline

#5 2014-11-23 03:31:52

..
Member
Registered: 2014-11-21
Posts: 259

Re: Mac crashes

When you time out of the previous game the remaining coins would be returned. What surprises me is that it doesn't immediately cancel the previous game as invalid when you logged in a second time.

Offline

#6 2014-11-23 13:08:25

Pilzi
Member
Registered: 2014-11-22
Posts: 5
Website

Re: Mac crashes

So, it happened once more and this time I paid extra attention. The balance when you restart is what it would be if lost the entire game. But then once you click on New Game and cancel out again it reverts to a higher number.

Offline

#7 2014-11-23 17:02:30

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Mac crashes

Yeah, when you reload the game, it gets the balance first, which doesn't currently kick you from the old table.  Then it loads the list of games, which DOES kick you.  Of course, the balance is already loaded before that, so you see the old balance one time.  After re-loading the list of games, the balance is fetched again.  I should probably change it so that fetching the balance itself is one of the things that kicks you from the game.

About the crash:

I'm sorry that this happened.  I LOVE that MacOS actually produces real crash reports.  Sadly, this one doesn't actually show what happened, except that the game got into an infinite loop.  I didn't know the OS would actually catch this and kill the process, but that's cool!  The stack traces don't show what was actually stuck, for some reason.

If you're just dragging sliders around, the the game is doing nothing else, so maybe there's an infinite loop in the slider-repositioning code.  There should be no network operations while you're doing that, for example.  One thought:  the audio thread could also be involved, because maybe your time is running out and the chime is trying to play when there are 10 seconds left.

Do you happen to have a recording that shows one of these crashes?  Please email it to me:

jasonrohrer@fastmail.fm

Offline

#8 2014-11-24 05:49:00

..
Member
Registered: 2014-11-21
Posts: 259

Re: Mac crashes

There's a chime to indicate 10 seconds left? I've only ever heard a rare chime right at the beginning of a turn (I think typically the 3rd turn) and I'm wondering what it indicates.

Offline

#9 2014-11-24 06:48:01

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Mac crashes

Chimes happen:

--When waiting for the opponent, right before the game starts (a "game is starting" chime)

--When you've been waiting more than 10 seconds for your opponent's move, and the move finally comes through (unless that move has coin-movement sounds that will play---no chime needed then).

--When you have less than 10 seconds left to make your own move.

Offline

#10 2014-12-06 02:35:45

farc
Member
Registered: 2014-12-05
Posts: 2

Re: Mac crashes

Hey, I also got a crash when moving cursors around. Also running Yosemite.

Offline

#11 2014-12-06 04:02:04

jasonrohrer
Administrator
Registered: 2014-11-20
Posts: 802

Re: Mac crashes

Can you play a short session that demonstrates this and then send me the recordedGame file?  I can watch the recording on my end and maybe figure something out.

jasonrohrer@fastmail.fm

Also, did Yosemite produce any kind of crash report or log that you can send me?  I know that MacOS is sometimes pretty good about that.

If you're willing to delve a bit deeper, email me, and I can walk you through the steps of running the game inside a debugger that would catch the crash once and for all and give solid info for fixing it.  It would be REALLY helpful!  I don't have access to a machine running Yosemite.

Offline

Board footer

Powered by FluxBB