← Back to team overview

dolfin team mailing list archive

[Bug 42] Inline algebraic operators on vectors are unsafe in pydolfin

 

http://www.fenics.org/cgi-bin/bugzilla/show_bug.cgi?id=42





------- Comment #1 from martinal@xxxxxxxxx  2008-06-25 12:43 -------
Reproduction of the bug is easy:

In [1]: from dolfin import *
v
In [2]: v = Vector()
uBlasVector constructor
Vector constructor

In [3]: u = Vector()
uBlasVector constructor
Vector constructor

In [4]: v.init(3)

In [5]: u.init(3)

In [6]: w = v

In [7]: v += u

In [8]: del v
uBlasVector destructor
Vector destructor

In [9]: w.size()
Segmentation fault (core dumped)


-- 
Configure bugmail: http://www.fenics.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.