[Python.NET] crash in pythonnet

Denis Akhiyarov denis.akhiyarov at gmail.com
Wed Apr 4 01:09:38 EDT 2018


See the Travis CI builds of pythonnet on GitHub for the current version of
Mono passing the tests.

On Wed, Apr 4, 2018, 12:04 AM techi eth <techieth at gmail.com> wrote:

> Initially i tried with default mono (3.8 -> Ubunut14.04 default) version
> but i was not able to build pythonfornet. Later i tried with 4.2.2
> version,i am able to build  but got similar crash.
> than i though to test with latest mono but still got crash.
> Could you please let me know i can get anywhere compatible version w.r.t
> to mono/python/pythonnet or any other dependencies.
>
> Please let me know which version from below link you are referring.
> http://www.mono-project.com/docs/about-mono/releases/
>
> Thanks
>
> On Wed, Apr 4, 2018 at 10:09 AM, Denis Akhiyarov <
> denis.akhiyarov at gmail.com> wrote:
>
>> can you try previous mono versions?
>>
>> On Tue, Apr 3, 2018 at 11:23 PM, techi eth <techieth at gmail.com> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> I am trying to run python for NET but finding crash while running test.
>>> I am trying to run test from src/tests/.
>>>
>>>
>>>
>>> System Setup :
>>>
>>> Host : Ubuntu14.04
>>>
>>> Python : Python2.7
>>>
>>> Mono :
>>>
>>> Mono JIT compiler version 5.10.1.20 (tarball Thu Mar 29 10:42:14 UTC
>>> 2018)
>>>
>>> Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
>>> www.mono-project.com
>>>
>>>                 TLS:           __thread
>>>
>>>                 SIGSEGV:       altstack
>>>
>>>                 Notifications: epoll
>>>
>>>                 Architecture:  x86
>>>
>>>                 Disabled:      none
>>>
>>>                 Misc:          softdebug
>>>
>>>                 Interpreter:   yes
>>>
>>>                 LLVM:          supported, not enabled.
>>>
>>>                 GC:            sgen (concurrent by default)
>>>
>>>
>>>
>>> I am getting below error.
>>>
>>>
>>>
>>> *** Error in `python2.7': free(): invalid pointer: 0xb5d37120 ***
>>>
>>> Stacktrace:
>>>
>>>
>>>
>>>   at <unknown> <0xffffffff>
>>>
>>>   at (wrapper managed-to-native) Python.Runtime.Runtime.Py_Initialize
>>> () <0x00012>
>>>
>>>   at Python.Runtime.Runtime.Initialize () [0x0000a] in
>>> <f0f76ef5431f474889e54afa364b2312>:0
>>>
>>>   at Python.Runtime.PythonEngine.Initialize (
>>> System.Collections.Generic.IEnumerable`1<string>,bool) [0x00014] in
>>> <f0f76ef5431f474889e54afa364b2312>:0
>>>
>>>   at Python.Runtime.PythonEngine.Initialize (bool) [0x00005] in
>>> <f0f76ef5431f474889e54afa364b2312>:0
>>>
>>>   at Python.Runtime.PythonEngine.InitExt () [0x00000] in
>>> <f0f76ef5431f474889e54afa364b2312>:0
>>>
>>>   at (wrapper runtime-invoke) object.runtime_invoke_void
>>> (object,intptr,intptr,intptr) [0x0001e] in
>>> <65984520577646ec9044386ec4a7b3dd>:0
>>>
>>>
>>>
>>> Attached core dump for more details.
>>>
>>> Please give me hint what is wrong.
>>>
>>>
>>> _________________________________________________
>>> Python.NET mailing list - PythonDotNet at python.org
>>> https://mail.python.org/mailman/listinfo/pythondotnet
>>>
>>>
>>
>> _________________________________________________
>> Python.NET mailing list - PythonDotNet at python.org
>> https://mail.python.org/mailman/listinfo/pythondotnet
>>
>>
> _________________________________________________
> Python.NET mailing list - PythonDotNet at python.org
> https://mail.python.org/mailman/listinfo/pythondotnet
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20180404/66f136e2/attachment-0001.html>


More information about the PythonDotNet mailing list