[Ecls-list] [PATCH RESEND] Fix the value of the print-function depth parameter in defstruct.
Alexander Gavrilov
angavrilov at gmail.com
Wed Oct 7 07:34:54 UTC 2009
> 2009/10/6 Alexander Gavrilov <angavrilov at gmail.com>:
> > After updating to the current version I noticed that :continue
> > does not work anymore after stopping with Ctrl-C. The program
> > hangs, and the next Ctrl-C kills it completely. Also, if I
> > start with -norc and immediately press Ctrl-C, it segfaults
> > after printing "suspending process TOP-LEVEL".
>
> What configuration flags? Which platform?
Fedora 11, x86_64, flags: --enable-threads --enable-unicode
This is how it crashes:
Core was generated by `ecl -norc'.
Program terminated with signal 11, Segmentation fault.
#0 output_file_write_byte8 (strm=<value optimized out>, c=0x1c79270 "\n", n=1) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:2572
2572 ecl_disable_interrupts();
(gdb) bt
#0 output_file_write_byte8 (strm=<value optimized out>, c=0x1c79270 "\n", n=1) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:2572
#1 0x00007f1d4218c02b in eformat_write_char (strm=0x1c82a00, c=10) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:604
#2 0x00007f1d4218ed58 in writestr_stream (
s=0x7f1d4221a9b1 ";;;\n;;; Detected access to protected memory, also kwown as 'segmentation fault'.\n;;; Jumping to the outermost toplevel prompt\n;;;\n\n", strm=0x1c82a00) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:4094
#3 0x00007f1d421c33d7 in jump_to_sigsegv_handler (the_env=0x7f1d42580000, message=0x2 <Address 0x2 out of bounds>)
at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/unixint.d:265
#4 <signal handler called>
#5 output_file_write_byte8 (strm=<value optimized out>, c=0x1c79550 "\n", n=1) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:2572
#6 0x00007f1d4218c02b in eformat_write_char (strm=0x1c82a00, c=10) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:604
#7 0x00007f1d4218ed58 in writestr_stream (
s=0x7f1d4221a9b1 ";;;\n;;; Detected access to protected memory, also kwown as 'segmentation fault'.\n;;; Jumping to the outermost toplevel prompt\n;;;\n\n", strm=0x1c82a00) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:4094
#8 0x00007f1d421c33d7 in jump_to_sigsegv_handler (the_env=0x7f1d42580000, message=0x2 <Address 0x2 out of bounds>)
at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/unixint.d:265
#9 <signal handler called>
#10 output_file_write_byte8 (strm=<value optimized out>, c=0x1c79830 "\n", n=1) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:2572
#11 0x00007f1d4218c02b in eformat_write_char (strm=0x1c82a00, c=10) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:604
#12 0x00007f1d4218ed58 in writestr_stream (
s=0x7f1d4221a9b1 ";;;\n;;; Detected access to protected memory, also kwown as 'segmentation fault'.\n;;; Jumping to the outermost toplevel prompt\n;;;\n\n", strm=0x1c82a00) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:4094
#13 0x00007f1d421c33d7 in jump_to_sigsegv_handler (the_env=0x7f1d42580000, message=0x2 <Address 0x2 out of bounds>)
at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/unixint.d:265
#14 <signal handler called>
#15 output_file_write_byte8 (strm=<value optimized out>, c=0x1c79b10 "\n", n=1) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:2572
#16 0x00007f1d4218c02b in eformat_write_char (strm=0x1c82a00, c=10) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:604
#17 0x00007f1d4218ed58 in writestr_stream (
s=0x7f1d4221a9b1 ";;;\n;;; Detected access to protected memory, also kwown as 'segmentation fault'.\n;;; Jumping to the outermost toplevel prompt\n;;;\n\n", strm=0x1c82a00) at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/file.d:4094
#18 0x00007f1d421c33d7 in jump_to_sigsegv_handler (the_env=0x7f1d42580000, message=0x2 <Address 0x2 out of bounds>)
at /home/sasha/SysAdm/ProgramAdm/ecl/src/c/unixint.d:265
#19 <signal handler called>
...
Alexander
More information about the ecl-devel
mailing list