[Python-bugs-list] Py_Initialize()/Py_Finalize() seg fault (PR#348)

gerry@certif.com gerry@certif.com
Wed, 7 Jun 2000 18:25:00 -0400 (EDT)


Full_Name: Gerry Swislow
Version: Python-1.6a2
OS: Linux RH 6.x
Submission from: certified.ne.mediaone.net (24.147.233.100)


When embedding python, the following program will have 
a segmentation fault during the second Py_Finalize():

main() {
        Py_Initialize();
        Py_Finalize();
        Py_Initialize();
        Py_Finalize();
}

The fault occurs in _PyUnicode_Fini() and should be easy 
to reproduce.  It's not a problem in Python 1.5.