https://bugs.winehq.org/show_bug.cgi?id=48270
Bug ID: 48270 Summary: Rebelbetting: Logging into Betfair results in incorrect large numbers Product: Wine Version: 4.21 Hardware: x86-64 URL: http://rebelbetting.com/files/RebelBettingSetup.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: imwellcushtymelike@gmail.com Distribution: Ubuntu
Created attachment 65937 --> https://bugs.winehq.org/attachment.cgi?id=65937 Screenshot
Running Rebelbetting BEFORE (or without) logging into Betfair gives normal, sensible results.
After logging into Betfair some (but not all) of the calculated numbers are insanely high, either positive or negative. Screenshot attached.
The cause seems to be from a stake of 2^31 which appears most of the time, but not always. It also seems to be avoided if two or none of the participants is Betfair.
Betfair's API uses JSON.
I wasn't sure if this was a bug in the software so I've been running it for a while on Linux and Windows 10 ― it definitely only occurs in Linux. WARNING: running Rebelbetting twice with the same log-in details will get your account suspended for at least one hour.
I don't think this is a regression as this has happened for as long as I can remember.
Account for both Rebelbetting and Betfair required to test.
To get this far: 1. "winetricks dotnet45" (Bug 48014) Note there are other bugs which may be encountered (see the AppDB).
Running in 32-bit wineprefix. I haven't yet tested in a 64-bit wineprefix to see if the numbers change, but I think the app is 32-bit anyway.
Note that this is similar, but subtly different to Bug 38944. The fix there may offer a clue following a very long, very tedious regression test, but I'm saving that as a very last resort (and may not even be related).
https://bugs.winehq.org/show_bug.cgi?id=48270
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Created attachment 65938 --> https://bugs.winehq.org/attachment.cgi?id=65938 Wine 4.21 console output
https://bugs.winehq.org/show_bug.cgi?id=48270
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- At Betfair log-in time the following is printed in the console (with duplicate lines snipped):
002c:fixme:ole:Context_CC_ContextCallback (001DEB80/001DEB84)->(018E7011, 0444FB1C, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000) 002c:fixme:ole:Context_CC_ContextCallback (001DEB80/001DEB84)->(018E7011, 0444FAA4, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000) 0068:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet 00fb:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00fb:fixme:process:SetProcessDEPPolicy (1): stub 00fb:fixme:wer:WerSetFlags (2) stub! 00fb:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 0101:fixme:font:get_nearest_charset TCI failing on 20000000 0101:fixme:font:get_nearest_charset returning DEFAULT_CHARSET face->fs.fsCsb[0] = 20000000 file = L"/usr/share/fonts/truetype/fonts-gujr-extra/aakar-medium.ttf" 0075:fixme:dnsapi:dns_map_options option DNS_QUERY_DONT_RESET_TTL_VALUES not implemented 002a:fixme:wtsapi:WTSRegisterSessionNotification Stub 000A0164 0x00000000 002a:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0001017A 002a:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00070168 002a:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 000A0164 002c:fixme:ole:Context_CC_ContextCallback (001DEB80/001DEB84)->(018E7011, 0444FB1C, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000) 002c:fixme:ole:Context_CC_ContextCallback (001DEB80/001DEB84)->(018E7011, 0444FAA4, {d7174f82-36b8-4aa8-800a-e963ab2dfab9}, 2, 00000000) 002a:fixme:path:parse_url failed to parse L"RebelBetting.resources"
https://bugs.winehq.org/show_bug.cgi?id=48270
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Rebelbetting: Logging into |Rebelbetting sometimes |Betfair results in |returns insanely high |incorrect large numbers |numbers
--- Comment #3 from Ken Sharp imwellcushtymelike@gmail.com --- Turns out that the same is true of Matchbook, `though I cannot find a pattern as it also does not always occur. The Matchbook API also uses JSON but can also use XML. I have no way of knowing which the application is using or if it is using the API directly at all. A Wireshark trace is not helpful as there is a lot of use of CDNs and the traffic is encrypted.
The application provides its own XULRunner but the config files are in XML.
https://bugs.winehq.org/show_bug.cgi?id=48270
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Left running for over a day and cannot reproduce in Wine 7.9 and dotnet462 (updated requirement).
https://bugs.winehq.org/show_bug.cgi?id=48270
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.10.