Page 1 of 1

Bug: Rapidly hitting spacebar results in crash (with repro)

Posted: 19 Oct 2014, 21:01
by Easy
dulcaoin, here is a repro of the spacebar crash you asked about.

Repro:
1) Open a gamebox, I used Poker (v2).
2) Move cursor onto a stack of cards so that it flashes (the blue backed cards in Poker, for example).
3) Rapidly press Spacebar to move cards into your hand. Speed matters, too slow and it won't crash. Was able to repro easily with as few as two keypresses.

System:
Windows 7, SP 1
ZunTzu v1.2
Gamebox used: http://www.zuntzu.com/boxes/Poker-v2.ztb



Crash Info:
version unknown
os Microsoft Windows NT 6.1.7601 Service Pack 1
framework 2.0.50727.5485
cpu count 2
System.NullReferenceException: Object reference not set to an instance of an object.
at ZunTzu.Modelization.Commands.a0.b()
at ZunTzu.Modelization.ao.a(p A_0, p A_1, t[] A_2)
at ZunTzu.Control.Messages.GrabStackMessage.a(f A_0)
at ZunTzu.Control.Messages.ChangeAcceptedMessage.b(f A_0)
at ZunTzu.Control.f.a(Int64 A_0)
at ZunTzu.b.b(String[] A_0)

Posted: 19 Oct 2014, 21:31
by Bill Barrett
Yup that's the one.

Re: Bug: Rapidly hitting spacebar results in crash (with rep

Posted: 19 Oct 2014, 23:03
by dulcaoin
Easy wrote:dulcaoin, here is a repro of the spacebar crash you asked about.

Repro:
1) Open a gamebox, I used Poker (v2).
2) Move cursor onto a stack of cards so that it flashes (the blue backed cards in Poker, for example).
3) Rapidly press Spacebar to move cards into your hand. Speed matters, too slow and it won't crash. Was able to repro easily with as few as two keypresses.

System:
Windows 7, SP 1
ZunTzu v1.2
Gamebox used: http://www.zuntzu.com/boxes/Poker-v2.ztb



Crash Info:
version unknown
os Microsoft Windows NT 6.1.7601 Service Pack 1
framework 2.0.50727.5485
cpu count 2
System.NullReferenceException: Object reference not set to an instance of an object.
at ZunTzu.Modelization.Commands.a0.b()
at ZunTzu.Modelization.ao.a(p A_0, p A_1, t[] A_2)
at ZunTzu.Control.Messages.GrabStackMessage.a(f A_0)
at ZunTzu.Control.Messages.ChangeAcceptedMessage.b(f A_0)
at ZunTzu.Control.f.a(Int64 A_0)
at ZunTzu.b.b(String[] A_0)
Excellent, thank you very much. I have my guesses as to the cause, we'll see if my theory pans out... :)

-- joshua