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

M.-A. Lemburg mal@lemburg.com
Thu, 08 Jun 2000 17:51:46 +0200


gerry@certif.com wrote:
> 
> 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.

It's a problem with the Unicode free list. I'll fix it
later today.

Thanks,
-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/