I managed to pinpoint a scenario that triggers the bug (please use my P-data and config). user2=order - has an old Buy order 10@30c - but only 48c funds left user3=acceptor - enough funds v2009.3a Case 1: user 3 tries to Sell to user2 5@30c -> bug triggered Case 2: (no bug) user3 first sell to user2 1@30c -> successful Sell 1 & user2 new Funds = 18c user3 tries to Sell again to user2 1@30c -> successful Sell 0.6 & the user2 order (to Buy @30c) Canceled & new user3 order to Sell 0.4@30c created. v2011.1...
I managed to pinpoint the scenario that triggers the bug (please use my P-data and config). user2=order - has an old Buy order 10@30c - but only 48c funds left user3=acceptor - enough funds v2009.3a Case 1: user 3 tries to Sell to user2 5@30c -> bug triggered Case 2: (no bug) user3 first sell to user2 1@30c -> successful Sell 1 & user2 new Funds = 18c user3 tries to Sell again to user2 1@30c -> successful Sell 0.6 & the user2 order (to Buy @30c) Canceled & new user3 order to Sell 0.4@30c created....
I managed to pinpoint the scenario that triggers the bug (please use my P-data and config). user2=order - has an old buy order 10@30c - but only 48c funds left user3=acceptor - enough funds v2009.3a Case 1: user 3 tries to Sell to user2 5@30c -> bug triggered Case 2: (no bug) user3 first sell to user2 1@30c -> successful Sell 1 & user2 new Funds = 18c user3 tries to Sell again to user2 1@30c -> successful Sell 0.6 & the user2 order (to Buy @30c) Canceled & new user3 order to Sell 0.4@30c created....
I am using Prediction Market (with Hibernate) on Win7 - JDK 11 3-5 traders BinaryMarkets without a Market Maker (as I already said) markets created with Create Market button I found this bug in version zocalo-PM-2011-2 and I tested it many times - the same result. I also asked a friend (from another town - who works as games developer) to install zocalo on his computer and test this scenario - he also hit this bug. On his suggestion, I started to try older versions and test the same scenario. 2011-1...
I am also attach the error report file, with the bug triggered in the original (unmodified) version of the program (as installed by zocalo-PM-Setup-2011-1.exe)
Major bug
First I want to say that is a great program, that worked very well in my tests until... I found this bug that completely blocks it and keeps the processor at 100%. In a Binary Market, without a Market Maker: If you place a buying order and, before someone accept it, you spend your money, then, when someone finally accepts your order, the program enters in an infinite loop and stop responding - because you don't have money anymore to buy. The only way to exit from this loop is by stopping the Zocalo...