Michael Goldish added the comment:

> Why do you consider that it's the same issue?

Because it's a very similar stack trace, the crash itself is in 
subtype_dealloc(), it happens once every few days, asyncio is involved, and the 
issue is relatively new - I couldn't find another bug report with a similar 
description.

> I have core dumps if you're interested but am not sure where to upload them.

> You can try to use faulthandler to write the traceback of all Python threads 
> where the crash occurred

I've enabled faulthandler, the program crashed, and nothing was written to the 
file. For reference, I caused an artificial crash in the same Python program 
(using ctypes) and the stack traces *were* written. I verified this several 
times, both with the real crash and the artificial one, and the real crash 
always left the file empty.

> I guess that Visual Studio can load such minidump files.

I've already looked at one of my dumps in Visual Studio but couldn't make sense 
of what was going on. The structures involved seemed to contain data that made 
no sense to me (e.g. some pointers had values like 0x10, which usually makes no 
sense for a pointer and seems to indicate memory corruption).

> Did you see some errors or warnings when running your application with 
> asyncio in debug mode?

No, but I'll try. I doubt the problem is in asyncio itself because it's mostly 
written in Python. This looks like a garbage collection issue.

> Can you maybe send me the source code of your application?

I'll ask to see if that's permissible, but either way you will probably have a 
hard time reproducing the crash - the program is a server which maintains 
active TCP connections to more than 1000 client instances, writes large text 
files in background threads, pickles large objects... The frequency of the 
crash seems to be correlated to how busy the server is. Without a proper setup 
it'll be difficult to make it busy.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23187>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to