From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: Parts of the test-suite hanging forever Date: Thu, 23 Jun 2011 13:19:26 +0200 Message-ID: <87fwn0vlq9.fsf@pobox.com> References: <87pqmgma6e.fsf@ft.bewatermyfriend.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308832125 18141 80.91.229.12 (23 Jun 2011 12:28:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 12:28:45 +0000 (UTC) Cc: bug-guile@gnu.org To: Frank Terbeck Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jun 23 14:28:40 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZj1T-0001yM-Rn for guile-bugs@m.gmane.org; Thu, 23 Jun 2011 14:28:40 +0200 Original-Received: from localhost ([::1]:52473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZj1S-0004k8-Cw for guile-bugs@m.gmane.org; Thu, 23 Jun 2011 08:28:38 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZiSE-0002lp-Ia for bug-guile@gnu.org; Thu, 23 Jun 2011 07:52:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZiSA-0008OW-N5 for bug-guile@gnu.org; Thu, 23 Jun 2011 07:52:14 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:38628 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZiSA-0008NY-Bd for bug-guile@gnu.org; Thu, 23 Jun 2011 07:52:10 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 8E93C34C3; Thu, 23 Jun 2011 07:54:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=GSWvDOSaBM7RCQ6WAh5TiVD6aco=; b=PYptlM 7tS/rxz9oLjam9XWYfRiWGOUkV4YVl4Q14EbejB4P6IFJLtNclSI/uRt/5BYvJxl W9zucb0cIPJpAYRBN663Lns0mE9d7dxSlecgTyi1lz9NzgypSM+Y3/YHcPor7Z3E 2VDjwcNkoyPq0p7lcqIcArqpBlYCkuFrFNgoU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Qz6TadaWm3/goaxQiuQqzpzid5EtvDKm 6hnVHnwbJKOvfnpt2AnpyRY2zfF+wpE+t8aRK+T5pQ6RBH3Lpi6zeB4dP5oJAcHa Uhe5XMyNkOt001zTNADRfEQTFg0JHmqnZckvGaKgAwUt0W16+1zXYCD2jQan1MeI 5vDQEqFRI54= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 86D0934C2; Thu, 23 Jun 2011 07:54:11 -0400 (EDT) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 31DB534C1; Thu, 23 Jun 2011 07:54:10 -0400 (EDT) In-Reply-To: <87pqmgma6e.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Tue, 14 Jun 2011 22:26:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 81BA12AC-9D8F-11E0-B261-5875C023C68D-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5694 Archived-At: On Tue 14 Jun 2011 22:26, Frank Terbeck writes: > Okay now that we got that out of the way, the tests that hang for me > are: > > + test-pthread-create > + test-fast-slot-ref Thanks for the detailed report. I have fixed these hangs in master. With libgc 7.1, GC_do_blocking doesn't exist, so libgc needs to be able to stop the signal delivery thread, so we need to unmask the suspend signal there. With that fix in place things work again. However, the main test suite now segfaults with libgc 7.1. I'm not sure why. I am appending a representative backtrace. It seems to be some sort of corruption of the allocator's data structures. It could be a Guile problem, or it could be a bug in libgc. Things do appear to work correctly with libgc 7.2alpha5 (or CVS). Perhaps given that master has moved away from pthread redirection, we should simply require libgc 7.2 for Guile 2.2. Andy (gdb) thr apply all bt Thread 3 (Thread 0x7ffff4bd4700 (LWP 18358)): #0 GC_allochblk_nth (sz=16, kind=1, flags=0, n=7, may_split=) at allchblk.c:658 #1 0x00007ffff6db6c1a in GC_allochblk (sz=16, kind=1, flags=0) at allchblk.c:628 #2 0x00007ffff6dc23a9 in GC_new_hblk (gran=1, kind=1) at new_hblk.c:190 #3 0x00007ffff6db850b in GC_allocobj (gran=1, kind=1) at alloc.c:1055 #4 0x00007ffff6dbcc0a in GC_generic_malloc_inner (lb=16, k=1) at malloc.c:119 #5 0x00007ffff6dbccf8 in GC_generic_malloc (lb=16, k=1) at malloc.c:159 #6 0x00007ffff6dbd144 in GC_core_malloc (lb=16) at malloc.c:286 #7 0x00007ffff7b3f8e0 in scm_cell (vm=..., program=..., argv=0xe00370, nargs=4) at ../libguile/gc.h:215 #8 vm_debug_engine (vm=..., program=..., argv=0xe00370, nargs=4) at vm-i-system.c:198 #9 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x0, nargs=0) at vm.c:566 #10 0x00007ffff7ac4618 in scm_call_0 (proc=...) at eval.c:478 #11 0x00007ffff7b0923b in scm_program_sources (program=) at programs.c:217 #12 0x00007ffff7b0944d in scm_program_source (program=, ip=, sources=) at programs.c:292 #13 0x00007ffff7ad20c3 in scm_frame_source (frame=...) at frames.c:102 #14 0x00007ffff7ab5a0e in display_backtrace_get_file_line (frame=, file=0x7ffff4bd31e0, line=0x7ffff4bd31f0) at backtrace.c:302 #15 0x00007ffff7ab5fe4 in display_backtrace_file_and_line (a=0x7ffff4bd34f0) at backtrace.c:351 #16 display_frame (a=0x7ffff4bd34f0) at backtrace.c:400 #17 display_backtrace_body (a=0x7ffff4bd34f0) at backtrace.c:502 #18 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #19 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xe002e8, nargs=1) at vm-i-system.c:960 #20 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff4bd3410, nargs=3) at vm.c:566 #21 0x00007ffff7ac5bce in scm_call_3 (proc=..., arg1=, arg2=, arg3=) at eval.c:498 #22 0x00007ffff7b3577e in scm_catch (key=..., thunk=..., handler=...) at throw.c:73 #23 0x00007ffff7b358a5 in scm_catch_with_pre_unwind_handler (key=, thunk=, handler=, pre_unwind_handler=) at throw.c:81 #24 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x6d49a0, pre_unwind_handler=0, pre_unwind_handler_data=0x0) at throw.c:213 #25 0x00007ffff7b35aa4 in scm_internal_catch (tag=, body=, body_data=, handler=, handler_data=) at throw.c:222 #26 0x00007ffff7ab590a in scm_display_backtrace_with_highlights (stack=, port=, first=, depth=, highlights=) at backtrace.c:545 #27 0x00007ffff7ac0f7e in print_exception_and_backtrace (error_port=0x6d49a0, tag=..., args=) at continuations.c:502 #28 pre_unwind_handler (error_port=0x6d49a0, tag=..., args=) at continuations.c:546 ---Type to continue, or q to quit--- #29 0x00007ffff7b354ac in apply_catch_closure (clo=, args=) at throw.c:151 #30 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xe00240, nargs=6849312) at vm-i-system.c:960 #31 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff4bd3740, nargs=5) at vm.c:566 #32 0x00007ffff7b4c2de in scm_call_with_vm (vm=..., proc=..., args=) at vm.c:858 #33 0x00007ffff7ac4423 in scm_apply (proc=..., arg1=, args=...) at eval.c:701 #34 0x00007ffff7ac5d3f in scm_apply_1 (proc=..., arg1=, args=) at eval.c:541 #35 0x00007ffff7b359a3 in scm_throw (key=..., args=...) at throw.c:104 #36 0x00007ffff7b35e99 in scm_ithrow (key=, args=, noreturn=) at throw.c:441 #37 0x00007ffff7ac3065 in scm_error_scm (key=..., subr=, message=, args=, data=) at error.c:94 #38 0x00007ffff7ac30e0 in scm_error (key=..., subr=0x7ffff7b742b1 "string-append", message=, args=..., rest=...) at error.c:61 #39 0x00007ffff7ac3474 in scm_wrong_type_arg_msg (subr=0x7ffff7b742b1 "string-append", pos=, bad_value=..., szMessage=) at error.c:287 #40 0x00007ffff7b2b665 in scm_string_append (args=) at strings.c:1372 #41 0x00007ffff7b31aba in scm_gensym (prefix=...) at symbols.c:370 #42 0x00007ffff7b41188 in vm_debug_engine (vm=..., program=..., argv=0xe001c0, nargs=-136544216) at vm-i-system.c:892 #43 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x0, nargs=0) at vm.c:566 #44 0x00007ffff7ac4618 in scm_call_0 (proc=...) at eval.c:478 #45 0x00007ffff7b33a98 in really_launch (d=0x7fffffffd8d0) at threads.c:973 #46 0x00007ffff7ac0d3a in c_body (d=) at continuations.c:523 #47 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #48 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xe000a8, nargs=1) at vm-i-system.c:960 #49 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff4bd3d30, nargs=4) at vm.c:566 #50 0x00007ffff7ac5c13 in scm_call_4 (proc=..., arg1=, arg2=, arg3=, arg4=) at eval.c:505 #51 0x00007ffff7b35846 in scm_catch_with_pre_unwind_handler (key=..., thunk=..., handler=..., pre_unwind_handler=...) at throw.c:86 #52 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7ffff4bd3e40, pre_unwind_handler=0x7ffff7ac0e30 , pre_unwind_handler_data=0x6d49a0) at throw.c:213 #53 0x00007ffff7ac1503 in scm_i_with_continuation_barrier (body=0x7ffff7ac0d30 , body_data=0x7ffff4bd3e40, handler=0x7ffff7ac0fe0 , handler_data=0x7ffff4bd3e40, pre_unwind_handler=, pre_unwind_handler_data=) at continuations.c:461 #54 0x00007ffff7ac15b5 in scm_c_with_continuation_barrier (func=, data=) at continuations.c:557 #55 0x00007ffff7b332b5 in with_guile_trampoline (base=0x7ffff4bd3ea0, data=0x7ffff4bd3ec0) at threads.c:856 #56 with_gc_active (base=0x7ffff4bd3ea0, data=0x7ffff4bd3ec0) at threads.c:225 #57 with_guile_and_parent (base=0x7ffff4bd3ea0, data=0x7ffff4bd3ec0) at threads.c:902 #58 0x00007ffff6dc1a05 in GC_call_with_stack_base (fn=, arg=) at misc.c:1165 #59 0x00007ffff7b3307c in scm_i_with_guile_and_parent (d=0x7fffffffd8d0) at threads.c:917 ---Type to continue, or q to quit--- #60 launch_thread (d=0x7fffffffd8d0) at threads.c:985 #61 0x00007ffff7389b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #62 0x00007ffff70d52fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #63 0x0000000000000000 in ?? () Thread 2 (Thread 0x7ffff554c700 (LWP 18357)): #0 0x00007ffff739117d in read () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007ffff7b10ba7 in read_signal_pipe_data (data=0x7ffff554b820) at scmsigs.c:178 #2 0x00007ffff7b334e4 in with_gc_inactive (func=0x7ffff7b10b90 , data=0x7ffff554b820) at threads.c:219 #3 scm_without_guile (func=0x7ffff7b10b90 , data=0x7ffff554b820) at threads.c:936 #4 0x00007ffff7b10b04 in signal_delivery_thread (data=) at scmsigs.c:203 #5 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #6 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xb74150, nargs=1) at vm-i-system.c:960 #7 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff554ba20, nargs=3) at vm.c:566 #8 0x00007ffff7ac5bce in scm_call_3 (proc=..., arg1=, arg2=, arg3=) at eval.c:498 #9 0x00007ffff7b3577e in scm_catch (key=..., thunk=..., handler=...) at throw.c:73 #10 0x00007ffff7b358a5 in scm_catch_with_pre_unwind_handler (key=, thunk=, handler=, pre_unwind_handler=) at throw.c:81 #11 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7ffff7b6fb28, pre_unwind_handler=0, pre_unwind_handler_data=0x0) at throw.c:213 #12 0x00007ffff7b35aa4 in scm_internal_catch (tag=, body=, body_data=, handler=, handler_data=) at throw.c:222 #13 0x00007ffff7b339b0 in really_spawn (d=0x7fffffffd6e0) at threads.c:1062 #14 0x00007ffff7ac0d3a in c_body (d=) at continuations.c:523 #15 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #16 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xb740a8, nargs=1) at vm-i-system.c:960 #17 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff554bd30, nargs=4) at vm.c:566 #18 0x00007ffff7ac5c13 in scm_call_4 (proc=..., arg1=, arg2=, arg3=, arg4=) at eval.c:505 #19 0x00007ffff7b35846 in scm_catch_with_pre_unwind_handler (key=..., thunk=..., handler=..., pre_unwind_handler=...) at throw.c:86 #20 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7ffff554be40, pre_unwind_handler=0x7ffff7ac0e30 , pre_unwind_handler_data=0x6d49a0) at throw.c:213 #21 0x00007ffff7ac1503 in scm_i_with_continuation_barrier (body=0x7ffff7ac0d30 , body_data=0x7ffff554be40, handler=0x7ffff7ac0fe0 , handler_data=0x7ffff554be40, pre_unwind_handler=, pre_unwind_handler_data=) at continuations.c:461 #22 0x00007ffff7ac15b5 in scm_c_with_continuation_barrier (func=, data=) at continuations.c:557 #23 0x00007ffff7b332b5 in with_guile_trampoline (base=0x7ffff554bea0, data=0x7ffff554bec0) at threads.c:856 ---Type to continue, or q to quit--- #24 with_gc_active (base=0x7ffff554bea0, data=0x7ffff554bec0) at threads.c:225 #25 with_guile_and_parent (base=0x7ffff554bea0, data=0x7ffff554bec0) at threads.c:902 #26 0x00007ffff6dc1a05 in GC_call_with_stack_base (fn=, arg=) at misc.c:1165 #27 0x00007ffff7b3302c in scm_i_with_guile_and_parent (d=) at threads.c:917 #28 spawn_thread (d=) at threads.c:1074 #29 0x00007ffff7389b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #30 0x00007ffff70d52fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #31 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7fe0700 (LWP 18356)): #0 GC_allochblk_nth (sz=48, kind=1, flags=0, n=7, may_split=) at allchblk.c:658 #1 0x00007ffff6db6c1a in GC_allochblk (sz=48, kind=1, flags=0) at allchblk.c:628 #2 0x00007ffff6dc23a9 in GC_new_hblk (gran=3, kind=1) at new_hblk.c:190 #3 0x00007ffff6db850b in GC_allocobj (gran=3, kind=1) at alloc.c:1055 #4 0x00007ffff6dbcc0a in GC_generic_malloc_inner (lb=48, k=1) at malloc.c:119 #5 0x00007ffff6dba8e2 in GC_register_finalizer_inner (obj=0xf1d580, fn=0x7ffff7b12040 , cd=0x0, ofn=, ocd=0x7fffffffd8f8, mp=0x7ffff6dba150 ) at finalize.c:393 #6 0x00007ffff7b1283e in scm_i_new_smob (tc=639, data=15883712) at smob.c:612 #7 0x00007ffff7b32e24 in scm_new_smob (recursive=0, unchecked_unlock=, external_unlock=0) at ../libguile/smob.h:82 #8 make_fat_mutex (recursive=0, unchecked_unlock=, external_unlock=0) at threads.c:1302 #9 0x00007ffff7b32f05 in scm_make_mutex_with_flags (flags=) at threads.c:1337 #10 0x00007ffff7b41188 in vm_debug_engine (vm=..., program=..., argv=0x6d7658, nargs=0) at vm-i-system.c:892 #11 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7fffffffdb10, nargs=1) at vm.c:566 #12 0x00007ffff7ac5f50 in scm_primitive_eval (exp=...) at eval.c:638 #13 0x00007ffff7ac5fb3 in scm_eval (exp=..., module_or_state=...) at eval.c:672 #14 0x00007ffff7b11b4f in scm_shell (argc=1, argv=0x7fffffffe048) at script.c:402 #15 0x00007ffff7ae1e5f in invoke_main_func (body_data=0x7fffffffdf30) at init.c:336 #16 0x00007ffff7ac0d3a in c_body (d=) at continuations.c:523 #17 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #18 0x00007ffff7b4ac1b in vm_regular_engine (vm=..., program=..., argv=0x6d70a8, nargs=0) at vm-i-system.c:960 #19 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7fffffffdd70, nargs=4) at vm.c:566 #20 0x00007ffff7ac5c13 in scm_call_4 (proc=..., arg1=, arg2=, arg3=, arg4=) at eval.c:505 #21 0x00007ffff7b35846 in scm_catch_with_pre_unwind_handler (key=..., thunk=..., handler=..., pre_unwind_handler=...) at throw.c:86 #22 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7fffffffde80, pre_unwind_handler=0x7ffff7ac0e30 , pre_unwind_handler_data=0x6d49a0) at throw.c:213 #23 0x00007ffff7ac1503 in scm_i_with_continuation_barrier (body=0x7ffff7ac0d30 , body_data=0x7fffffffde80, ---Type to continue, or q to quit--- handler=0x7ffff7ac0fe0 , handler_data=0x7fffffffde80, pre_unwind_handler=, pre_unwind_handler_data=) at continuations.c:461 #24 0x00007ffff7ac15b5 in scm_c_with_continuation_barrier (func=, data=) at continuations.c:557 #25 0x00007ffff7b332b5 in with_guile_trampoline (base=0x7fffffffdee0, data=0x7fffffffdf00) at threads.c:856 #26 with_gc_active (base=0x7fffffffdee0, data=0x7fffffffdf00) at threads.c:225 #27 with_guile_and_parent (base=0x7fffffffdee0, data=0x7fffffffdf00) at threads.c:902 #28 0x00007ffff6dc1a05 in GC_call_with_stack_base (fn=, arg=) at misc.c:1165 #29 0x00007ffff7b33458 in scm_i_with_guile_and_parent (func=, data=) at threads.c:917 #30 scm_with_guile (func=, data=) at threads.c:923 #31 0x00007ffff7ae1f75 in scm_boot_guile (argc=, argv=, main_func=, closure=) at init.c:319 #32 0x00000000004009a0 in main (argc=, argv=) at guile.c:70 (gdb) thr apply all bt Thread 3 (Thread 0x7ffff4bd4700 (LWP 18358)): #0 GC_allochblk_nth (sz=16, kind=1, flags=0, n=7, may_split=) at allchblk.c:658 #1 0x00007ffff6db6c1a in GC_allochblk (sz=16, kind=1, flags=0) at allchblk.c:628 #2 0x00007ffff6dc23a9 in GC_new_hblk (gran=1, kind=1) at new_hblk.c:190 #3 0x00007ffff6db850b in GC_allocobj (gran=1, kind=1) at alloc.c:1055 #4 0x00007ffff6dbcc0a in GC_generic_malloc_inner (lb=16, k=1) at malloc.c:119 #5 0x00007ffff6dbccf8 in GC_generic_malloc (lb=16, k=1) at malloc.c:159 #6 0x00007ffff6dbd144 in GC_core_malloc (lb=16) at malloc.c:286 #7 0x00007ffff7b3f8e0 in scm_cell (vm=..., program=..., argv=0xe00370, nargs=4) at ../libguile/gc.h:215 #8 vm_debug_engine (vm=..., program=..., argv=0xe00370, nargs=4) at vm-i-system.c:198 #9 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x0, nargs=0) at vm.c:566 #10 0x00007ffff7ac4618 in scm_call_0 (proc=...) at eval.c:478 #11 0x00007ffff7b0923b in scm_program_sources (program=) at programs.c:217 #12 0x00007ffff7b0944d in scm_program_source (program=, ip=, sources=) at programs.c:292 #13 0x00007ffff7ad20c3 in scm_frame_source (frame=...) at frames.c:102 #14 0x00007ffff7ab5a0e in display_backtrace_get_file_line (frame=, file=0x7ffff4bd31e0, line=0x7ffff4bd31f0) at backtrace.c:302 #15 0x00007ffff7ab5fe4 in display_backtrace_file_and_line (a=0x7ffff4bd34f0) at backtrace.c:351 #16 display_frame (a=0x7ffff4bd34f0) at backtrace.c:400 #17 display_backtrace_body (a=0x7ffff4bd34f0) at backtrace.c:502 #18 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #19 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xe002e8, nargs=1) at vm-i-system.c:960 #20 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff4bd3410, nargs=3) at vm.c:566 #21 0x00007ffff7ac5bce in scm_call_3 (proc=..., arg1=, arg2=, arg3=) at eval.c:498 #22 0x00007ffff7b3577e in scm_catch (key=..., thunk=..., handler=...) at throw.c:73 #23 0x00007ffff7b358a5 in scm_catch_with_pre_unwind_handler (key=, thunk=, handler=, pre_unwind_handler=) at throw.c:81 #24 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x6d49a0, pre_unwind_handler=0, pre_unwind_handler_data=0x0) at throw.c:213 #25 0x00007ffff7b35aa4 in scm_internal_catch (tag=, body=, body_data=, handler=, handler_data=) at throw.c:222 #26 0x00007ffff7ab590a in scm_display_backtrace_with_highlights (stack=, port=, first=, depth=, highlights=) at backtrace.c:545 #27 0x00007ffff7ac0f7e in print_exception_and_backtrace (error_port=0x6d49a0, tag=..., args=) at continuations.c:502 #28 pre_unwind_handler (error_port=0x6d49a0, tag=..., args=) at continuations.c:546 ---Type to continue, or q to quit--- #29 0x00007ffff7b354ac in apply_catch_closure (clo=, args=) at throw.c:151 #30 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xe00240, nargs=6849312) at vm-i-system.c:960 #31 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff4bd3740, nargs=5) at vm.c:566 #32 0x00007ffff7b4c2de in scm_call_with_vm (vm=..., proc=..., args=) at vm.c:858 #33 0x00007ffff7ac4423 in scm_apply (proc=..., arg1=, args=...) at eval.c:701 #34 0x00007ffff7ac5d3f in scm_apply_1 (proc=..., arg1=, args=) at eval.c:541 #35 0x00007ffff7b359a3 in scm_throw (key=..., args=...) at throw.c:104 #36 0x00007ffff7b35e99 in scm_ithrow (key=, args=, noreturn=) at throw.c:441 #37 0x00007ffff7ac3065 in scm_error_scm (key=..., subr=, message=, args=, data=) at error.c:94 #38 0x00007ffff7ac30e0 in scm_error (key=..., subr=0x7ffff7b742b1 "string-append", message=, args=..., rest=...) at error.c:61 #39 0x00007ffff7ac3474 in scm_wrong_type_arg_msg (subr=0x7ffff7b742b1 "string-append", pos=, bad_value=..., szMessage=) at error.c:287 #40 0x00007ffff7b2b665 in scm_string_append (args=) at strings.c:1372 #41 0x00007ffff7b31aba in scm_gensym (prefix=...) at symbols.c:370 #42 0x00007ffff7b41188 in vm_debug_engine (vm=..., program=..., argv=0xe001c0, nargs=-136544216) at vm-i-system.c:892 #43 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x0, nargs=0) at vm.c:566 #44 0x00007ffff7ac4618 in scm_call_0 (proc=...) at eval.c:478 #45 0x00007ffff7b33a98 in really_launch (d=0x7fffffffd8d0) at threads.c:973 #46 0x00007ffff7ac0d3a in c_body (d=) at continuations.c:523 #47 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #48 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xe000a8, nargs=1) at vm-i-system.c:960 #49 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff4bd3d30, nargs=4) at vm.c:566 #50 0x00007ffff7ac5c13 in scm_call_4 (proc=..., arg1=, arg2=, arg3=, arg4=) at eval.c:505 #51 0x00007ffff7b35846 in scm_catch_with_pre_unwind_handler (key=..., thunk=..., handler=..., pre_unwind_handler=...) at throw.c:86 #52 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7ffff4bd3e40, pre_unwind_handler=0x7ffff7ac0e30 , pre_unwind_handler_data=0x6d49a0) at throw.c:213 #53 0x00007ffff7ac1503 in scm_i_with_continuation_barrier (body=0x7ffff7ac0d30 , body_data=0x7ffff4bd3e40, handler=0x7ffff7ac0fe0 , handler_data=0x7ffff4bd3e40, pre_unwind_handler=, pre_unwind_handler_data=) at continuations.c:461 #54 0x00007ffff7ac15b5 in scm_c_with_continuation_barrier (func=, data=) at continuations.c:557 #55 0x00007ffff7b332b5 in with_guile_trampoline (base=0x7ffff4bd3ea0, data=0x7ffff4bd3ec0) at threads.c:856 #56 with_gc_active (base=0x7ffff4bd3ea0, data=0x7ffff4bd3ec0) at threads.c:225 #57 with_guile_and_parent (base=0x7ffff4bd3ea0, data=0x7ffff4bd3ec0) at threads.c:902 #58 0x00007ffff6dc1a05 in GC_call_with_stack_base (fn=, arg=) at misc.c:1165 #59 0x00007ffff7b3307c in scm_i_with_guile_and_parent (d=0x7fffffffd8d0) at threads.c:917 ---Type to continue, or q to quit--- #60 launch_thread (d=0x7fffffffd8d0) at threads.c:985 #61 0x00007ffff7389b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #62 0x00007ffff70d52fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #63 0x0000000000000000 in ?? () Thread 2 (Thread 0x7ffff554c700 (LWP 18357)): #0 0x00007ffff739117d in read () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007ffff7b10ba7 in read_signal_pipe_data (data=0x7ffff554b820) at scmsigs.c:178 #2 0x00007ffff7b334e4 in with_gc_inactive (func=0x7ffff7b10b90 , data=0x7ffff554b820) at threads.c:219 #3 scm_without_guile (func=0x7ffff7b10b90 , data=0x7ffff554b820) at threads.c:936 #4 0x00007ffff7b10b04 in signal_delivery_thread (data=) at scmsigs.c:203 #5 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #6 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xb74150, nargs=1) at vm-i-system.c:960 #7 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff554ba20, nargs=3) at vm.c:566 #8 0x00007ffff7ac5bce in scm_call_3 (proc=..., arg1=, arg2=, arg3=) at eval.c:498 #9 0x00007ffff7b3577e in scm_catch (key=..., thunk=..., handler=...) at throw.c:73 #10 0x00007ffff7b358a5 in scm_catch_with_pre_unwind_handler (key=, thunk=, handler=, pre_unwind_handler=) at throw.c:81 #11 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7ffff7b6fb28, pre_unwind_handler=0, pre_unwind_handler_data=0x0) at throw.c:213 #12 0x00007ffff7b35aa4 in scm_internal_catch (tag=, body=, body_data=, handler=, handler_data=) at throw.c:222 #13 0x00007ffff7b339b0 in really_spawn (d=0x7fffffffd6e0) at threads.c:1062 #14 0x00007ffff7ac0d3a in c_body (d=) at continuations.c:523 #15 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #16 0x00007ffff7b41210 in vm_debug_engine (vm=..., program=..., argv=0xb740a8, nargs=1) at vm-i-system.c:960 #17 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7ffff554bd30, nargs=4) at vm.c:566 #18 0x00007ffff7ac5c13 in scm_call_4 (proc=..., arg1=, arg2=, arg3=, arg4=) at eval.c:505 #19 0x00007ffff7b35846 in scm_catch_with_pre_unwind_handler (key=..., thunk=..., handler=..., pre_unwind_handler=...) at throw.c:86 #20 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7ffff554be40, pre_unwind_handler=0x7ffff7ac0e30 , pre_unwind_handler_data=0x6d49a0) at throw.c:213 #21 0x00007ffff7ac1503 in scm_i_with_continuation_barrier (body=0x7ffff7ac0d30 , body_data=0x7ffff554be40, handler=0x7ffff7ac0fe0 , handler_data=0x7ffff554be40, pre_unwind_handler=, pre_unwind_handler_data=) at continuations.c:461 #22 0x00007ffff7ac15b5 in scm_c_with_continuation_barrier (func=, data=) at continuations.c:557 #23 0x00007ffff7b332b5 in with_guile_trampoline (base=0x7ffff554bea0, data=0x7ffff554bec0) at threads.c:856 ---Type to continue, or q to quit--- #24 with_gc_active (base=0x7ffff554bea0, data=0x7ffff554bec0) at threads.c:225 #25 with_guile_and_parent (base=0x7ffff554bea0, data=0x7ffff554bec0) at threads.c:902 #26 0x00007ffff6dc1a05 in GC_call_with_stack_base (fn=, arg=) at misc.c:1165 #27 0x00007ffff7b3302c in scm_i_with_guile_and_parent (d=) at threads.c:917 #28 spawn_thread (d=) at threads.c:1074 #29 0x00007ffff7389b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #30 0x00007ffff70d52fd in clone () from /lib/x86_64-linux-gnu/libc.so.6 #31 0x0000000000000000 in ?? () Thread 1 (Thread 0x7ffff7fe0700 (LWP 18356)): #0 GC_allochblk_nth (sz=48, kind=1, flags=0, n=7, may_split=) at allchblk.c:658 #1 0x00007ffff6db6c1a in GC_allochblk (sz=48, kind=1, flags=0) at allchblk.c:628 #2 0x00007ffff6dc23a9 in GC_new_hblk (gran=3, kind=1) at new_hblk.c:190 #3 0x00007ffff6db850b in GC_allocobj (gran=3, kind=1) at alloc.c:1055 #4 0x00007ffff6dbcc0a in GC_generic_malloc_inner (lb=48, k=1) at malloc.c:119 #5 0x00007ffff6dba8e2 in GC_register_finalizer_inner (obj=0xf1d580, fn=0x7ffff7b12040 , cd=0x0, ofn=, ocd=0x7fffffffd8f8, mp=0x7ffff6dba150 ) at finalize.c:393 #6 0x00007ffff7b1283e in scm_i_new_smob (tc=639, data=15883712) at smob.c:612 #7 0x00007ffff7b32e24 in scm_new_smob (recursive=0, unchecked_unlock=, external_unlock=0) at ../libguile/smob.h:82 #8 make_fat_mutex (recursive=0, unchecked_unlock=, external_unlock=0) at threads.c:1302 #9 0x00007ffff7b32f05 in scm_make_mutex_with_flags (flags=) at threads.c:1337 #10 0x00007ffff7b41188 in vm_debug_engine (vm=..., program=..., argv=0x6d7658, nargs=0) at vm-i-system.c:892 #11 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7fffffffdb10, nargs=1) at vm.c:566 #12 0x00007ffff7ac5f50 in scm_primitive_eval (exp=...) at eval.c:638 #13 0x00007ffff7ac5fb3 in scm_eval (exp=..., module_or_state=...) at eval.c:672 #14 0x00007ffff7b11b4f in scm_shell (argc=1, argv=0x7fffffffe048) at script.c:402 #15 0x00007ffff7ae1e5f in invoke_main_func (body_data=0x7fffffffdf30) at init.c:336 #16 0x00007ffff7ac0d3a in c_body (d=) at continuations.c:523 #17 0x00007ffff7b3545c in apply_catch_closure (clo=, args=) at throw.c:146 #18 0x00007ffff7b4ac1b in vm_regular_engine (vm=..., program=..., argv=0x6d70a8, nargs=0) at vm-i-system.c:960 #19 0x00007ffff7b4c1ed in scm_c_vm_run (vm=..., program=..., argv=0x7fffffffdd70, nargs=4) at vm.c:566 #20 0x00007ffff7ac5c13 in scm_call_4 (proc=..., arg1=, arg2=, arg3=, arg4=) at eval.c:505 #21 0x00007ffff7b35846 in scm_catch_with_pre_unwind_handler (key=..., thunk=..., handler=..., pre_unwind_handler=...) at throw.c:86 #22 0x00007ffff7b35a70 in scm_c_catch (tag=..., body=, body_data=, handler=, handler_data=0x7fffffffde80, pre_unwind_handler=0x7ffff7ac0e30 , pre_unwind_handler_data=0x6d49a0) at throw.c:213 #23 0x00007ffff7ac1503 in scm_i_with_continuation_barrier (body=0x7ffff7ac0d30 , body_data=0x7fffffffde80, ---Type to continue, or q to quit--- handler=0x7ffff7ac0fe0 , handler_data=0x7fffffffde80, pre_unwind_handler=, pre_unwind_handler_data=) at continuations.c:461 #24 0x00007ffff7ac15b5 in scm_c_with_continuation_barrier (func=, data=) at continuations.c:557 #25 0x00007ffff7b332b5 in with_guile_trampoline (base=0x7fffffffdee0, data=0x7fffffffdf00) at threads.c:856 #26 with_gc_active (base=0x7fffffffdee0, data=0x7fffffffdf00) at threads.c:225 #27 with_guile_and_parent (base=0x7fffffffdee0, data=0x7fffffffdf00) at threads.c:902 #28 0x00007ffff6dc1a05 in GC_call_with_stack_base (fn=, arg=) at misc.c:1165 #29 0x00007ffff7b33458 in scm_i_with_guile_and_parent (func=, data=) at threads.c:917 #30 scm_with_guile (func=, data=) at threads.c:923 #31 0x00007ffff7ae1f75 in scm_boot_guile (argc=, argv=, main_func=, closure=) at init.c:319 #32 0x00000000004009a0 in main (argc=, argv=) at guile.c:70 -- http://wingolog.org/