Memmove causing program crashes, giving SIGTRAP in GDB(?)
matthew patton
pattonme@yahoo.com
Fri Feb 27 22:17:14 GMT 2026
do what I suggested in my earlier post.
2 copies of the datastructure A and B. you only need to malloc them once at the beginning and also since only one thread manipulates the data, right?
When you're in a situation where you need to 'slide' the data to the right, just memcpy from the current to the new and offset by the sizeof_int16_t). No janky hanky panky and can't possibly have CPU or OS side-effects.
More information about the Cygwin
mailing list