Open tdulcet opened 8 months ago
A segmentation fault sometimes occurs in the "medium" self-test: ./Mlucas -s m on the macOS ARM CI runners:
./Mlucas -s m
INFO: Maximum recommended exponent for FFT length (3072 Kdbl) = 58884428; p[ = 57984131]/pmax_rec = 0.9847107796. Initial DWT-multipliers chain length = [short] in carry step. M57984131: using FFT length 3072K = 3145728 8-byte floats, initial residue shift count = 54682346 This gives an average 18.432658831278484 bits per digit Using complex FFT radices 48 32 32 32 Using 2 threads in carry step AddressSanitizer:DEADLYSIGNAL ================================================================= ==11579==ERROR: AddressSanitizer: SEGV on unknown address 0x00015b0d5300 (pc 0x000105d253d0 bp 0x00016b8bcb30 sp 0x00016b8bbf60 T0) ==11579==The signal is caused by a READ memory access. #0 0x105d253d0 in radix48_dit_pass1+0x2b2c (Mlucas:arm64+0x1017e53d0) #1 0x1047ca600 in mers_mod_square+0xdbb4 (Mlucas:arm64+0x10028a600) #2 0x10480a308 in ernstMain+0x60a4 (Mlucas:arm64+0x1002ca308) #3 0x10482891c in main+0x41d0 (Mlucas:arm64+0x1002e891c) #4 0x188fd50dc (<unknown module>) ==11579==Register values: x[0] = 0x000000016b8bc040 x[1] = 0x000000016b8bbf80 x[2] = 0x000000015b0d5300 x[3] = 0x0000000000202002 x[4] = 0x0000000106efa000 x[5] = 0x0000000106efa000 x[6] = 0x0000000106efa000 x[7] = 0x0000000106ef9000 x[8] = 0x0000000000000000 x[9] = 0x0000000000000001 x[10] = 0x0000000000000000 x[11] = 0x0000000106efa000 x[12] = 0x0000007000020000 x[13] = 0x0000000106efa000 x[14] = 0x0000000106f2aa28 x[15] = 0x0000000106efa000 x[16] = 0x0000000106efa000 x[17] = 0x0000000107ba45e0 x[18] = 0x0000000000000000 x[19] = 0x000000016b8bc300 x[20] = 0x000000015b0d5300 x[21] = 0x000000010b304880 x[22] = 0x0000000009fba150 x[23] = 0x000000016b8bc060 x[24] = 0x0000000000000002 x[25] = 0x000000016b8bbfe0 x[26] = 0x000000016b8bbff0 x[27] = 0x000000016b8bbfa0 x[28] = 0x0000000009f69c50 fp = 0x000000016b8bcb30 lr = 0x0000000106efa000 sp = 0x000000016b8bbf60 AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (Mlucas:arm64+0x1017e53d0) in radix48_dit_pass1+0x2b2c ==11579==ABORTING
A segmentation fault sometimes occurs in the "medium" self-test:
./Mlucas -s m
on the macOS ARM CI runners: