I am creating a library that has too much code to give here.
My problem is a segmentation error that Valgrind parses as:
Go to the wrong address indicated on the next line
on 0x72612F656D6F682F: ??? in [...] (call stack)
Thanks to this question , I assume that this is because I have somewhere in the stack corruption.
My question is: how to find it? I tried using GDB, but the segmentation error did not seem to be in the same place. GDB tell me that it is in the first line of the function, while Valgrind says that it is a call to this function that makes a segmentation error.
source share