[prog] This segmetation fault makes no sence to me.
vecna at sikurezza.org
vecna at sikurezza.org
Fri May 30 12:58:24 EST 2003
On Fri, May 30, 2003 at 08:27:58PM +1000, Sue Stones wrote:
>
> Well I soved my loader error eventually, but now I have a segnemtation fault
> and I have no idea what it might be causing it. I think of segmentation
> faults as trying to access some address that the program has no rights to.
for nice debug you should try to run:
strace ./proggy
ltrace ./proggy
gdb ./proggey
(r)
wait for your segmentation fault and type:
backtrace
this is the better way for view the point where segmentation fault happens,
when you are compiling, for enable gdb resolving symbol, you must add -ggdb
(for gcc 2.x) or -g3 (gcc 3.x)
> Can anyone shed any light on this?
sorry, I don't undestound what and why segfault, bye
More information about the Programming
mailing list