segmentaion fault with array[4096]
Marcelo Tosatti
marcelo.tosatti at cyclades.com
Fri Aug 19 04:01:29 EST 2005
Hi!
On Thu, Aug 18, 2005 at 11:45:04AM +0200, Studencki Pawel wrote:
> hello,
>
> because I want to do some tests with fusion/RTAI on my mpc852,
> I had to downgrade my system to kernel 2.6.10
Downgrade from what?
> And I get a strange problem: if I start application with char array size
> 4096 (or even smaller 2600) I get "segmentation fault".
>
> Could someone gives me a hint? Is this kernel configuration problem?
> Where can I start looking for a reason?
Have you tried to debug the application with gdb to spot more precisely
what is it doing that makes it receive a segfault?
Most likely its doing an invalid memory access.
More information about the Linuxppc-embedded
mailing list