[cells-gtk-devel] CMUCL sigsegv when starting saved cells-gtk image
Paolo Amoroso
amoroso at mclink.it
Sun Jul 10 19:40:41 UTC 2005
Paolo Amoroso <amoroso at mclink.it> writes:
> I am trying to run a dumped image containing a cells-gtk application,
> more specifically gtk-demo. When I start the dumped image, I get an
> error just after the splash screen.
I have done some progress. I realized that I didn't have
libcellsgtk.so properly compiled and installed. After doing that, the
global table includes the library:
* sys::*global-table*
((#.(SYSTEM:INT-SAP #x08074280) . "/usr/lib/libcellsgtk.so")
(#.(SYSTEM:INT-SAP #x08073B60) . "/usr/lib/libgtk-x11-2.0.so")
(#.(SYSTEM:INT-SAP #x08070300) . "/usr/lib/libgdk-x11-2.0.so")
(#.(SYSTEM:INT-SAP #x0806FBC8) . "/usr/lib/libgthread-2.0.so")
(#.(SYSTEM:INT-SAP #x0806F7B0) . "/usr/lib/libglib-2.0.so")
(#.(SYSTEM:INT-SAP #x0806F570) . "/usr/lib/libgobject-2.0.so")
(#.(SYSTEM:INT-SAP #x40014F90)))
This time, when I start the saved image, I get this different error:
paolo at plato:~/src/cells-gtk-2005-05-29$ cmucl -core cells-gtk-demo.core
Error in function RELOAD-GLOBAL-TABLE:
Couldn't open library "/usr/lib/libcellsgtk.so": NIL
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Skip remaining initializations.
Debug (type H for help)
(RELOAD-GLOBAL-TABLE)
Source:
; File: /home/paolo/src/cells-gtk-2005-05-29/reload-global-table.lisp
(ERROR "Couldn't open library ~S: ~S" LIB-PATH (SYSTEM::DLERROR))
0] backtrace
0: (RELOAD-GLOBAL-TABLE)
1: ((LABELS LISP::%RESTART-LISP
SAVE-LISP))
2: ((LABELS LISP::RESTART-LISP
SAVE-LISP))
0]
It looks like sys::dlopen in reload-global-table fails:
http://www.mail-archive.com/cmucl-help@cons.org/msg01289.html
When I do `make' in root/gtk-ffi, I get these messages:
paolo at plato:~/src/cells-gtk-2005-05-29/root/gtk-ffi$ make
gcc -c gtk-adds.c `pkg-config --cflags --libs gtk+-2.0`
gcc: --export-dynamic: linker input file unused because linking not done
gcc: -lgtk-x11-2.0: linker input file unused because linking not done
gcc: -lgdk-x11-2.0: linker input file unused because linking not done
gcc: -latk-1.0: linker input file unused because linking not done
gcc: -lgdk_pixbuf-2.0: linker input file unused because linking not done
gcc: -lm: linker input file unused because linking not done
gcc: -lpangoxft-1.0: linker input file unused because linking not done
gcc: -lpangox-1.0: linker input file unused because linking not done
gcc: -lpango-1.0: linker input file unused because linking not done
gcc: -lgobject-2.0: linker input file unused because linking not done
gcc: -lgmodule-2.0: linker input file unused because linking not done
gcc: -ldl: linker input file unused because linking not done
gcc: -lglib-2.0: linker input file unused because linking not done
gcc -shared -o libcellsgtk.so gtk-adds.o
Is this related?
Paolo
--
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log
More information about the cells-gtk-devel
mailing list