Segmentation Violation
Moderators: silvia, selimgunay, Moderators
Segmentation Violation
I am getting the following error message when I try to run some tcl/tk input files using opensees.exe:
"child killed: segmentation violation"
could anyone tell me the probable cause of this error.
laskar
"child killed: segmentation violation"
could anyone tell me the probable cause of this error.
laskar
Here is the relevant part of the code:
# ------------------------------
# Start of analysis generation
# ------------------------------
# Create the constraint handler
constraints Plain
puts "constraints Plain Done!"
# Create the DOF numberer
numberer Plain
puts "numberer Plain Done!"
# Create the system of equation, a sparse solver with partial pivoting
system BandGeneral
puts "system BandGeneral Done!"
# Create the convergence test
test NormDispIncrVaryIter 0.001 1 5 numStep 5000 numIter 100
puts "test NormDispIncrVaryIter Done!"
# Create the solution algorithm
algorithm KrylovNewton
puts "algorithm KrylovNewton Done!"
# Create the integration scheme,
integrator DisplacementPath 10 1 1 numStep 5000 increment 0.01
puts "integrator DisplacementPath Done!"
# Create the analysis object
analysis Static
puts "analysis Static Done!"
# ------------------------------
# End of analysis generation
# ------------------------------
# perform the analysis
analyze 5000
puts "analyze Done!"
The output I am getting is as follows:
constraints Plain Done!
numberer Plain Done!
system BandGeneral Done!
test NormDispIncrVaryIter Done!
algorithm KrylovNewton Done!
integrator DisplacementPath Done!
analysis Static Done!
Then a windows pops up saying Opensees.exe has encountered a problem and needs to close. After that I get the message
"child killed: segmentation violation"
# ------------------------------
# Start of analysis generation
# ------------------------------
# Create the constraint handler
constraints Plain
puts "constraints Plain Done!"
# Create the DOF numberer
numberer Plain
puts "numberer Plain Done!"
# Create the system of equation, a sparse solver with partial pivoting
system BandGeneral
puts "system BandGeneral Done!"
# Create the convergence test
test NormDispIncrVaryIter 0.001 1 5 numStep 5000 numIter 100
puts "test NormDispIncrVaryIter Done!"
# Create the solution algorithm
algorithm KrylovNewton
puts "algorithm KrylovNewton Done!"
# Create the integration scheme,
integrator DisplacementPath 10 1 1 numStep 5000 increment 0.01
puts "integrator DisplacementPath Done!"
# Create the analysis object
analysis Static
puts "analysis Static Done!"
# ------------------------------
# End of analysis generation
# ------------------------------
# perform the analysis
analyze 5000
puts "analyze Done!"
The output I am getting is as follows:
constraints Plain Done!
numberer Plain Done!
system BandGeneral Done!
test NormDispIncrVaryIter Done!
algorithm KrylovNewton Done!
integrator DisplacementPath Done!
analysis Static Done!
Then a windows pops up saying Opensees.exe has encountered a problem and needs to close. After that I get the message
"child killed: segmentation violation"
Arghadeep Laskar
Graduate Research Assistant
Department of Civil and Environmental Engg.
University of Houston.
Graduate Research Assistant
Department of Civil and Environmental Engg.
University of Houston.
do you have some strange characters after that?
please send me the file to opensees-support@berkeley.edu
please send me the file to opensees-support@berkeley.edu
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104