[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] Python 3 support in branch python_3
From: |
Petr Hluzín |
Subject: |
Re: [Simulavr-devel] Python 3 support in branch python_3 |
Date: |
Fri, 12 Feb 2016 21:51:44 +0100 |
This looks like GDB does not have debugging symbols for any of the libraries.
There is nothing we (i.e. the other guys :} ) could do without
function names, source lines and states of local variables.
On 11 February 2016 at 23:35, Christian Taedcke <address@hidden> wrote:
> Hello list,
>
> i committed some changes regarding python 3 to the branch python_3.
> The regression test and the examples should now work with python 2 and
> 3.
>
> It would be good if someone could test this branch and review my
> changes.
>
> There is still one open issue in one example for python 3 (2 works):
> PYTHONPATH=../../src/python /usr/bin/python3 example_io.py
> atmega128:example_io.elf
> ...
> simulation end: (t=15000000ns)
> value 'timer2_ticks'=7
> value 'port_val'=0x7e
> value 'port_cnt'=3
> *** Error in `/usr/bin/python3': corrupted double-linked list:
> 0x000055c88e36fed0 ***
> ======= Backtrace: =========
> /lib64/libc.so.6(+0x77da5)[0x7ff6d688eda5]
> /lib64/libc.so.6(+0x80c06)[0x7ff6d6897c06]
> /lib64/libc.so.6(cfree+0x4c)[0x7ff6d689acac]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(+0xd8053)[0x7ff6cf76f053]
> /lib64/libpython3.4m.so.1.0(PyObject_Call+0x91)[0x7ff6d7560db1]
> /lib64/libpython3.4m.so.1.0(PyObject_CallFunctionObjArgs+0xbc)[0x7ff6d7
> 56199c]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(+0x97d6d)[0x7ff6cf72ed6d]
> /lib64/libpython3.4m.so.1.0(+0x9c957)[0x7ff6d759a957]
> /lib64/libpython3.4m.so.1.0(_PyObject_GenericGetAttrWithDict+0x138)[0x7
> ff6d75a5a78]
> /lib64/libpython3.4m.so.1.0(+0xbc9e8)[0x7ff6d75ba9e8]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(+0xa03b9)[0x7ff6cf7373b9]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(+0xa047f)[0x7ff6cf73747f]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(+0xaa31e)[0x7ff6cf74131e]
> /lib64/libpython3.4m.so.1.0(PyEval_EvalFrameEx+0x783d)[0x7ff6d7617b9d]
> /lib64/libpython3.4m.so.1.0(PyEval_EvalCodeEx+0x8c6)[0x7ff6d7619636]
> /lib64/libpython3.4m.so.1.0(+0x8b728)[0x7ff6d7589728]
> /lib64/libpython3.4m.so.1.0(PyObject_Call+0x91)[0x7ff6d7560db1]
> /lib64/libpython3.4m.so.1.0(+0x78324)[0x7ff6d7576324]
> /lib64/libpython3.4m.so.1.0(PyObject_Call+0x91)[0x7ff6d7560db1]
> /lib64/libpython3.4m.so.1.0(+0x62ef5)[0x7ff6d7560ef5]
> /lib64/libpython3.4m.so.1.0(+0x62f8c)[0x7ff6d7560f8c]
> /lib64/libpython3.4m.so.1.0(PyObject_CallMethod+0xaf)[0x7ff6d75612cf]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(_ZN16SwigDirector_Pin13UnRegisterNetEP3Net+0x42)[0x7ff6cf7ab8d2]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(_ZN3NetD2Ev+0x2c)[0x7ff6cf84f2ac]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(_ZN3NetD0Ev+0x9)[0x7ff6cf84f2f9]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(+0xd8503)[0x7ff6cf76f503]
> /lib64/libpython3.4m.so.1.0(PyObject_Call+0x91)[0x7ff6d7560db1]
> /lib64/libpython3.4m.so.1.0(PyObject_CallFunctionObjArgs+0xbc)[0x7ff6d7
> 56199c]
> /simulavr/src/python/_pysimulavr.cpython-
> 34m.so(+0x97d6d)[0x7ff6cf72ed6d]
> /lib64/libpython3.4m.so.1.0(+0x9c957)[0x7ff6d759a957]
> /lib64/libpython3.4m.so.1.0(+0xb7c49)[0x7ff6d75b5c49]
> /lib64/libpython3.4m.so.1.0(+0x9c957)[0x7ff6d759a957]
> /lib64/libpython3.4m.so.1.0(+0xb7c49)[0x7ff6d75b5c49]
> /lib64/libpython3.4m.so.1.0(+0x9a937)[0x7ff6d7598937]
> /lib64/libpython3.4m.so.1.0(+0x9dfa9)[0x7ff6d759bfa9]
> /lib64/libpython3.4m.so.1.0(+0x1526a2)[0x7ff6d76506a2]
> /lib64/libpython3.4m.so.1.0(_PyGC_CollectNoFail+0x31)[0x7ff6d7651301]
> /lib64/libpython3.4m.so.1.0(PyImport_Cleanup+0x370)[0x7ff6d762aa10]
> /lib64/libpython3.4m.so.1.0(Py_Finalize+0x86)[0x7ff6d7637196]
> /lib64/libpython3.4m.so.1.0(Py_Main+0x539)[0x7ff6d764f0d9]
> /usr/bin/python3(main+0x167)[0x55c88b79fbe7]
> /lib64/libc.so.6(__libc_start_main+0xf0)[0x7ff6d6837580]
> /usr/bin/python3(_start+0x29)[0x55c88b79fc89]
>
> Regards,
> Christian
>
> _______________________________________________
> Simulavr-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/simulavr-devel
--
Petr Hluzin