Writing subfunction to xml file seg faults

Bug #1065005 reported by Marie Rognes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Confirmed
High
Unassigned

Bug Description

I get a segmentation fault with the below:

from dolfin import *
mesh = UnitSquare(2, 2)
V = FunctionSpace(mesh, "CG", 1)
W = V*V
vs = Function(W)
(v, s) = vs.split()
file = File("foo.xml")
file << v

This is easily avoidable by doing split(deepcopy=True), but an error message would be significantly better than the seg fault response.

Revision history for this message
Garth Wells (garth-wells) wrote :

Probably affects XDMF too. We should add a unit test.

Changed in dolfin:
status: New → Confirmed
importance: Undecided → High
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.