Is this on a unix-like thingie?
IIRC, it is ./configure --with-pydebug
before running the makefile.  Exactly the same as for regular python
builds.  Look into building CPython for your platform for details.

Errors during PyFinalize usually have to do with two things:
Problems in objects being released late due to reference counting.  These
are propblems you should be able to fix in your app.+
Problems due to threads.  If you are running a python thread (as a daemon)
then PyFinalize will cause, among other things, the GIL to go away and your
other python threads to start doing all kinds of weird stuff.  Either wait
for all your threads, or don't do Py_finalize.  This is a general Python
problem.


On 26 August 2014 19:53, Robert Babiak <[email protected]> wrote:

> Hi I am trying to track down a Seg-Fault in Py_Finalize in my code, I am
> embedding Stackless into my application.
>
> I am trying to figure out where to get symbols/ how to build stackless
> with symbols
>
> I don't see any options on setup,.py for specifying a debug build, and
> google has come up dry.
>
> Is it possible?
>
> - Rob
>
> --
> Life: Bah, I will worry about it when it is over.
>
> _______________________________________________
> Stackless mailing list
> [email protected]
> http://www.stackless.com/mailman/listinfo/stackless
>
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to