[Ecls-list] Latest changes
Stelian Ionescu
sionescu at common-lisp.net
Mon May 12 14:10:20 UTC 2008
On Fri, May 09, 2008 at 12:56:57PM +0200, Juan Jose Garcia-Ripoll wrote:
>Tag: (CVS 2008-05-09 09:55)
>
>- Merged in all the changes from the sealed_slot branch (see previous emails)
>
>- CHECK-TYPE is now "cheaper": it produces smaller code, has an
>auxiliary function for signalling errors, and uses the optimizations
>from TYPEP to speed up type checks.
I've just built ECL and I'm getting regular crashes which I narrowed
down to this commit.
The build machine is a Linux/x86 with glibc 2.7 and gcc 4.1.2, and I
used this configuration:
--prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-system-gmp --enable-boehm=system
--enable-c99-complex --enable-asmapply --enable-smallcons --without-cxx
--enable-threads --with-__thread --enable-unicode --without-x
--without-clx --build=i686-pc-linux-gnu
A typical crash:
$ gdb ecl
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) set args -norc
(gdb) run
Starting program: /usr/bin/ecl -norc
[Thread debugging using libthread_db enabled]
ECL (Embeddable Common-Lisp) 0.9j-2008-05-12
Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya
Copyright (C) 1993 Giuseppe Attardi
Copyright (C) 2000 Juan J. Garcia-Ripoll
ECL is free software, and you are welcome to redistribute it
under certain conditions; see file 'Copyright' for details.
Type :h for Help. Top level.
> (require :asdf)
;;; Loading #P"/usr/lib/ecl/asdf.fas"
[New Thread 0xa7c1f8e0 (LWP 277883)]
;;; Loading #P"/usr/lib/ecl/cmp.fas"
;;; Loading #P"/usr/lib/ecl/sysfun.lsp"
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa7c1f8e0 (LWP 277883)]
0xa7f008f4 in cl_class_of (x=0x20224644) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/ecl/object.h:713
713 /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/ecl/object.h: No such file or directory.
in /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/ecl/object.h
(gdb) where
#0 0xa7f008f4 in cl_class_of (x=0x20224644) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/ecl/object.h:713
#1 0xa7ebf62b in L40compute_applicable_methods (V1=0x80c9558, V2=0x8ea24b9) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/kernel.c:793
#2 0xa7f362cd in APPLY_fixed (n=135853360, fn=0x8129064, x=0xafe28658) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:48
#3 0xa7ef8270 in ecl_apply_from_stack_frame (frame=0x2, x=0xa7ebf4f1) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:78
#4 0xa7ef8270 in ecl_apply_from_stack_frame (frame=0xafe28680, x=0xa7f658d0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:78
#5 0xa7ef834a in cl_funcall (narg=3, function=0xa7f658d0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:215
#6 0xa7f017bd in compute_applicable_method (frame=0xafe28794, gf=0x80c9558) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/gfun.d:320
#7 0xa7f01a83 in _ecl_standard_dispatch (frame=0xafe28794, gf=0x80c9558) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/gfun.d:358
#8 0xa7ef82b7 in ecl_apply_from_stack_frame (frame=0xafe28794, x=0x80c9558) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:89
#9 0xa7ef8602 in cl_apply (narg=1, fun=0x80c9558, lastarg=0x1) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:256
#10 0xa7ecaa8d in LC6__g17423 (narg=5, V1=0x8ba54e0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/standard.c:245
#11 0xa7f36283 in APPLY (n=135852192, fn=0x812902c, x=0xafe28878) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:23
#12 0xa7ef82d2 in ecl_apply_from_stack_frame (frame=0x5, x=0xa7eca78b) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:81
#13 0xa7ef82d2 in ecl_apply_from_stack_frame (frame=0xafe28af4, x=0x818f0a0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:81
#14 0xa7ef867f in cl_apply (narg=<value optimized out>, fun=0x818f0a0, lastarg=0xafe28af4) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:228
#15 0xa7ec3b91 in LC2__g16987 (narg=2, env0=0x8a6d3a9, V1=0xafe28af4, V2=0x1) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/combin.c:111
#16 0xa7f3631a in APPLY_closure (n=144999120, fn=0x8129048, cl=0xafe28958, x=0xa7ef823f) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:72
#17 0xa7ef823f in ecl_apply_from_stack_frame (frame=0x2, x=0xa7ec3b18) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:83
#18 0xa7ef823f in ecl_apply_from_stack_frame (frame=0xafe28980, x=0x8a482d0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:83
#19 0xa7ef834a in cl_funcall (narg=3, function=0x8a482d0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:215
#20 0xa7ec2a94 in LC4__g16988 (narg=2, env0=0x8a6d391, V1=0xafe28af4, V2=0x1) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/combin.c:138
#21 0xa7f3631a in APPLY_closure (n=144999104, fn=0x8129040, cl=0xafe28a28, x=0xa7ef823f) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:72
#22 0xa7ef823f in ecl_apply_from_stack_frame (frame=0x2, x=0xa7ec2a3e) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:83
#23 0xa7ef823f in ecl_apply_from_stack_frame (frame=0xafe28a70, x=0x8a482c0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:83
#24 0xa7f0196b in _ecl_standard_dispatch (frame=0xafe28af4, gf=0x80c9480) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/gfun.d:372
#25 0xa7ef82b7 in ecl_apply_from_stack_frame (frame=0xafe28af4, x=0x80c9480) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:89
#26 0xa7ef8602 in cl_apply (narg=1, fun=0x80c9480, lastarg=0x1) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:256
#27 0xa7eec363 in L29make_condition (narg=5, V1=0xa7f652a0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/conditions.c:1290
#28 0xa7f36283 in APPLY (n=146242688, fn=0x8129018, x=0xafe28bd8) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:23
#29 0xa7ef82d2 in ecl_apply_from_stack_frame (frame=0x5, x=0xa7eec1d7) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:81
#30 0xa7ef82d2 in ecl_apply_from_stack_frame (frame=0xafe28c14, x=0x8b77c80) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:81
#31 0xa7ef8602 in cl_apply (narg=1, fun=0x8b77c80, lastarg=0x1) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:256
#32 0xa7eec4ae in L33coerce_to_condition (V1=0xa7f652a0, V2=0x8ea26b1, V3=0xa7f64940, V4=0xa7f620a8) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/conditions.c:1445
#33 0xa7eee610 in L11universal_error_handler (V1=0x1, V2=0xa7f652a0, V3=0x8ea26b1) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/conditions.c:13
#34 0xa7f362cd in APPLY_fixed (n=146243104, fn=0x812900c, x=0xafe28d98) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:48
#35 0xa7ef8270 in ecl_apply_from_stack_frame (frame=0x3, x=0xa7eee58d) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:78
#36 0xa7ef8270 in ecl_apply_from_stack_frame (frame=0xafe28dc0, x=0xa7f66c20) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:78
#37 0xa7ef834a in cl_funcall (narg=4, function=0xa7f66c20) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:215
#38 0xa7f13646 in cl_error (narg=5, eformat=0xa7f652a0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/error.d:298
#39 0xa7f138c5 in FEwrong_type_argument (type=0xa7f615e0, value=0x20224644) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/error.d:155
#40 0xa7f16d7d in FEtype_error_character (x=0x20224644) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/typespec.d:22
#41 0xa7f02887 in ecl_char_code (c=0x8) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/character.d:29
#42 0xa7f08536 in si_do_write_sequence (seq=0x8e9b708, stream=0x80ebf00, s=0x3, e=0x3b) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/file.d:1520
#43 0xa7f10a5f in cl_write_string (narg=4, strng=0x8e9b708) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/print.d:1864
#44 0xa7ee5bbe in si_pprint_logical_block_helper (narg=6, V1=0x8e6d590, V2=0x8ea2e21, V3=0x80ebf00, V4=0x8b47e28, V5=0x1, V6=0x8b47e10)
at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/pprint.c:2076
#45 0xa7ee9cd1 in cl_pprint_fill (narg=2, V1=0x80ebf00, V2=0x8ea2e21) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/clos/pprint.c:2815
#46 0xa7f36283 in APPLY (n=134883264, fn=0x8129004, x=0xafe29028) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:23
#47 0xa7ef82d2 in ecl_apply_from_stack_frame (frame=0x2, x=0xa7ee9be2) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:81
#48 0xa7ef82d2 in ecl_apply_from_stack_frame (frame=0xafe29050, x=0x80a27c0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:81
#49 0xa7ef834a in cl_funcall (narg=3, function=0x80a27c0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:215
---Type <return> to continue, or q <return> to quit---
#50 0xa7f11d5c in si_write_object (x=0x8ea2e21, stream=0x80ebf00) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/print.d:1599
#51 0xa7f120bd in ecl_prin1 (obj=0x8ea2e21, strm=0x80ebf00) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/print.d:1958
#52 0xa7ebad4e in L10tpl_print (V1=0x8ea2e11) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/lsp/top.c:487
#53 0xa7ebbcc2 in L3tpl (narg=0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/lsp/top.c:158
#54 0xa7ebc4b3 in L1top_level () at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/lsp/top.c:40
#55 0xa7f362cd in APPLY_fixed (n=135855056, fn=0x8129004, x=0xafe29218) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/arch/apply_x86.d:48
#56 0xa7ef8270 in ecl_apply_from_stack_frame (frame=0x0, x=0xa7ebc23d) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:78
#57 0xa7ef8270 in ecl_apply_from_stack_frame (frame=0xafe29240, x=0xa7f66c08) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/eval.d:78
#58 0xa7ef8a5a in interpret_funcall (narg=0, fun=0xa7f66c08) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/interpreter.d:466
#59 0xa7ef9560 in ecl_interpret (bytecodes=0x8bce0f0, pc=0x8b522d8) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/interpreter.d:694
#60 0xa7efd3d7 in si_eval_with_env (narg=2, form=0x8bed901) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/src/c/compiler.d:2574
#61 0xa7ebb739 in si_safe_eval (narg=3, V1=0x8bed901, V2=0x1, V3=0x0) at /var/tmp/paludis/dev-lisp-ecls-9999/work/ecl/build/lsp/top.c:1985
#62 0x080487ce in main (argc=1, argv=0x806cd20) at /var/tmp/paludis/dev-lisp-ecls-9999/temp/ECLINITKk8ax7.c:55
(gdb)
--
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080512/5e70ba51/attachment.sig>
More information about the ecl-devel
mailing list