[Python-bugs-list] Re: [Bug #111403] 1.6b1 dumps core dereferencing a NULL tstate

Jeremy Hylton jeremy@beopen.com
Fri, 15 Sep 2000 16:49:51 -0400 (EDT)


  MR>   This bug is about the crash on linux with the threads enabled.
  MR>   The
  MR> stack trace comes from a linux system.  2.0b1 crashes with a
  MR> very similar looking stack.  I probably made a mistake in
  MR> bringing up the trouble I was having with the HPUX threads in
  MR> the discussion of this linux bug..  If you would like, I could
  MR> start another bug report.

It would be helpful to start a new bug report.  The HPUX stuff makes
it confusing to read.  One question I have from the original stack
trace-- is this an app that embeds Python or its it just an extension
module?  The stak trace looks like it is just doing a normal Python
startup via Py_Main.

I'm not at all familiar with Tkinter, so I'll assign the new bug to
someone who is.  I wonder if the problem is that your C++ code is
being called via a callback -- and then you call back into Python
without acquiring the interpreter lock.  I think this would be
consistent with a NULL thread state.

Jeremy