Open alecStewart1 opened 2 years ago
Maybe this is a bit more helpful.
INFO: Control stack guard page unprotected
[1/3] System 'bodge-nuklear' found. Loading the system..Control stack guard page temporarily disabled: proceed with caution
Unhandled SB-KERNEL::CONTROL-STACK-EXHAUSTED in thread #<SB-THREAD:THREAD "main thread" RUNNING
{1001548183}>:
Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.
PROCEED WITH CAUTION.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1001548183}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-KERNEL::CONTROL-STACK-EXHAUSTED {10042DAD73}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<SB-KERNEL::CONTROL-STACK-EXHAUSTED {10042DAD73}>)
2: (INVOKE-DEBUGGER #<SB-KERNEL::CONTROL-STACK-EXHAUSTED {10042DAD73}>)
3: (ERROR SB-KERNEL::CONTROL-STACK-EXHAUSTED)
4: (SB-KERNEL::CONTROL-STACK-EXHAUSTED-ERROR)
5: ("foreign function: call_into_lisp")
6: ("foreign function: post_signal_tramp")
7: ("foreign function: #x7F502875043D")
Er...maybe. I don't think it'd be sane to try and function the foreign function #x7F502875043D
.
Can you load CFFI
only? Does it errors out in the same way?
(asdf:load-system :cffi)
I can in fact. The bit you gave returns T
.
Just as a comment, I was able to install it correctly. On Windows 10, SBCL 2.1.9
Still having issues. I'm using sbcl with roswell, would it have something to do with that? I image not, but I'm just spitballing at this point.
Still getting
INFO: Control stack guard page reprotected
INFO: Control stack guard page unprotected
Control stack guard page temporarily disabled: proceed with caution
debugger invoked on a SB-KERNEL::CONTROL-STACK-EXHAUSTED in thread
#<THREAD "main thread" RUNNING {1001BB0183}>:
Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.
PROCEED WITH CAUTION.
I really can't guess what is wrong here. Just in case, can you load bodge-nuklear
from bare SBCL
? Like, start SBCL from terminal directly and try quickloading from there. Also, what does (ql:where-is-system :bodge-nuklear)
report? Does (ql:update-all-dists)
help?
Apologies for just getting back to this. I'll check sometime later this week if I have any issues on newer versions of SBCL.
Having this problem for some time (year or two; Win10 / SBCL x64 2.2.x - 2.3.x via Roswell). Did not went away even after (unrelated) full Roswell(etc.) wipe and reinstall.
update-all-dists
doesn't help\Users\<username>\.roswell
EDIT: But quickloading :nuklear-blob went fine. Should I try to trace some package or something to see on what it loops ?
Yup, please, check if it works w/o roswell
being involved. I don't use roswell
and I don't explicitly maintain compatibility with it. But if you will be able to pinpoint the issue, depending on what it is, I might incorporate required fixes.
Ok, installing fresh quicklisp under SBCL 2.3.6 (compiled - but not executed - through Roswell), the following almost works:
* (ql-dist:install-dist "http://bodge.borodust.org/dist/org.borodust.bodge.txt")
...
* (ql:quickload '(nuklear-blob bodge-nuklear))
...
* (nuklear.example:run)
#<NUKLEAR.EXAMPLE::NUKLEAR-APP {1007FF00D3}>
* Assertion failed: atlas->font_num, file nuklear/nuklear.h, line 13741
What can I do to help debug Roswell -- my precioussss, glum :)
@Mr-Dispatch This new issue you've got is unrelated to claw
or roswell
. This is an assertion failing inside Nuklear native code. Nuklear is notoriously hard to debug - I suggest trying some other library. Maybe Shinmera's Alloy.
As for roswell
, I'm no help here, unfortunately. No idea what's up with it.
DUH it's unrelated, just wanted to share (thought maybe the *-blob package is outdated).
As for figuring out what's wrong under roswell, could you give me some clues as to how to try to debug it ? I thought maybe tracing quicklisp or some other package might give some insight. Sysinternals tools provide something like STRACE, but that's even more verbose and low-level a.f. (not much of a CL guru, I'm afraid :-/ )
EDIT: I'm creating Roswell issue for this, they should know best.
Hello, I was attempting to install your other package,
bodge-nuklear
and I ran into this interesting issue.It seems there's something in relation to claw. Or maybe CFFI.
I'm using SBCL, version 2.1.9.