[New-bugs-announce] [issue15926] Segmentation fault after multiple reinitializations

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Wed Sep 12 05:13:01 CEST 2012


New submission from Arfrever Frehtes Taifersar Arahesis:

#include <Python.h>
#include <stdlib.h>
int main()
{
    int i;
    for (i = 0; i < 100; i++) {
        printf("%d\n", i);
        Py_Initialize();
        Py_Finalize();
    }
    return 0;
}

The above code succeeds with Python 3.2, but causes segmentation fault with Python 3.3:

$ ./reinitializations
0
1
2
3
4
5
6
7
8
9
Segmentation fault
$

----------
keywords: 3.3regression
messages: 170349
nosy: Arfrever
priority: high
severity: normal
status: open
title: Segmentation fault after multiple reinitializations
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15926>
_______________________________________


More information about the New-bugs-announce mailing list