[Ecls-list] cl_boot

Rick Taube taube at uiuc.edu
Sun Feb 18 15:29:12 UTC 2007


disregarding the ecl-test hang, if i start my system in ecl from the  
shell all seems well. however, when i try to start ecl from the  
actual C app using
	  cl_boot(1,&interpreter);
it crashes in cl_boot at read_VV with this stack trace.
any idea as to where I might look to determine the problem? this  
works fine in an earlier cvs version of ecl
thanks for any info
--rick

(gdb) run
Starting program: /Lisp/fluid/build/Debug/fluid.app/Contents/MacOS/fluid
Reading symbols for shared  
libraries .............................................................. 
.........+ done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0xf0081000
[Switching to process 2420 thread 0x4a03]
0x003ca058 in _ecl_compute_method (narg=1, gf=0x647cf78,  
args=0x607d05c) at /usr/local/src/ecl/src/c/gfun.d:206
206     {
(gdb) where
#0  0x003ca058 in _ecl_compute_method (narg=1, gf=0x647cf78,  
args=0x607d05c) at /usr/local/src/ecl/src/c/gfun.d:206
#1  0x003c65c8 in _ecl_link_call (sym=0x42576c, pLK=0x428e0c,  
cblock=0x6170dc8, narg=1, args=0xf00c1128) at /usr/local/src/ecl/src/ 
c/eval.d:158
#2  0x00318fa8 in LKF1class_name (narg=1) at /usr/local/src/ecl/build/ 
lsp/predlib.c:3204
#3  0x00316cb4 in L53register_class (V1=0x6461258) at /usr/local/src/ 
ecl/build/lsp/predlib.c:2031
#4  0x00318994 in L69canonical_type (V1=0x6461258) at /usr/local/src/ 
ecl/build/lsp/predlib.c:3095
#5  0x00318ab4 in L70safe_canonical_type (V1=0x6461258) at /usr/local/ 
src/ecl/build/lsp/predlib.c:3128
#6  0x00318b30 in L71fast_subtypep (V1=0x6461258, V2=0x6461270) at / 
usr/local/src/ecl/build/lsp/predlib.c:3149
#7  0x00318cdc in cl_subtypep (narg=102268512, V1=0x6461258,  
V2=0x6461270) at /usr/local/src/ecl/build/lsp/predlib.c:3195
#8  0x00368470 in L41compare_specializers (V1=0x6461258,  
V2=0x6461270, V3=0x607d05c) at /usr/local/src/ecl/build/clos/kernel.c: 
996
#9  0x00368284 in L40compare_specializers_lists (V1=0x6480f80,  
V2=0x6480740, V3=0x64874d0) at /usr/local/src/ecl/build/clos/kernel.c: 
919
#10 0x00368200 in L39compare_methods (V1=0xfffbff80, V2=0x6480f80,  
V3=0x64874d0, V4=0x42000c) at /usr/local/src/ecl/build/clos/kernel.c:899
#11 0x003680d4 in L38compute_applicable_methods (V1=0x647c9a8,  
V2=0x42000c) at /usr/local/src/ecl/build/clos/kernel.c:839
#12 0x003c67bc in cl_funcall (narg=105225240, function=0x42579c) at / 
usr/local/src/ecl/src/c/eval.d:220
#13 0x003ca1a8 in _ecl_compute_method (narg=7, gf=0x647c9a8,  
args=0x607d038) at /usr/local/src/ecl/src/c/gfun.d:188
#14 0x00399f10 in interpret_funcall (narg=7, fun=0x647c9a8) at /usr/ 
local/src/ecl/src/c/interpreter.d:397
#15 0x0039b84c in cl_apply (narg=1, fun=0x647c9a8, lastarg=0x42000c)  
at /usr/local/src/ecl/src/c/interpreter.d:438
#16 0x0037fe80 in LC6make_instance (narg=105418592, V1=0x6461270) at / 
usr/local/src/ecl/build/clos/standard.c:209
#17 0x00399e54 in interpret_funcall (narg=7, fun=0x647c888) at /usr/ 
local/src/ecl/src/c/interpreter.d:383
#18 0x0039b84c in cl_apply (narg=0, fun=0x647c888, lastarg=0x42000c)  
at /usr/local/src/ecl/src/c/interpreter.d:438
#19 0x0032c818 in LC2__g7962 (narg=1, env0=0x6486060) at /usr/local/ 
src/ecl/build/clos/combin.c:101
#20 0x003d6a1c in APPLY_closure (n=101306360, fn=0x32c798  
<LC2__g7962>, cl=0x6486060, x=0x3ca030) at /usr/local/src/ecl/src/c/ 
apply.d:355
#21 0x003c6800 in cl_funcall (narg=105365672, function=0x647c870) at / 
usr/local/src/ecl/src/c/eval.d:227
#22 0x00338a34 in init_ECL_BUILTIN (flag=0x1) at /usr/local/src/ecl/ 
build/clos/builtin.c:392
#23 0x003adba4 in read_VV (block=0x61706c8, entry_point=0x338950  
<init_ECL_BUILTIN>) at /usr/local/src/ecl/src/c/read.d:2120
#24 0x00308054 in init_lib_LSP (cblock=0x1) at /usr/local/src/ecl/ 
build/ECLINIT6vqeLg.c:119
#25 0x003adba4 in read_VV (block=0x6170f88, entry_point=0x307cbc  
<init_lib_LSP>) at /usr/local/src/ecl/src/c/read.d:2120
#26 0x00306fa4 in cl_boot (argc=1, argv=0x647cf78) at /usr/local/src/ 
ecl/src/c/main.d:491
#27 0x000067f4 in ECLThread::run (this=0x18e4200) at /Lisp/fluid/src/ 
fluid_ECLThread.cpp:75
#28 0x000260cc in juce::Thread::threadEntryPoint () at ../io/ 
files/../../text/../containers/juce_Array.h:211
#29 0x0002a004 in juce::threadEntryProc () at ../io/files/../../ 
text/../containers/juce_Array.h:211
#30 0x9002b508 in _pthread_body ()
Current language:  auto; currently c
(gdb)




More information about the ecl-devel mailing list