(Python) dolfin crashes when trying to access <class 'dolfin.cpp.PETScMatrix'>.size(n) with wrong index n
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Undecided
|
Anders Logg |
Bug Description
Dear dolfin/fenics team,
I expect the following error should be caught when triggered from the Python interface?
Best wishes,
Hans
from dolfin import PETScMatrix
J=PETScMatrix()
J.size(0) #is 0
J.size(1) #is 0
J.size(2) #results in following:
python: /build/
[osiris:08014] *** Process received signal ***
[osiris:08014] Signal: Aborted (6)
[osiris:08014] Signal code: (-6)
[osiris:08014] [ 0] /lib/x86_
[osiris:08014] [ 1] /lib/x86_
[osiris:08014] [ 2] /lib/x86_
[osiris:08014] [ 3] /lib/x86_
[osiris:08014] [ 4] /usr/lib/
[osiris:08014] [ 5] /usr/lib/
[osiris:08014] [ 6] python(
[osiris:08014] [ 7] python(
[osiris:08014] [ 8] python(
[osiris:08014] [ 9] python(
[osiris:08014] [10] python(
[osiris:08014] [11] python(
[osiris:08014] [12] python(
[osiris:08014] [13] python(
[osiris:08014] [14] python(
[osiris:08014] [15] python(
[osiris:08014] [16] python(
[osiris:08014] [17] python(
[osiris:08014] [18] python(
[osiris:08014] [19] python(
[osiris:08014] [20] python(
[osiris:08014] [21] python(
[osiris:08014] [22] python(
[osiris:08014] [23] python() [0x4dcc22]
[osiris:08014] [24] python(
[osiris:08014] [25] python(
[osiris:08014] [26] python(
[osiris:08014] [27] /lib/x86_
[osiris:08014] [28] python() [0x41cb69]
[osiris:08014] *** End of error message ***
Aborted
Changed in dolfin: | |
assignee: | nobody → Anders Logg (logg) |
status: | New → Confirmed |
milestone: | none → 1.0-rc1 |
Changed in dolfin: | |
status: | In Progress → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
Fixed in 1.0.x-logg