Vtk gets segfault when used with nvidia driver on ubuntu 20.04

Hi all,
The title says all.
I have Linux Ubuntu 20.04 and I have a code that uses VTK (Sorry but I am unable to share the code).
My system is Dell Precision 7540 with Nvidia Quadro T2000 mobile.
When I install a clean system and do not install Nvidia drivers, the code works for me normally. The VTK libraries work normally and the code finishes successfully.

The problem comes the same in VTK 8.2.0 and 9.0.1

However if I install the Nvidia driver (I have tried with 418, 450 and, 460), then VTK gets segfault. The backtrace for one of the runs shows this

(gdb) backtrace
#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:436
#1  0x00007ffff524a781 in vtkWindowToImageFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /usr/local/lib/libvtkRenderingCore-9.0.so.1
#2  0x00007ffff524ac41 in vtkWindowToImageFilter::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /usr/local/lib/libvtkRenderingCore-9.0.so.1
#3  0x00007ffff506a4d6 in vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) () from /usr/local/lib/libvtkCommonExecutionModel-9.0.so.1
#4  0x00007ffff506455d in vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /usr/local/lib/libvtkCommonExecutionModel-9.0.so.1
#5  0x00007ffff5061191 in vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /usr/local/lib/libvtkCommonExecutionModel-9.0.so.1
#6  0x00007ffff50671bf in vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /usr/local/lib/libvtkCommonExecutionModel-9.0.so.1
#7  0x00007ffff509634d in vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) () from /usr/local/lib/libvtkCommonExecutionModel-9.0.so.1
#8  0x00007ffff5065c31 in vtkDemandDrivenPipeline::UpdateData(int) () from /usr/local/lib/libvtkCommonExecutionModel-9.0.so.1
#9  0x00007ffff5097717 in vtkStreamingDemandDrivenPipeline::Update(int, vtkInformationVector*) () from /usr/local/lib/libvtkCommonExecutionModel-9.0.so.1

Any ideas why this happens? Please let me know if you need more information.
Thanks in advance.

I suspect there is a nullptr somewhere. Do you have a way to reproduce the issue?