Saving .split(False) result to XML crashes

Bug #1246765 reported by Peter Maday
6
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 = VectorFunctionSpace(mesh, "CG", 2)
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

Revision history for this message
Johannes Ring (johannr) wrote :

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/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.