freenode/#ecl - IRC Chatlog
Search
10:35:24
thijso
In ECL c code I see a ton of cl_object's. What exactly are they? structs of some kind? I haven't been able to find any declarations for them. Is there anything I can print out about them using printf?
10:43:39
jackdaniel
also you may be interested in this hack: https://gitlab.common-lisp.net/ecl/ecrepl/blob/master/printx.lisp
12:46:27
thijso
Okay, so I'm getting a segfault in `ini_app` which is my own entrypoint. This is what I get out of gdb: https://0x0.st/zx4i.log
12:46:53
thijso
Anybody able to look at that and maybe nudge me in the right direction to figure out what is going on?
12:47:37
thijso
I get there from here: Thread 12 "qtMainLoopThrea" received signal SIGSEGV, Segmentation fault.
12:47:40
thijso
0x0000007f5ea79650 in ecl_unwind (env=0x7f7ea06000, fr=0x5587234000) at /opt/ecl/src/c/stacks.d:577
12:49:33
thijso
This is an android app build with EQL5-Android. I have a version that works. It starts up, shows me some output. If I then add in my own code it segfaults, while that code running on bare ECL has no issues.
16:06:37
thijso
So, I just found out that I can (through a builtin slime and quicklisp in the app) load my code fine, just by doing a (ql:quickload :myapp)
16:07:06
thijso
Everything seems to work, too, so I'm not sure why the other route fails with a SEGFAULT