Dynamic Buffer alignment issue
On branch segment-length-sliding-window commit def83b7f, the following command segfaults on AVX-512:
bin/icgrep -m=5 -EnableTernaryOpt -match-coordinates=8 -colors=always '[\N{GREEK CAPITAL LETTER ALPHA}-\N{Greek capital letter UPSILON with DIALYTIKA}]' ../QA/testfiles/../All_good
The following stack trace (debug-build on cs-osl-08) gives more info:
(gdb) set args -m=5 -EnableTernaryOpt -match-coordinates=8 -colors=always '[\N{GREEK CAPITAL LETTER ALPHA}-\N{Greek capital letter UPSILON with DIALYTIKA}]' ../QA/testfiles/../All_good
(gdb) run
Starting program: /home/cameron/parabix-devel/debug12-build/bin/icgrep -m=5 -EnableTernaryOpt -match-coordinates=8 -colors=always '[\N{GREEK CAPITAL LETTER ALPHA}-\N{Greek capital letter UPSILON with DIALYTIKA}]' ../QA/testfiles/../All_good
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fff60c74700 (LWP 11888)]
[New Thread 0x7fff5dd71700 (LWP 11889)]
[New Thread 0x7fff5ae6e700 (LWP 11890)]
Thread 4 "icgrep" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff5ae6e700 (LWP 11890)]
__memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:145
145 ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: No such file or directory.
(gdb) bt
#0 __memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:145
#1 0x00007ffff7f13b1c in __DynamicBuffer_linearExpand_1x64@0 ()
#2 0x00007ffff7f0f67c in P4_5781cc01b9e405c75b9c7468e0c3af6ce475c5ac_DoFixedDataSegmentThread ()
#3 0x00007ffff5b796db in start_thread (arg=0x7fff5ae6e700) at pthread_create.c:463
#4 0x00007ffff4b1c61f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information