[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Random sig[segv|fpe] on 164LX with 256MB RAM



> schizo:~# gcc -o memtest memtest.c
> schizo:~# ./memtest
> Filling with seed of s=0x420
> memtest: memory violation at pc=120000900 rp=1200008c8 (bad address = 00000000)
> Segmentation fault (core dumped)

I love replying to my own messages... here's some more info on the coredump:

schizo:~# gcc -ggdb -o memtest memtest.c
schizo:~# ./memtest
Filling with seed of s=0x420
memtest: memory violation at pc=120000900 rp=1200008c8 (bad address = 00000000)
Segmentation fault (core dumped)
schizo:~# gdb ./memtest core
GNU gdb 4.17
<snip gdb copyright message>
Core was generated by `./memtest'.
Program terminated with signal 11, Segmentation fault.

#0  0x120000900 in main () at memtest.c:22
22            pl[a]=tmp1;
(gdb) quit

Just in case that helps.

/Andrew



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []