Segmentation fault on my recent module

Hello there, Replit Devs.

I have implemented a module called DialogX. As PyPI’s short description says, DialogX is a lightweight Python library for creating customizable and interactive dialogs and windows with Pygame.

I made a test for DialogX, but it just kills itself for segmentation fault, core dumped (whatever that means)

Can you please fix it?

P.S.: DialogX uses threading, if that may be the problem. If it is, I couldn’t fix it, because that’s (currently) required for my code.

~ From your DialogX developer, Rix.