Open bshetty opened 1 year ago
Exception c0000005
is a memory access violation, which is hard to pin down without a debugger showing a stack trace. If you're using Cygwin, try running gdb wx86cl64.exe
to pin down where the access violation occurs.
The clozure kernel debugger does not give the X option in this case so debugging with gdb is not possible.
the call to Bug is triggered at the function resume_tcr(TCR *tcr) in thread_manager.cas below:
if (context) {
if (tcr->valence == TCR_STATE_LISP) {
rc = SetThreadContext(hthread,context);
if (! rc) {
Bug(NULL,"SetThreadContext");
return false;
}
}
This code is not run everytime resume_tcr is invoked. However as far I have observed it bugs out every time this runs. Commenting out the check lets ccl continue. However I think there is a need for this check as per Andys comment. I do not face the need.
This is on windows 10 and ccl-1.12.1-windowsx86 and the symptoms are the same everytime.
When i start slime in emacs with M-x slime it freezes saying "Connecting to Swank on port 1667.." if I Press C-g the inferior lisp window shows
The only option is to now enter K and get out.
If I start wx86cl64.exd on command line and use M-x slime-connect i get this error right away
starting wx86cl64.exe on cmd line works mostly. Here I have to edit file in emacs and load it on lisp session to run anything. All the fancy features of slime is gone ...
This is the strace from cygwin: