Floating point error with ipython
Created by: subhacom
When interactively using moose from ipython, trying to print path of an object causes a crash with following error:
[chamcham:02053] *** Process received signal *** [chamcham:02053] Signal: Floating point exception (8) [chamcham:02053] Signal code: Integer divide-by-zero (1) [chamcham:02053] Failing at address: 0x7effe9b5268a [chamcham:02053] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7effee6a6cb0] [chamcham:02053] [ 1] /home/subha/src/moose_async13/python/moose/_moose.so(_ZNK16LocalDataElement7getNodeEj+0x20) [0x7effe9b5268a] [chamcham:02053] [ 2] /home/subha/src/moose_async13/python/moose/_moose.so(_ZNK5ObjId10isDataHereEv+0x31) [0x7effe9b59509] [chamcham:02053] [ 3] /home/subha/src/moose_async13/python/moose/_moose.so(_ZN5FieldISsE3getERK5ObjIdRKSs+0xbe) [0x7effe99b3a1f] [chamcham:02053] [ 4] /home/subha/src/moose_async13/python/moose/_moose.so(moose_ObjId_getattro+0x1d9) [0x7effe9a62dbe]
System configuration
Ubuntu 12.04 ipython1.0.0 OpenMPI 1.4.3
How to reproduce:
In ipython console enter:
import moose a = moose.Neutral('a') a.path
Reported by: subhacom