Thanks for investigating!

I'll keep watching. I'm currently developing a small Django app, and the crash happened during one of the automatic reloads that the development server do whenever a source code file changes. The problem is that I probably ran through the same procedure several hundred times over the past few weeks, but the bug happened only *once*. Seems like a nasty bug. I *suspect* it may be thread related, a racing condition or something like it. (and yes, I'm using a regular build, not a debug build).

Also note that I use Python since 1998 and never, in the past 12 years, I had a dump like this.

As for this ticket, it seems like a nasty and elusive bug; I _feel_ that we may never see the same bug again, _but_ other people may encounter similar situations, and we can then try to correlate them to find the cause. If I don't manage to reproduce it over the next few days we may close it but keep it in the tracker, until someone else hits it again.

Best regards,

Carlos Ribeiro


On Sun, Mar 21, 2010 at 16:29, Alexander Belopolsky <report@bugs.python.org> wrote:

Alexander Belopolsky <alexander.belopolsky@gmail.com> added the comment:

Clearly not enough information, but I have a few observations:

1. Clearly the crash occurs on exit (in Py_Finalize) during a module cleanup.  (Unfortunately it looks like a non-debug build of Python was used so figuring out which module is involved may be hard.

2. Memory map suggests that the crash is very late in python finalization.  Note that only two python modules are still mapped: mxDateTime and _hashlib.  However the memmap seems incomplete.

Try to reproduce the crash with a debug build of python (configure --with-pydebug).  The debug build may also crash sooner and more reliably.

----------
nosy: +Alexander.Belopolsky

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue8176>
_______________________________________



--
Carlos Ribeiro
Consultoria em Projetos
twitter: http://twitter.com/carribeiro
blog: http://rascunhosrotos.blogspot.com
mail: carribeiro@gmail.com