Skip to content

segmentation fault while printing moose.element in ipython

Created by: subhacom

Segmentation fault while printing moose.element in ipython but works in python

harsha@lab13:~/clean_trunk$ python Python 2.7.3 (default, Feb 27 2014, 19:58:35) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import moose on node 0, numNodes = 1, numCores = 4 t = moose.Neutral('/test') print t <moose.Neutral: id=459, dataIndex=0, path=/test[0]> t <moose.Neutral: id=459, dataIndex=0, path=/test[0]>

harsha@lab13:~/clean_trunk$ ipython Python 2.7.3 (default, Feb 27 2014, 19:58:35) Type "copyright", "credits" or "license" for more information. IPython 3.0.0 -- An enhanced Interactive Python.

In [1]: import moose on node 0, numNodes = 1, numCores = 4

In [2]: t = moose.Neutral('/test')

In [3]: print t <moose.Neutral: id=459, dataIndex=0, path=/test[0]>

In [4]: t Segmentation fault (core dumped)

Reported by: hrani