Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marmot crashes with Segmentation Fault 11 when running threaded simulation on stateful material properties #1615

Closed
mooseframework opened this issue Feb 14, 2014 · 1 comment
Assignees
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.

Comments

@mooseframework
Copy link

Below is the strack trace:

(gdb) r
Starting program: /Users/frombs/projects/trunk/marmot/marmot-dbg -i reconstruction_3d_test.i --n-threads=6
bReading symbols for shared libraries ++++++++++++++++++++++++++++++++++++.............................. done
Framework Information:
SVN Revision: 15803
PETSc Version: 3.1.0
Current Time: Mon Jan 14 14:25:20 2013
Executable Timestamp: Mon Jan 14 11:06:08 2013

Mesh Information:
mesh_dimension()=3
spatial_dimension()=3
n_nodes()=216
n_local_nodes()=216
n_elem()=125
n_local_elem()=125
n_active_elem()=125
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=6
processor_id()=0

Inside the PolyCrystalKernelAction Object
var name base:gr EquationSystems
n_systems()=2
System #1, "aux0"
Type "TransientExplicit"
Variables="bnds" "grain_num" "rgb"
Finite Element Types="LAGRANGE" "MONOMIAL" "MONOMIAL"
Approximation Orders="FIRST" "CONSTANT" "CONSTANT"
n_dofs()=25261
n_local_dofs()=25261
n_constrained_dofs()=0
n_local_constrained_dofs()=0
n_vectors()=3
n_matrices()=0
DofMap Sparsity
Average On-Processor Bandwidth <= 0
Average Off-Processor Bandwidth <= 0
Maximum On-Processor Bandwidth <= 0
Maximum Off-Processor Bandwidth <= 0
DofMap Constraints
Number of DoF Constraints = 0
System #0, "nl0"
Type "TransientNonlinearImplicit"
Variables="g" "g" "g" "g" "g" "g" "g" "g5161092ae3baa24764756d4eb96d13087bf6e47a" "g"
Finite Element Types="LAGRANGE" "LAGRANGE" "LAGRANGE" "LAGRANGE" "LAGRANGE" "LAGRANGE" "LAGRANGE" "LAGRANGE" "LAGRANGE"
Approximation Orders="FIRST" "FIRST" "FIRST" "FIRST" "FIRST" "FIRST" "FIRST" "FIRST" "FIRST"
n_dofs()=83349
n_local_dofs()=83349
n_constrained_dofs()=0
n_local_constrained_dofs()=0
n_vectors()=13
n_matrices()=1
DofMap Sparsity
Average On-Processor Bandwidth <= 26.8299
Average Off-Processor Bandwidth <= 0
Maximum On-Processor Bandwidth <= 42
Maximum Off-Processor Bandwidth <= 0
DofMap Constraints
Number of DoF Constraints = 0

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x0000000101488d17 in MaterialPropertyStorage::initStatefulProps (this=0x103856138, material_data=@0x10368fd70, mats=@0x105b89968, n_qpoints=4, elem=@0x10a2a9600, side=0) at /Users/frombs/projects/trunk/moose/src/materials/MaterialPropertyStorage.C:250
250 if (props()[== NULL) props()&elem[= material_data.props()[ _stateful_prop_id_to_prop_idi ]->init(n_qpoints);
(gdb) bt
#0 0x0000000101488d17 in MaterialPropertyStorage::initStatefulProps (this=0x103856138, material_data=@0x10368fd70, mats=@0x105b89968, n_qpoints=4, elem=@0x10a2a9600, side=0) at /Users/frombs/projects/trunk/moose/src/materials/MaterialPropertyStorage.C:250
#1 0x00000001012d2379 in ComputeMaterialsObjectThread::onElement (this=0x7fff5fbfe480, elem=0x10a2a9600) at /Users/frombs/projects/trunk/moose/src/base/ComputeMaterialsObjectThread.C:84

Previous frame inner to this frame (gdb could not unwind past this frame)
(gdb)

@permcody
Copy link
Member

Fixed in 49f78e1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: defect An anomaly, which is anything that deviates from expectations.
Projects
None yet
Development

No branches or pull requests

2 participants