Discussion:
[Python.NET] [ pythonnet-Bugs-3303462 ] Stack corruption
Barton
2011-05-21 18:30:41 UTC
Permalink
Thank you very much!
It will be helpful for us to know which platform (Windows [Mono or .NET]
vs Linux) where this is happening.
Bugs item #3303462, was opened at 2011-05-18 02:52
Message generated for change (Tracker Item Submitted) made by christallire
https://sourceforge.net/tracker/?func=detail&atid=823891&aid=3303462&group_id=162464
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xeph (christallire)
Assigned to: Nobody/Anonymous (nobody)
Summary: Stack corruption
I'm using python.net heavily in my server/client project
I found Stack buffer overflow exception OR stack corruption exception is caused when python script throws an exception, which is caught by CLR code especially when GC is collecting its own objects.
I think this problem is caused when allocated objects are unwinded by CLR engine.
(threw in CLR GC Collection/GC Security Cookie Check)
I found problem this 2 months ago, been struggling to solve this problem, because it happens rarely, randomly when GC is collecting objects
I solved this problem via removing all of pythonexception throwing code from PythonEngine, changed to return parameters to null
Hope you have better solution for solve this problem :)
----------------------------------------------------------------------
https://sourceforge.net/tracker/?func=detail&atid=823891&aid=3303462&group_id=162464
_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet
Alexey Borzenkov
2012-01-23 20:42:50 UTC
Permalink
Btw, see my latest email, the PythonException patch will possibly fix
this problem.
Post by Barton
Thank you very much!
It will be helpful for us to know which platform (Windows [Mono or .NET] vs
Linux) where this is happening.
Bugs item #3303462, was opened at 2011-05-18 02:52
Message generated for change (Tracker Item Submitted) made by christallire
https://sourceforge.net/tracker/?func=detail&atid=823891&aid=3303462&group_id=162464
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xeph (christallire)
Assigned to: Nobody/Anonymous (nobody)
Summary: Stack corruption
I'm using python.net heavily in my server/client project
I found Stack buffer overflow exception OR stack corruption exception is
caused when python script throws an exception, which is caught by CLR code
especially when GC is collecting its own objects.
I think this problem is caused when allocated objects are unwinded by CLR engine.
(threw in CLR GC Collection/GC Security Cookie Check)
I found problem this 2 months ago, been struggling to solve this problem,
because it happens rarely, randomly when GC is collecting objects
I solved this problem via removing all of pythonexception throwing code
from PythonEngine, changed to return parameters to null
Hope you have better solution for solve this problem :)
----------------------------------------------------------------------
https://sourceforge.net/tracker/?func=detail&atid=823891&aid=3303462&group_id=162464
_________________________________________________
http://mail.python.org/mailman/listinfo/pythondotnet
_________________________________________________
Python.NET mailing list - PythonDotNet-+ZN9ApsXKcEdnm+***@public.gmane.org
http://mail.python.org/mailman/listinfo/pythondotnet

Loading...