Periodic BDM segfault in 1.2.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Using 1.2.0 stable, built with dorsal. I get either a segfault (or occasionally a hang) with the code below.
Code:
=======
from dolfin import *
def SinglyPeriodicBC():
class PeriodicBoundar
def inside(self, x, on_boundary):
return on_boundary and near(x[0], 0)
def map(self, x, y):
y[0] = x[0] - 1
y[1] = x[1]
pbc = PeriodicBoundaryX()
return pbc
mesh = UnitSquareMesh(16, 16)
pbc = SinglyPeriodicBC()
print "1"
T1 = FunctionSpace(mesh, 'CG', 1) # works
print "2"
T2 = FunctionSpace(mesh, 'CG', 1, constrained_
print "3"
S1 = FunctionSpace(mesh, 'BDM', 1) # works
print "4"
S2 = FunctionSpace(mesh, 'BDM', 1, constrained_
print "5"
=======
Output:
=======
atm112@
1
2
3
4
[ae-amcrae:07493] *** Process received signal ***
[ae-amcrae:07493] Signal: Segmentation fault (11)
[ae-amcrae:07493] Signal code: Address not mapped (1)
[ae-amcrae:07493] Failing at address: 0x3adca38
[ae-amcrae:07493] [ 0] /lib/x86_
[ae-amcrae:07493] [ 1] /home/atm112/
[ae-amcrae:07493] [ 2] /home/atm112/
[ae-amcrae:07493] [ 3] /home/atm112/
[ae-amcrae:07493] [ 4] /home/atm112/
[ae-amcrae:07493] [ 5] /home/atm112/
[ae-amcrae:07493] [ 6] python(
[ae-amcrae:07493] [ 7] python(
[ae-amcrae:07493] [ 8] python() [0x4a8960]
[ae-amcrae:07493] [ 9] python(
[ae-amcrae:07493] [10] python() [0x4ec11a]
[ae-amcrae:07493] [11] python(
[ae-amcrae:07493] [12] python() [0x4eb39e]
[ae-amcrae:07493] [13] python() [0x4db6a6]
[ae-amcrae:07493] [14] python(
[ae-amcrae:07493] [15] python(
[ae-amcrae:07493] [16] python(
[ae-amcrae:07493] [17] python() [0x4a8960]
[ae-amcrae:07493] [18] python(
[ae-amcrae:07493] [19] python() [0x4ec11a]
[ae-amcrae:07493] [20] python(
[ae-amcrae:07493] [21] python(
[ae-amcrae:07493] [22] python(
[ae-amcrae:07493] [23] python() [0x4a8a92]
[ae-amcrae:07493] [24] python(
[ae-amcrae:07493] [25] python() [0x4ec11a]
[ae-amcrae:07493] [26] python(
[ae-amcrae:07493] [27] python() [0x4eb39e]
[ae-amcrae:07493] [28] python() [0x4db6a6]
[ae-amcrae:07493] [29] python(
[ae-amcrae:07493] *** End of error message ***
Segmentation fault (core dumped)
=======
Same thing happens for BDFM and RT elements.