Saving .split(False) result to XML crashes
Bug #1246765 reported by
Peter Maday
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
New
|
Undecided
|
Unassigned |
Bug Description
Minimal code example:
from dolfin import *
mesh = UnitSquareMesh(2, 2)
V = VectorFunctionS
Q = FunctionSpace(mesh, "CG", 1)
W = V * Q
w = Function(W)
(u, p) = w.split(False)
File("test.xml") << u # Crash!
Issue:
When saving u to the XML file a Segmentation fault occurs.
When replacing w.split(False) with w.split(True) that supposedly uses deep copy instead of shallow copy the problem does not occur.
Environment:
Ubuntu 12.04 64 bit, Dolfin 1.2 from PPA
To post a comment you must log in.
FEniCS no longer uses Launchpad for bug reports. Please consult the documentation on the FEniCS web page for where and how to (re)post your bug report: http:// fenicsproject. org/support/