[Ecls-list] Problem building from git

Jeronimo Pellegrini jpn at aleph0.info
Fri Jan 30 10:41:26 UTC 2009


On Fri, Jan 30, 2009 at 11:27:07AM +0100, gas wrote:
> Hi!
> You can produce some kind of backtrace using gdb.

I didn't think would work, since there was an error message from ECL (it
wasn't a plain crash). I tried and it actually works... Thanks!

Here's the backtrace, which seems very similar to yours:

gdb ./ecl_min 
GNU gdb 6.8-debian
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 "x86_64-linux-gnu"...
Breakpoint 1 at 0x43cdd0: file /home/jeronimo/pkg/ecl/src/c/num_sfun.d, line 566.
Breakpoint 2 at 0x431e40: file /home/jeronimo/pkg/ecl/src/c/error.d, line 293.
Breakpoint 3 at 0x4315f0: file /home/jeronimo/pkg/ecl/src/c/error.d, line 62.
Breakpoint 4 at 0x4316e0: file /home/jeronimo/pkg/ecl/src/c/error.d, line 50.
Breakpoint 5 at 0x432090: file /home/jeronimo/pkg/ecl/src/c/error.d, line 154.
Breakpoint 6 at 0x432060: file /home/jeronimo/pkg/ecl/src/c/error.d, line 160.
Breakpoint 7 at 0x4320c0: file /home/jeronimo/pkg/ecl/src/c/error.d, line 148.
Breakpoint 8 at 0x432110: file /home/jeronimo/pkg/ecl/src/c/error.d, line 204.
Function "error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal]
(gdb) run compile
[Thread debugging using libthread_db enabled]
;*** Lisp core booted ****
ECL (Embeddable Common Lisp)
[New Thread 0x7f7d6a4216e0 (LWP 16731)]
[Switching to Thread 0x7f7d6a4216e0 (LWP 16731)]

Breakpoint 2, cl_error (narg=9, eformat=0x68cf10) at /home/jeronimo/pkg/ecl/src/c/error.d:293
293	@
(gdb) backtrace
#0  cl_error (narg=9, eformat=0x68cf10) at /home/jeronimo/pkg/ecl/src/c/error.d:293
#1  0x0000000000421926 in not_a_binary_stream (s=<value optimized out>) at /home/jeronimo/pkg/ecl/src/c/file.d:4547
#2  0x0000000000421448 in generic_write_vector (strm=0x715a00, data=0x840d48, start=1, end=4) at /home/jeronimo/pkg/ecl/src/c/file.d:529
#3  0x0000000000421ebb in si_do_write_sequence (seq=0x840d48, stream=0x715a00, s=0x3, e=<value optimized out>) at /home/jeronimo/pkg/ecl/src/c/file.d:3903
#4  0x000000000044fe60 in ecl_namestring (x=0x6c0818, truncate_if_unreadable=1) at /home/jeronimo/pkg/ecl/src/c/pathname.d:929
#5  0x00000000004502a2 in cl_namestring (x=0x9) at /home/jeronimo/pkg/ecl/src/c/pathname.d:1004
#6  0x0000000000451352 in si_coerce_to_filename (pathname_orig=0x6c0850) at /home/jeronimo/pkg/ecl/src/c/pathname.d:798
#7  0x0000000000452cbb in si_file_kind (filename=0x9, follow_links=0x68cf10) at /home/jeronimo/pkg/ecl/src/c/unixfsys.d:194
#8  0x000000000045212e in cl_load (narg=<value optimized out>, source=0x6c0888) at /home/jeronimo/pkg/ecl/src/c/load.d:522
#9  0x0000000000404ec0 in si_simple_toplevel () at /home/jeronimo/pkg/ecl/src/c/cinit.d:92
#10 0x0000000000410a7c in cl_funcall (narg=1, function=0x6913e0) at /home/jeronimo/pkg/ecl/src/c/eval.d:204
#11 0x0000000000404dd6 in main (argc=<value optimized out>, args=<value optimized out>) at /home/jeronimo/pkg/ecl/src/c/cinit.d:127


More information about the ecl-devel mailing list