You could try to (hopefully) get another backtrace using
$ gdb --args python my_script.py
...
Reading symbols from python...done.
(gdb) run
...
(gdb) backtrace
...

but from the current stack trace I don’t know, how to debug further besides trying to isolate the issue with a minimal code snippet.