thanks,
I use gdb to debug, and cant find any symbol in the stack.
I wanna to exit from outside python, without tell anything to the interpreator,
but it seems impossible

"Floris Bruynooghe" <floris.bruynoo...@gmail.com> :6deac4c8-b208-4fbf-8098-8dc7af7f8...@r34g2000vba.googlegroups.com...
On Jun 9, 6:50 am, "myopc" <my...@aaa.com> wrote:
I am ruuning a c++ program (boost python) , which create many python
interpreaters and each run a python script with use multi-thread
(threading).
when the c++ main program exit, I want to shut down python interpreaters,
but it crashed.

Your threads are daemonic, you could be seeing http://bugs.python.org/issue1856
You'll have to check your stack in a debugger to know.  But as said
this can be avoided by making the threads finish themself and joining
them.

Regards
Floris
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to