This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever
Date 2012-09-12.03:13:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347419581.97.0.0354883385349.issue15926@psf.upfronthosting.co.za>
In-reply-to
Content
#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
$
History
Date User Action Args
2012-09-12 03:13:02Arfreversetrecipients: + Arfrever
2012-09-12 03:13:01Arfreversetmessageid: <1347419581.97.0.0354883385349.issue15926@psf.upfronthosting.co.za>
2012-09-12 03:13:01Arfreverlinkissue15926 messages
2012-09-12 03:13:01Arfrevercreate