Dear Mohammad,
This is often (generally) caused by trying to access memory which is
uninitialised, such as trying to access the 11th entry in an array of
length 10. The fact the code compiles is no indication that it will run
(and indeed if it does run no indication that it will give you the
correct answer!).
I suggest running the code in a debugger to find exactly when the fault
occurs, or if you are not familiar with debuggers then placing comments
in your code, recompiling it and seeing which comments get printed and
which don't.
John
On 26/01/12 15:51, Mohammad Mohsenie wrote:
hi there
i'm using fedora 13 and dealii 7.1 .i've written an oo program witch
it was build properly and executable file built but when i tried to
run it the error segmentation fault was shown .
============================ Running main
make: *** [run] Segmentation fault (core dumped)
any help would be appreciated .
regards
S.M.Mohseni
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii