Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load iup-controls from SBCL #59

Open
eid-setf opened this issue Apr 26, 2023 · 0 comments
Open

Can't load iup-controls from SBCL #59

eid-setf opened this issue Apr 26, 2023 · 0 comments

Comments

@eid-setf
Copy link

Hello! I really appreciate your work and really like the bindings so far. But I have a problem:

I use Windows and SBCL 2.3.1, and the IUP bindings work well but when trying to load iup-controls SBCL gives an error:

* (ql:quickload :iup-controls)
To load "iup-controls":
  Load 1 ASDF system:
    iup-controls
; Loading "iup-controls"
[package iup-controls]INFO: Caught stack overflow exception (sp=0x0000000000411fa0); proceed with caution.

debugger invoked on a SB-KERNEL::CONTROL-STACK-EXHAUSTED in thread
#<THREAD "main thread" RUNNING {1007868113}>:
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.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Retry
                                     compiling #<CL-SOURCE-FILE "iup-controls" "controls">.
  1: [ACCEPT                       ] Continue, treating
                                     compiling #<CL-SOURCE-FILE "iup-controls" "controls">
                                     as having been successful.
  2:                                 Retry ASDF operation.
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  4:                                 Retry ASDF operation.
  5:                                 Retry ASDF operation after resetting the
                                     configuration.
  6: [ABORT                        ] Give up on "iup-controls"
  7: [REGISTER-LOCAL-PROJECTS      ] Register local projects and try again.
  8:                                 Exit debugger, returning to top level.

(SB-INT:HASHSET-FIND #<SB-IMPL::ROBINHOOD-HASHSET SB-INT:LIST-ELTS-EQ 1595/8192 keys, psl=8 {1000133483}> (#<SB-KERNEL:NAMED-TYPE T>))

Note that iup-controls works on CCL, and loading any IUP package (in SBCL) works e.g. iup-gl, iup-imglib, iup-scintilla.

Also note that I tried different --dynamic-space-size arguments ranging from 2048 to 8192 and I tried SBCL version 2.3.0 and 2.3.2 but to no avail.

Thanks for reading!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant