Segmentation fault when using local pc to run experiment

Hello, Community!

My code works just fine when running in server (with v100). And after I move it to my local computer (2080). Except for hardware env change, I don’t think there is any software env change with respect to python env. And I have this
Thread 1 "python" received signal SIGSEGV, Segmentation fault. visit_reachable (op=0x2007ffebb394fb0, reachable=0x555555874360 <generations+64>) at /tmp/build/80754af9/python_1588903631989/work/Modules/gcmodule.c:409 409 /tmp/build/80754af9/python_1588903631989/work/Modules/gcmodule.c: No such file or directory. (gdb) l 404 in /tmp/build/80754af9/python_1588903631989/work/Modules/gcmodule.c

Any idea why this could happen?

#Update
I feel there something to do with memory…as I reduced my max_seq_length, and the error’s gone. But I am still confused