Help with segfault - Programming On Unix

Users browsing this thread: 1 Guest(s)
z3bra
Grey Hair Nixers
strace ./yourprog
valgrind ./yourprog
gdb ./yourprog

Then send us the WHOLE output. A segfault occurs when some function tries to access a forbidden memory area. This is 90% of the time due to a NULL pointer being passed. In your case, I can't see were this could happen though.


Messages In This Thread
Help with segfault - by robotchaos - 27-07-2017, 06:57 PM
RE: Help with segfault - by xcko - 28-07-2017, 12:12 AM
RE: Help with segfault - by z3bra - 28-07-2017, 03:22 AM
RE: Help with segfault - by robotchaos - 28-07-2017, 01:02 PM
RE: Help with segfault - by z3bra - 28-07-2017, 01:25 PM
RE: Help with segfault - by pranomostro - 28-07-2017, 03:37 PM
RE: Help with segfault - by robotchaos - 28-07-2017, 05:00 PM
RE: Help with segfault - by z3bra - 28-07-2017, 05:52 PM
RE: Help with segfault - by robotchaos - 28-07-2017, 06:39 PM