Double Payout When Stopping Tournament
Posted: Mon Sep 11, 2023 9:06 am
About 3 years ago, I noticed that if I stop a running tournament the prize pool will be equally distributed to the remaining seated players. This "chop" mechanism has worked flawlessly several times a week since 2020. This week, I updated to v7.16 and on Sunday night, my players asked for a chop. When I stopped the tournament, it paid out 2x as much money as was in the prize pool. You can clearly see that extra payout given to player "Ian":
Looking at the logs, there was a pointer error encountered:
Code: Select all
Tournament=Sunday Night Smackdown
Number=623
Currency=Primary
BuyIn=10+0
Bounty=0
PrizeBonus=0
MultiplyBonus=No
Entrants=7
Uniques=7
Late=3
Tickets=0
Removed=0
Rebuys=10
AddOns=0
RebuyCost=10+0
NetBonus=0
AutoChop=No
PlayerChop=No
Start=2023-09-10 20:04:08
Place7=Dennis (0) Paid:10 Rebuys:0 KO:Ethan
Place6=Tom (0) Paid:30 Rebuys:2 KO:Ira
Place5=Jonathan-M (0) Paid:30 Rebuys:2 KO:Ian
Place4=Ira (0) Paid:20 Rebuys:1 KO:Ian
Place3=Marty (0) Paid:30 Rebuys:2 KO:Ethan
Place1=Ian (119) Paid:20 Rebuys:1 KO:Ian
Place1=Ian (119) Paid:20 Rebuys:1 KO:Ian
Place1=Ethan (85) Paid:30 Rebuys:2 KO:
Stop=2023-09-10 22:34:38 (Abort)
Code: Select all
2023-09-10 22:36:39|Error closing tournament Sunday Night Smackdown: Invalid pointer operation
2023-09-10 22:36:39|Tournament close stack trace 7.16:
00407f95 PMService.exe System 15457 TObject.FreeInstance - 004a5a0d PMService.exe madExcept InterceptClassDestroy - 00408151 PMService.exe System 15516 TObject.Destroy - 00408160 PMService.exe System 15524 TObject.Free - 0058fdb6 PMService.exe System.Contnrs 340 TObjectList.Notify - 00521d84 PMService.exe System.Classes 4455 TList.SetCount - 00521877 PMService.exe System.Classes 4188 TList.Clear - 0072cabc PMService.exe Tournaments 1061 TTournament.CloseTourney - 0072b116 PMService.exe Tournaments 658 TTourneyThread.Execute - 004a5d4b PMService.exe madExcept HookedTThreadExecute - 005381e9 PMService.exe System.Classes 14561 ThreadProc - 00409d78 PMService.exe System 23406 ThreadWrapper - 004a5c31 PMService.exe madExcept CallThreadProcSafe - 004a5c96 PMService.exe madExcept ThreadExceptFrame - 76136a37 KERNEL32.DLL BaseThreadInitThunk