qsort still SEGFAULTs for me when compiled via Cygwin with gcc-Version 10.2.0 (GCC)
in production mode (./mvm -f
). :-(
When trying to qsort a list of 10 floats, the first callback is fine but the second callback has a different address for the callback context -- which should not happen -- and shows bogus values for the stack arguments. Maybe it is related to some sort of stack optimization?
Works fine with DEBUG build, does also SEGFAULT with ASSERT build.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.