From: Daniel B. <da...@te...> - 2001-05-30 17:38:08
|
I think we may be suffering from libc breakage. Since I upgraded to the latest debian unstable my previously compiled sbcl binaries are failing run-program.test.sh with a segmentation fault; it appears to be related to the alien variable sb-impl::envirion * (in-package :sb-impl) #<PACKAGE "SB-IMPL"> * (c-strings->string-list environ) ("PWD=/home/dan/src/sourceforge/sbcl" "XAUTHORITY=/home/dan/.Xauthority" [...] ... but ... * (posix-environ) debugger invoked on condition of type SIMPLE-ERROR: segmentation violation at #X10453F6 [...] 0] frame 6 (C-STRINGS->STRING-LIST #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X40128648>) 6] environ #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #XBFFFFB88> whatever is being passed to C-STRINGS->STRING-LIST is not the same thing as SB-IMPL:POSIX-ENVIRON Rerunning make-target-2.sh fixes it. Anyone (Peter?) want to work out how we can make binaries that don't break this way? My guess would be that (def-alien-variable "thing from a shared library") shouldn't be allowed into code that's going to be dumped into a new core. -dan -- http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources |