segmentation fault befor beginning of programs
Fabrice Boyrie
fboyrie@ens-lyon.fr
Thu Jun 22 00:33:00 GMT 2000
On 22 Jun 2000, Alexandre Oliva wrote:
> On Jun 21, 2000, Fabrice Boyrie <fboyrie@ens-lyon.fr> wrote:
>
> > Program terminated with signal 11, Erreur de segmentation.
>
> > Even if I have made an error in my code I don't understand why I can't
> > see where the code cause a segfault.
>
> > _ If I replace densite_reduite[100][25][25]
> > by densite_reduite[25][25][25] there is no error.
>
> You may be exceeding the stack size limit.
>
Exact. Sorry for my error. The next time, I will carefull when I'm
translating from fortran to c.
(However it is regrettable that gdb does not give more explicit error)
Fabrice BOYRIE
More information about the Gcc-bugs
mailing list