A segmentation fault may be seen after in any memory manipulation on a buffer that was filled by a call to clEnqueueFillBuffer(). An example of the error message is shown below.
Segmentation fault. 0x00007ffff5ae810b in acl_event_is_valid () from /intelFPGA_pro/17.0/hld/host/linux64/lib/libalteracl.so
The clEnqueueFillBuffer() call itself returns no errors.
To work around this problem, fill a host buffer with the desired data and use the cCreateBuffer() function with the CL_MEM_COPY_HOST_PTR option.
cl_mem buffer = clCreateBuffer (context, CL_MEM_COPY_HOST_PTR, size, host_buffer, &error)
This problem is scheduled to be fixed in a future release of the Intel® Quartus® Prime software