bohonghuang / cl-gtk4

GTK4/Libadwaita/WebKit2 bindings for Common Lisp.
GNU Lesser General Public License v3.0
216 stars 9 forks source link

Can't load the library #44

Closed Filipp-Druan closed 1 year ago

Filipp-Druan commented 1 year ago

Before I deleted the Lisp cache everything loaded and worked fine. After that I tried to load the library and it gave the following error:

CL-USER> (ql:quickload :cl-gtk4.sourceview/example)
To load "cl-gtk4.sourceview/example":
  Load 1 ASDF system:
    cl-gtk4.sourceview/example
; Loading "cl-gtk4.sourceview/example"
[package glib]

; file: /home/iam/quicklisp/dists/ultralisp/software/bohonghuang-cl-glib-20230831185201/glib/package.lisp
; in: GOBJECT-INTROSPECTION-WRAPPER:DEFINE-GIR-NAMESPACE "GLib"
;     (GOBJECT-INTROSPECTION-WRAPPER:DEFINE-GIR-NAMESPACE "GLib")
; 
; caught COMMON-LISP:ERROR:
;   (during macroexpansion of (GOBJECT-INTROSPECTION-WRAPPER:DEFINE-GIR-NAMESPACE "GLib"))
;   Unhandled memory fault at #x18.
; Debugger entered on #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {10057A03B3}>
bigos commented 1 year ago

Did you restart Lisp REPL after deleting the cache? When I get mysterious errors like this, I make sure I restart everything from a clean state. Even programming errors during your experiments may cause such errors. Restart EVERYTHING. Also, try to copy good examples of error reports. It is impossible to recreate your steps without a good error report.