[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Patch callback thunkEntry to not optimize (#353)

Marcel Taeumel notifications at github.com
Sat May 1 10:24:51 UTC 2021


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 or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/353#issuecomment-830607945
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20210501/877c52cd/attachment.html>


More information about the Vm-dev mailing list