[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: File "/generic_sybase_connector.py", line 175 in _do File "/generic_sybase_connector.py", line 155 in _safe_cursor_operation File "/generic_sybase_connector.py", line 184 in fetch_from_db File "/cva_sybase_connector.py", line 197 in get_smoke_test_name_da

[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread Amit Moghe
Amit Moghe added the comment: Hi , Please see below trace logger - Failed transaction. Statement: SELECT Col1, Col2, Col3 FROM TABLE where APPLICATION='TEST' ORDER BY UPDATE_TIME DESCFatal Python error: PyEval_RestoreThread: NULL tstate Current thread 0x7f3e435fe700 (most recent call

[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: This issue looks like a bug in Flask or a C extension used by your application. You should try to debug it with gdb. Or at least try to get a Python traceback: https://pythondev.readthedocs.io/debug_tools.html#get-a-traceback-on-a-crash You should specify you

[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread Amit Moghe
New submission from Amit Moghe : Hi Team, I am writting an application in python flask. I this when flask application is establishing Sybase DB connection through normal python SybaseConnector. In this process I am getting below error, could you please suggest on this ? Error :Fatal python e