![]() |
A weird segmentation fault error
Hi there,
There is a weird segmentation fault error. The following code runs fine Code:
#include <stdlib.h>Code:
#include <stdlib.h>Thank you in advance. |
Re: A weird segmentation fault error
I can't see any difference between the two code samples.
However I think I might have an idea. How much stack space do you have? In particular, do you have enough for 1000*1000*sizeof(double)*2 bytes? That's 8MB if sizeof(double) is 4. |
| All times are GMT +5.5. The time now is 03:16. |