Ticket #1123 (new defect)
win64 threads crash
|Reported by:||vi1||Owned by:|
|Component:||Runtime (threads, GC)||Version:||trunk|
I've been trying to create simple reproducer for a long time for the problem in my win64 opengl program that shows up regularly.
Finally got some code that crashes certainly and almost immediately, at least on my Windows 7 machine.
As it turned out, to reproduce this problem it's better to have no locks (neither data sharing) and create two threads consing data, one conses in lisp function, the other conses in lisp callback function that C function calls asynchronously.
Hope that little cffi use is not a problem.
CCL was built from trunk using fresh cygwin's mingw gcc 4.8.1.
libfoo is compiled as follows:
gcc -shared -o libfoo.dll -fPIC libfoo.c