Re: [Python.NET] [ pythonnet-Bugs-3303462 ] Stack corruption
Thank you very much! It will be helpful for us to know which platform (Windows [Mono or .NET] vs Linux) where this is happening. On 05/17/11 10:52, SourceForge.net wrote:
Bugs item #3303462, was opened at 2011-05-18 02:52 Message generated for change (Tracker Item Submitted) made by christallire You can respond by visiting: 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
Initial Comment: 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 :)
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=823891&aid=3303462&group_id=162464
Btw, see my latest email, the PythonException patch will possibly fix this problem. On Sat, May 21, 2011 at 10:30 PM, Barton <barton@bcdesignswell.com> wrote:
Thank you very much! It will be helpful for us to know which platform (Windows [Mono or .NET] vs Linux) where this is happening.
On 05/17/11 10:52, SourceForge.net wrote:
Bugs item #3303462, was opened at 2011-05-18 02:52 Message generated for change (Tracker Item Submitted) made by christallire You can respond by visiting:
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
Initial Comment: 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 :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=823891&aid=3303462&group_id=162464
_________________________________________________ Python.NET mailing list - PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet
participants (2)
-
Alexey Borzenkov
-
Barton