#segmentationfault — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #segmentationfault, aggregated by home.social.
-
I generated a SIGSEGV for my #assembly program by typing
print (long long) 40($rsp)
in #gdbOk, I know I expected a #SegmentationFault near that point, and my code contains
mov 40(%rsp), %rax
but the SIGSEGV should be raised a few instructions after this movq, when dereferencing a derivative of this 40(%rsp) and at both points (this gdb print and the normal SIGSEGV point) the stack pointer looks ok.