Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "ramjee a.g." Newsgroups: comp.lang.python Subject: Py_NewInterpreter() - Fatal Error with ceval - orphan tstate Date: Thu, 26 Nov 2015 11:56:19 +0530 Lines: 12 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de EOdXh4GlSdxou97jA/9DMAQnt8/tPzprASCYSsm+Fmsg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Error': 0.07; 'received:209.85.218': 0.10; 'thread': 0.10; 'python': 0.10; 'python.': 0.11; '2.7': 0.13; 'pthread': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sequential': 0.16; 'error': 0.27; 'message-id:@mail.gmail.com': 0.27; 'executing': 0.27; 'extending': 0.29; 'fixed': 0.31; 'problem': 0.33; 'received:google.com': 0.35; 'c++': 0.35; 'library.': 0.35; 'there': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'two': 0.37; 'received:209': 0.38; 'hi,': 0.38; 'application': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'execution.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZMQdEUjZGQODQOBjIKRbdjEVRJtU+mvS8We2MFKeUEc=; b=C0sxbX4J+RkfQenfZvnudYRutEjio6F7a3R/9qfbxmCfd7+lLiBAELEGbGcpAmCjsP 6ZyFDMZXU2L2bu3IuYIJZQqEVPtMHWdrGDcKDHkeLetSAVKHJ63tFZfI4db8/W9KsWGB DXoIYfY3JopsRsxX52mLTM32VZg4xLwF3peOcisHC7Se/vaBjHocF3mWnNapmZZDZteL U91C4NYjMRRnBsX7f6URYg7rozK/NHUqj2wdAAPwiX6A0YgBqQ2PitTxR3+ctICL1P6d bIpXvGtwYLSlDpEP6fep2ZEY1dYjDEhZKeBjCrjzNiNmeQdsIoCoOez9H0opiIM7uB52 bWAQ== X-Received: by 10.202.65.11 with SMTP id o11mr26373145oia.39.1448519179679; Wed, 25 Nov 2015 22:26:19 -0800 (PST) X-Mailman-Approved-At: Thu, 26 Nov 2015 03:42:02 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99544 Hi, I am using python 2.7 for extending my C++ application with python. And when two pthread of C is executing Py_NewInterpreter() it is throwing faltal error with ceval-orphan tstate. There is no problem when sequential thread execution. Let me know if any solution to be fixed in my python library. Regards, Ramjee