horribly slimy segault c-extension

John Does dsada at asd.com
Sat May 31 17:40:16 EDT 2003


There should be no need for me to show all my code for this issue.


First off: i run a program and it sefaults normally, but when i run it
through gdb it does not.

Here are the relevant lines of code:

        printf("q:%i \n",Q->ob_refcnt);
        Py_DECREF(Q);
        printf("qa:%i \n",Q->ob_refcnt);
        Q = newQ ;
        printf("qaa:%i \n",Q->ob_refcnt);

And the output:

q:1 
Segmentation fault

Without asking me for any more code, can someone give me some precise steps that I could take to begin
resolving/exposing this issue.




More information about the Python-list mailing list