Bug#696757: ecl hang: SIGNAL problem
Christoph Egger
christoph at debian.org
Mon Feb 4 23:38:00 UTC 2013
Hi all!
Thanks to the help of Jeff Epler I'm now having a "working" gdb again:
% gdb ./ecl_min
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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-kfreebsd-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/christoph/debian/ecl-stable/build/ecl_min...done.
Breakpoint 1 at 0x4508f4: file /home/christoph/debian/ecl-stable/src/c/numbers/cos.d, line 28.
Breakpoint 2 at 0x43f7c0: file /home/christoph/debian/ecl-stable/src/c/error.d, line 526.
Breakpoint 3 at 0x43f8fd: file /home/christoph/debian/ecl-stable/src/c/error.d, line 535.
Breakpoint 4 at 0x43e19d: file /home/christoph/debian/ecl-stable/src/c/error.d, line 117.
Breakpoint 5 at 0x43e07c: file /home/christoph/debian/ecl-stable/src/c/error.d, line 104.
---Type <return> to continue, or q <return> to quit---
Breakpoint 6 at 0x43f1b4: file /home/christoph/debian/ecl-stable/src/c/error.d, line 361.
Breakpoint 7 at 0x43f1f2: file /home/christoph/debian/ecl-stable/src/c/error.d, line 367.
Breakpoint 8 at 0x43ea2a: file /home/christoph/debian/ecl-stable/src/c/error.d, line 253.
Breakpoint 9 at 0x43f33d: file /home/christoph/debian/ecl-stable/src/c/error.d, line 415.
(gdb) handle LTRESTART nostop
(gdb) run compile
Program received signal LTRESTART, LinuxThreads restart signal.
Program received signal LTRESTART, LinuxThreads restart signal.
Program received signal LTRESTART, LinuxThreads restart signal.
;*** Lisp core booted ****
ECL (Embeddable Common Lisp)
;;;
;;; Welcome to bare.lsp. Let's bring this instance up!
;;;
;;;
;;; About to load lsp/load.lsp
;;;
;;; Loading src:lsp;export.lsp
;;; Loading src:lsp;defmacro.lsp^C
Program received signal SIGINT, Interrupt.
0x000000080167cd51 in sigsuspend () at ../sysdeps/unix/syscall-template.S:82
82 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt full
#0 0x000000080167cd51 in sigsuspend () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1 0x0000000800fb15a7 in __pthread_sigwait (set=0x801b94270, sig=<optimized out>) at signals.c:184
self = 0x743660
mask = {{__sigbits = {4294967293, 4294967294, 4294967263, 4294967295}, __bits = {4294967293, 4294967294, 4294967263, 4294967295}}}
s = 129
jmpbuf = {{__jmpbuf = {129, -3461776174639845250, 34388656752, 34388656640, 34388656608, 34388656620, -3461775335247417218,
-3461773704641351554}, __mask_was_saved = 1, __saved_mask = {{__sigbits = {2147483650, 0, 32, 0}, __bits = {2147483650, 0, 32, 0}}}}}
sa = {__sigaction_handler = {sa_handler = 0x800fb3d50 <__pthread_null_sighandler>, sa_sigaction = 0x800fb3d50 <__pthread_null_sighandler>},
sa_flags = 0, sa_mask = {{__sigbits = {4294967295, 4294967295, 4294967295, 4294967295}, __bits = {4294967295, 4294967295, 4294967295,
4294967295}}}}
#2 0x000000000046dc78 in asynchronous_signal_servicing_thread () at /home/christoph/debian/ecl-stable/src/c/unixint.d:917
status = 0
__the_env = 0x80070f000
---Type <return> to continue, or q <return> to quit---
handled_set = {{__sigbits = {2147483650, 0, 32, 0}, __bits = {2147483650, 0, 32, 0}}}
signal_code = 0x0
signo = 0
interrupt_signal = 70
#3 0x000000000049730f in APPLY_fixed (n=0, fn=0x46dbc5 <asynchronous_signal_servicing_thread>, x=0xdf6008)
at /home/christoph/debian/ecl-stable/src/c/apply.d:350
No locals.
#4 0x0000000000415399 in ecl_apply_from_stack_frame (frame=0x801b96d30, x=0x76a880) at /home/christoph/debian/ecl-stable/src/c/eval.d:52
sp = 0xdf6008
narg = 0
fun = 0x76a880
#5 0x0000000000415b7c in cl_apply (narg=0, fun=0x76a880, lastarg=0x1) at /home/christoph/debian/ecl-stable/src/c/eval.d:163
out = 0x2
i = 0
---Type <return> to continue, or q <return> to quit---
frame_aux = {t = 33 '!', m = 109 'm', padding1 = -71 '\271', padding2 = 1 '\001', stack = 0xdf6000, base = 0xdf6008, size = 0, env = 0x80070f000}
frame = 0x801b96d30
the_env = 0x80070f000
args = {{args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x801b96e70, reg_save_area = 0x801b96db0}}, sp = 0x0, narg = 0}}
#6 0x0000000000484610 in thread_entry_point (arg=0x7306c0) at /home/christoph/debian/ecl-stable/src/c/threads/process.d:179
__the_env = 0x80070f000
_buffer = {__routine = 0x484240 <thread_cleanup>, __arg = 0x7306c0, __canceltype = 12988376, __prev = 0x801b96f20}
process = 0x7306c0
env = 0x80070f000
#7 0x0000000800d7f729 in GC_inner_start_routine () from /usr/lib/libgc.so.1
No symbol table info available.
#8 0x0000000800d7b348 in GC_call_with_stack_base () from /usr/lib/libgc.so.1
No symbol table info available.
#9 0x0000000800faec4a in pthread_start_thread (arg=<optimized out>) at manager.c:317
---Type <return> to continue, or q <return> to quit---
self = 0x743660
request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args = {create = {attr = 0x0, fn = 0, arg = 0x0, mask = {{__sigbits = {0, 0, 0, 0},
__bits = {0, 0, 0, 0}}}}, free = {thread_id = 0}, exit = {code = 0}, post = 0x0, for_each = {fn = 0, arg = 0x0}}}
outcome = <optimized out>
#10 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) list threads
Function "threads" not defined.
(gdb) info threads
[New process 61405]
[New process 61405]
[New process 61405]
Id Target Id Frame
4 process 61405 __pthread_sigsuspend () at ../ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/linuxthreads/pt-sigsuspend.S:24
3 process 61405 0x00000008017153e9 in poll () at ../sysdeps/unix/syscall-template.S:82
2 process 61405 0x000000080167cd51 in sigsuspend () at ../sysdeps/unix/syscall-template.S:82
* 1 process 61405 0x000000080167cd51 in sigsuspend () at ../sysdeps/unix/syscall-template.S:82
More information about the pkg-common-lisp-devel
mailing list