[Ecls-list] Changes in unstable new_signals
David Brown
lisp at davidb.org
Fri Oct 24 05:11:29 UTC 2008
On Thu, Oct 23, 2008 at 12:25:20PM +0200, Juan Jose Garcia-Ripoll wrote:
>> Will this have any effect on the problems with writes clobbering reads on
>> CLX (at least this is what I think the problem is) ?
>
>I was not aware of this problem. I saw another report on problems with
>binary I/O in sockets, but I am still missing something I can
>reproduce. If you have some code, even if it requires interaction,
>please send it by private email and I will try to debug it.
I have not been able to figure out what is happening yet, just that
something isn't working.
I've tried the tip of 'new-signals' and can't even get it to
bootstrap. It prints out quite a few warnings like:
/home/davidb/wd/lisp/ecl/src/c/file.d:1784: warning: cast from pointer
to integer of different size
which looks like you might be assuming that 'int' is the same size as
a pointer, which it is not in x86_64.
If I break in the debugger in bootstrap, and it appears to be just
about to print "Internal or unrecoverable error in:
Lisp initialization error."
I can poke further if you have any other ideas.
(gdb) r compile
[Thread debugging using libthread_db enabled]
[New Thread 0x7f0c7b8246f0 (LWP 2394)]
;*** Lisp core booted ****
ECL (Embeddable Common Lisp)
[Switching to Thread 0x7f0c7b8246f0 (LWP 2394)]
Breakpoint 2, cl_error (narg=9, eformat=0x68f790) at /home/davidb/wd/lisp/ecl/src/c/error.d:289
289 @
(gdb) bt
#0 cl_error (narg=9, eformat=0x68f790) at /home/davidb/wd/lisp/ecl/src/c/error.d:289
#1 0x0000000000437cd8 in fixnnint (x=0x1a2) at /home/davidb/wd/lisp/ecl/src/c/number.d:62
#2 0x00000000004233e3 in ecl_write_byte (c=0x1a2, strm=0x6c4120) at /home/davidb/wd/lisp/ecl/src/c/file.d:2734
#3 0x0000000000423619 in generic_write_vector (strm=0x6c4120, data=0x84e460, start=1, end=4)
at /home/davidb/wd/lisp/ecl/src/c/file.d:432
#4 0x00000000004234ca in si_do_write_sequence (seq=0x84e460, stream=0x6c4120, s=0x3, e=0x1)
at /home/davidb/wd/lisp/ecl/src/c/file.d:2926
#5 0x000000000044f65c in ecl_namestring (x=0x846e70, truncate_if_unreadable=1)
at /home/davidb/wd/lisp/ecl/src/c/pathname.d:924
#6 0x000000000044fb69 in cl_namestring (x=0x846e70) at /home/davidb/wd/lisp/ecl/src/c/pathname.d:999
#7 0x0000000000450b51 in si_coerce_to_filename (pathname_orig=0x846ea8)
at /home/davidb/wd/lisp/ecl/src/c/pathname.d:795
#8 0x0000000000452470 in si_file_kind (filename=0x9, follow_links=0x68f790)
at /home/davidb/wd/lisp/ecl/src/c/unixfsys.d:194
#9 0x0000000000452068 in cl_load (narg=<value optimized out>, source=0x846ee0)
at /home/davidb/wd/lisp/ecl/src/c/load.d:513
#10 0x0000000000405a40 in si_simple_toplevel () at /home/davidb/wd/lisp/ecl/src/c/cinit.d:92
#11 0x00000000004114fd in cl_funcall (narg=<value optimized out>, function=0x693c30)
at /home/davidb/wd/lisp/ecl/src/c/eval.d:204
#12 0x0000000000405956 in main (argc=<value optimized out>, args=<value optimized out>)
at /home/davidb/wd/lisp/ecl/src/c/cinit.d:127
More information about the ecl-devel
mailing list