Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-08 Thread Dirk Eddelbuettel
On 8 April 2024 at 18:21, Lucas Thode wrote: | Apologies for the confusion, I didn't realize the patch in question was a new | addition.  Just confirmed that it errors out instead of segfaulting or hanging. Thanks for confirming! Dirk | On Sat, Apr 6, 2024 at 5:32 PM Dirk Eddelbuettel

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-08 Thread Lucas Thode
Apologies for the confusion, I didn't realize the patch in question was a new addition. Just confirmed that it errors out instead of segfaulting or hanging. On Sat, Apr 6, 2024 at 5:32 PM Dirk Eddelbuettel wrote: > > Hi Lucas, > > As Milan suggested, please sure you are current. If in doubt,

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-06 Thread Dirk Eddelbuettel
Hi Lucas, As Milan suggested, please sure you are current. If in doubt, park you current checkout and start from git checkout https://github.com/eddelbuettel/dieharder.git where you should see today's commit from merging PR 24. edd@rob:~/git/dieharder(master)$ git ls | head *

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-06 Thread Milan Broz
On 4/6/24 5:34 PM, Lucas Thode wrote: Even when built a statically linked libdieharder, I still get bogus results (using yesterday's HEAD): Why yesterday's? The patch landed today. git pull? The last patch in git log should be "Avoid overflow in DAB Monobit2 test." With older code anything

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-06 Thread Lucas Thode
Even when built a statically linked libdieharder, I still get bogus results (using yesterday's HEAD): $ ldd dieharder/dieharder linux-vdso.so.1 (0x7ffe9b548000) libgsl.so.27 => /lib/x86_64-linux-gnu/libgsl.so.27 (0x7f28f3c0) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-06 Thread Milan Broz
On 4/6/24 4:33 PM, Lucas Thode wrote: ... $ ./dieharder/dieharder -d 209 -n 17 -p 1 #=# #            dieharder version 3.31.1 Copyright 2003 Robert G. Brown          #

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-06 Thread Lucas Thode
The updated version is still buggy, albeit in a different way, as it hangs for n=18, fails the test for n=19, then segfaults for any n after that: ./dieharder/dieharder -d 209 -n 12 -p 1 #=# #dieharder

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-06 Thread Milan Broz
Hi, the DAB Monobit2 test cannot use ntup higher thtn 15 due to the fixed allocations. (It means it calculates data for block sizes up to 2^ntup blocks, so it make kind-of sense.) I added check to prevent overflow, this is perhaps the best we can do here (more details in description), see:

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-04-05 Thread Dirk Eddelbuettel
Hi Lucas, On 30 March 2024 at 22:47, Lucas Thode wrote: | Package: dieharder | Version: 3.31.1.4-1.1 | Severity: normal | X-Debbugs-Cc: thode...@gmail.com | | Dear Maintainer, | | `dieharder -d 209 -n $nvalue` crashes for $nvalue>17: | | $ dieharder -d 209 |

Bug#1068117: dieharder: dab_monobit2 crashes with ntuple > 17

2024-03-30 Thread Lucas Thode
Package: dieharder Version: 3.31.1.4-1.1 Severity: normal X-Debbugs-Cc: thode...@gmail.com Dear Maintainer, `dieharder -d 209 -n $nvalue` crashes for $nvalue>17: $ dieharder -d 209 #=# #dieharder version