guicho271828 / trivia

Pattern Matcher Compatible with Optima
Other
332 stars 22 forks source link

Stack overflow when loading trivia in ABCL #61

Closed sjl closed 8 years ago

sjl commented 8 years ago

Trying to (ql:quickload 'trivia) in ABCL on OS X somehow manages to blow the stack:

https://gist.github.com/sjl/16fac0bdb422e1fd1cc485ffbce6a0d5

(adsf:load-system 'trivia :verbose t) doesn't give any addition useful information.

I've narrowed down the problem to docparser -- (ql:quickload 'docparser) is what's blowing up the stack. So I figured I could depend on trivia.level2 instead, which shouldn't require docparser. But for some reason (ql:quickload 'trivia.level2) still fails with the same problem even though it doesn't seem to be loading docparser (at least as far as I can tell from reading the .asd file).

I'm just gonna use optima for now, but I figured I'd file the issue just in case someone knows how to fix things.

PuercoPop commented 8 years ago

Which version of trivia are you trying to load? I can load trivia without issue on ABCL, (a SVN checkout of 19th of April of 2015).

CL-USER> (lisp-implementation-version)
"1.4.0-dev"
"Java_HotSpot(TM)_64-Bit_Server_VM-Oracle_Corporation-1.8.0_101-b13"
"amd64-Linux-4.4.0-38-generic"
CL-USER> 

Attempting to load trivia doesn't try to load trivia.docparser either. I couldn't load docparser due to to an ASDF-jar issue where it splits the http of a file reference and treats it as a file and attempts to truename it. But that is a separate issue.

Edit: Just to make sure I updated ABCL and tried again, couldn't reproduce against current trunk

sjl commented 8 years ago

Ah, I found the problem. I use Roswell to install all my other implementations, so they all share the same Quicklisp dists. But ABCL isn't in Roswell, so I had to install it separately, and it has its own quicklisp. So I needed to update the quicklisp dist for that one too to get the latest version. I can quickload it now that I've updated quicklisp. Thanks.

guicho271828 commented 8 years ago

abcl-bin is in roswell, which is used to automate Travis. See the Travis build. https://travis-ci.org/guicho271828/trivia