bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: Getting dice from random.org for the second time


From: Peter Lederer
Subject: Re: Bug: Getting dice from random.org for the second time
Date: Wed, 12 Aug 2020 21:33:37 +0200

Hello,

I searched for a switch to start GNUBG multithreaded in "man gnubg",
but didnt find one.

Then I started two instances by starting "gnubg -w" twice. I hope this
is what you meant. The flaw happens with both instances.

Afterwards I fiddled around with wireshark (though I am not a perfect
expert). I found the DNS query for random.org of the first fetching
(104.20.44.7, 104.20.45.7). Then there is some TCP traffic (probably
the random numbers).

But when GNUBG had to fetch the second portion of random numbers there
are no TCP packets, no network traffic to random.org's IP address. Not
even a single packet to this destination,

PL



2020-08-12 18:28 GMT+02:00, Øystein Schønning-Johansen <oysteijo@gmail.com>:
> Hmmm... Peter? Can you check if this bug appears both when doing
> multithreading as well as when running gnubg with a single thread?
>
> -Øystein
>
> On Wed, Aug 12, 2020 at 5:10 PM Christian Anthon
> <christian.anthon@gmail.com>
> wrote:
>
>> Definitely a bug of some kind. The dice generator either runs out
>> prematurely or decides that 0 is a valid rolid. I added a bit of debug
>> code
>> and it ended around 450 rolls each time and decided to return 0...
>>
>> Counters 458 500
>> Random 0
>>
>> C
>>
>> On Wed, Aug 12, 2020 at 4:57 PM Guido Flohr <guido.flohr@cantanea.com>
>> wrote:
>>
>>> Hi Peter,
>>>
>>> On 12 Aug 2020, at 16:29, Peter Lederer <plederer@gmail.com> wrote:
>>>
>>> Hello,
>>>
>>> my Linux Mint is a German version. Thus GNUBG is German as well
>>> ("Voreingestellt").
>>>
>>> I cannot change the language setting to another language. It says
>>> "Locale 'en_US' not supported by C library."
>>>
>>>
>>> See here how you can add locales in Linux Mint:
>>> https://winaero.com/blog/add-locale-linux-mint/
>>>
>>> I think you have to add “en_US.UTF-8”, not just “en_US”.
>>>
>>> Regards,
>>> Guido
>>> —
>>> Cantanea EOOD - We are hiring!
>>> http://www.cantanea.com/careers/ • facebook.com/cantaneacom •
>>> twitter.com/cantaneacom
>>>
>>>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]