From: <don...@is...> - 2012-05-11 17:45:18
|
I see some core files sitting around. The file command shows, e.g., /home/jack/data2012/core.29192: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from '/usr/lib/clisp-2.49/base/lisp.run -B /usr/lib/clisp-2.49 -M /usr/lib/clisp-2.49' Is there some way to use the lisp debugger to see what was going on? So far I'm up to here: $ gdb /usr/lib/clisp-2.49/base/lisp.run /home/jack/data2012/core.29192 GNU gdb (GDB) Fedora (7.3.50.20110722-13.fc16) Copyright (C) 2011 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-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/lib/clisp-2.49/base/lisp.run...Reading symbols from /usr/lib/debug/usr/lib/clisp-2.49/base/lisp.run.debug...done. done. [New LWP 29192] Core was generated by `/usr/lib/clisp-2.49/base/lisp.run -B /usr/lib/clisp-2.49 -M /usr/lib/clisp-2.49'. Program terminated with signal 6, Aborted. #0 0x00ce1416 in __kernel_vsyscall () Missing separate debuginfos, use: debuginfo-install nss-myhostname-0.3-1.fc16.i686 nss-softokn-freebl-3.13.4-1.fc16.i686 (gdb) bt #0 0x00ce1416 in __kernel_vsyscall () #1 0x4808a98f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x4808c2d5 in __GI_abort () at abort.c:91 #3 0x480cb02a in __libc_message (do_abort=2, fmt=0x481c594c "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198 #4 0x480d1f12 in malloc_printerr (action=<optimized out>, str=<optimized out>, ptr=0x914d010) at malloc.c:5021 #5 0x080757ed in free_argv_actions (p=0x8240580) at ../src/spvw.d:2844 #6 quit_instantly (exitcode=0) at ../src/spvw.d:3912 #7 0x0808188a in quit () at ../src/spvw.d:3998 #8 0x08113e9b in signal_and_debug (condition=<optimized out>) at ../src/error.d:202 #9 0x08114a6a in end_error (stackptr=0xb7394008, start_driver_p=true) at ../src/error.d:346 #10 0x08114e02 in error (errortype=type_error, errorstring=0x915fef8 "~S: The value of ~S was not an appropriate stream: ~S.\ It has been changed to ~S.") at ../src/error.d:378 #11 0x080b8363 in error_value_stream (sym=0x823b75e) at ../src/stream.d:15423 #12 0x080bcdcf in var_stream (sym=0x823b75e, strmflags=128 '\200') at ../src/stream.d:1095 #13 0x0811503f in begin_error () at ../src/error.d:42 #14 0x081152da in OS_error () at ../src/errunix.d:684 #15 0x080b8887 in term_unraw () at ../src/stream.d:10157 #16 term_unraw () at ../src/stream.d:10154 #17 0x080bef5a in terminal_sane () at ../src/stream.d:10298 #18 0x080757ff in fini_lowest_level () at ../src/spvw.d:2272 #19 quit_instantly (exitcode=0) at ../src/spvw.d:3913 #20 0x0808188a in quit () at ../src/spvw.d:3998 #21 0x08113e9b in signal_and_debug (condition=<optimized out>) at ../src/error.d:202 #22 0x08114a6a in end_error (stackptr=0xb739400c, start_driver_p=true) at ../src/error.d:346 #23 0x08115309 in OS_error () at ../src/errunix.d:688 #24 0x080ae885 in low_write_array_unbuffered_handle (stream=<optimized out>, byteptr=0xbfc7b4e4 "\n\335\001!\354\032\002!", len=1, persev=persev_full) at ../src/stream.d:5474 #25 0x080ad988 in wr_ch_unbuffered_unix (stream_=0xb7394008, ch=0xc0000150) at ../src/stream.d:5561 #26 0x080bc1cf in write_char (stream_=0xb7394008, ch=0xc0000150) at ../src/stream.d:895 #27 0x080c723c in fresh_line_low (stream_=0xb7394008) at ../src/stream.d:16911 #28 0x080df789 in C_fresh_line () at ../src/io.d:10475 #29 0x08084b6c in funcall_subr (fun=0x822b816, args_on_stack=<optimized out>) at ../src/eval.d:5227 #30 0x080818bd in quit () at ../src/spvw.d:3968 #31 0x0808e3ea in interpret_bytecode_ (closure=0x20ec04de, codeptr=0x20ebff9c, byteptr_in=0x7208 <Address 0x7208 out of bounds>) at ../src/eval.d:7323 #32 0x08092c32 in funcall_closure (args_on_stack=<optimized out>, closure=<optimized out>) at ../src/eval.d:5611 #33 funcall_closure (closure=<optimized out>, args_on_stack=<optimized out>) at ../src/eval.d:5250 #34 0x08082af6 in main_actions (p=0x8240580) at ../src/spvw.d:3473 #35 0x080637da in main (argc=13, argv=0xbfc7fb74) at ../src/spvw.d:3885 (gdb) It seems to be having trouble writing to the terminal? What might cause that? Perhaps closing the ssh connection running the shell that's running clisp? |