From: Linas Vepstas <linasvepstas@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>, guile-devel@gnu.org
Subject: Re: GNU Guile 1.9.0 released (alpha)
Date: Sat, 20 Jun 2009 13:17:46 -0500 [thread overview]
Message-ID: <3ae3aa420906201117g7db10ce3h9aecc18269060d6b@mail.gmail.com> (raw)
In-Reply-To: <m3k5376q8p.fsf@pobox.com>
2009/6/20 Andy Wingo <wingo@pobox.com>:
> On Sat 20 Jun 2009 05:00, Linas Vepstas <linasvepstas@gmail.com> writes:
>
>> Running r6rs-ports.test
>> /bin/sh: line 4: 7268 Segmentation fault ${dir}$tst
>> FAIL: check-guile
>
> A few more things you could try, in addition to what Neil and Ludovic
> said:
>
> ./check-guile r6rs-ports.test
>
> Does this segfault for you?
No .... err yes .. it passed 3 times, failed the fourth time.
I guess there's a race condition,looks to be in the gc.
> If so:
>
> ./check-guile -i meta/gdb-uninstalled-guile r6rs-ports.test
It seems to crash once out of every 5-10 times.
Here's a crash:
$ ./check-guile -i meta/gdb-uninstalled-guile r6rs-ports.test
Testing meta/gdb-uninstalled-guile ... r6rs-ports.test
with GUILE_LOAD_PATH=/home/linas/src/novamente/src/guile-1.9.0/test-suite
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 "i486-linux-gnu"...
(gdb) r
Starting program:
/home/linas/src/novamente/src/guile-1.9.0/libguile/.libs/lt-guile -e
main -s /home/linas/src/novamente/src/guile-1.9.0/test-suite/guile-test
--test-suite /home/linas/src/novamente/src/guile-1.9.0/test-suite/tests
--log-file check-guile.log r6rs-ports.test
[Thread debugging using libthread_db enabled]
Running r6rs-ports.test
[New Thread 0xf7b8c6b0 (LWP 31850)]
Totals for this test run:
passes: 31
failures: 0
unexpected passes: 0
expected failures: 0
unresolved test cases: 0
untested test cases: 0
unsupported test cases: 0
errors: 0
Program exited normally.
(gdb) r
Starting program:
/home/linas/src/novamente/src/guile-1.9.0/libguile/.libs/lt-guile -e
main -s /home/linas/src/novamente/src/guile-1.9.0/test-suite/guile-test
--test-suite /home/linas/src/novamente/src/guile-1.9.0/test-suite/tests
--log-file check-guile.log r6rs-ports.test
[Thread debugging using libthread_db enabled]
Running r6rs-ports.test
[New Thread 0xf7b2d6b0 (LWP 31855)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf7b2d6b0 (LWP 31855)]
0xf7ef12fa in cbp_mark (port=0x9006320) at r6rs-ports.c:212
212 {
(gdb) bt
#0 0xf7ef12fa in cbp_mark (port=0x9006320) at r6rs-ports.c:212
#1 0xf7ec56f2 in scm_gc_mark (ptr=0x9006320) at gc-mark.c:177
#2 0xf7ec57ca in scm_mark_locations (x=0xfff8b610, n=8287) at gc-mark.c:439
#3 0xf7f1f5f2 in scm_threads_mark_stacks () at threads.c:1760
#4 0xf7ec586e in scm_mark_all () at gc-mark.c:86
#5 0xf7ec4579 in scm_i_gc (what=0xfff8b6cc "1-cells") at gc.c:626
#6 0xf7ec496f in scm_gc_for_newcell (freelist=0xf7f73a48,
free_cells=0x8f0f0a8) at gc.c:500
#7 0xf7f3f891 in vm_debug_engine (vp=0x8f3c0c8, program=0x8f905f0,
argv=0xfff8bd28, nargs=7) at ../libguile/inline.h:116
#8 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f90600,
argv=0xfff8bd24, nargs=1) at vm.c:403
#9 0xf7f31b95 in program_apply_1 (program=0x8f90600, a=0x7986)
at programs.c:88
#10 0xf7ebe00f in scm_map (proc=0x8f90600, arg1=0xf7b2a8d0, args=0x404)
at eval.c:3643
#11 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f90600, args=0xf7b2a8a8)
at eval.i.c:1790
#12 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f90790,
argv=0xfff8c408, nargs=2) at vm-i-system.c:533
#13 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f90790,
argv=0xfff8c404, nargs=1) at vm.c:403
#14 0xf7f31b95 in program_apply_1 (program=0x8f90790, a=0x9006050)
---Type <return> to continue, or q <return> to quit---
at programs.c:88
#15 0xf7ebe00f in scm_map (proc=0x8f90790, arg1=0xf7b29140, args=0x404)
at eval.c:3643
#16 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f90790, args=0xf7b28788)
at eval.i.c:1790
#17 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f90a00,
argv=0xfff8cae8, nargs=2) at vm-i-system.c:533
#18 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f90a00,
argv=0xfff8cae4, nargs=1) at vm.c:403
#19 0xf7f31b95 in program_apply_1 (program=0x8f90a00, a=0xf7b2a0a0)
at programs.c:88
#20 0xf7ebe00f in scm_map (proc=0x8f90a00, arg1=0xf7b2a098, args=0x404)
at eval.c:3643
#21 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f90a00, args=0xf7b2a090)
at eval.i.c:1790
#22 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f90f30,
argv=0xfff8d1c8, nargs=2) at vm-i-system.c:533
#23 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f90f30,
argv=0xfff8d1c4, nargs=1) at vm.c:403
#24 0xf7f31b95 in program_apply_1 (program=0x8f90f30, a=0xf7b24988)
at programs.c:88
#25 0xf7ebe00f in scm_map (proc=0x8f90f30, arg1=0xf7b24980, args=0x404)
at eval.c:3643
---Type <return> to continue, or q <return> to quit---
#26 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f90f30, args=0xf7b24978)
at eval.i.c:1790
#27 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f8c7e0,
argv=0xfff8d8a8, nargs=2) at vm-i-system.c:533
#28 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f8c7e0,
argv=0xfff8d8a4, nargs=1) at vm.c:403
#29 0xf7f31b95 in program_apply_1 (program=0x8f8c7e0, a=0xf7b21968)
at programs.c:88
#30 0xf7ebe00f in scm_map (proc=0x8f8c7e0, arg1=0xf7b1fbe0, args=0x404)
at eval.c:3643
#31 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f8c7e0, args=0xf7b1fba0)
at eval.i.c:1790
#32 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f8c960,
argv=0xfff8df88, nargs=2) at vm-i-system.c:533
#33 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f8c960,
argv=0xfff8df84, nargs=1) at vm.c:403
#34 0xf7f31b95 in program_apply_1 (program=0x8f8c960, a=0xf7b21190)
at programs.c:88
#35 0xf7ebe00f in scm_map (proc=0x8f8c960, arg1=0xf7b21178, args=0x404)
at eval.c:3643
#36 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f8c960, args=0xf7b21170)
at eval.i.c:1790
#37 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f8d110,
---Type <return> to continue, or q <return> to quit---
argv=0xfff8e668, nargs=2) at vm-i-system.c:533
#38 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f8d110,
argv=0xfff8e664, nargs=1) at vm.c:403
#39 0xf7f31b95 in program_apply_1 (program=0x8f8d110, a=0xf7b1bbf8)
at programs.c:88
#40 0xf7ebe00f in scm_map (proc=0x8f8d110, arg1=0xf7b1a398, args=0x404)
at eval.c:3643
#41 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f8d110, args=0xf7b1a2f8)
at eval.i.c:1790
#42 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f8d250,
argv=0xfff8ed48, nargs=2) at vm-i-system.c:533
#43 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f8d250,
argv=0xfff8ed44, nargs=1) at vm.c:403
#44 0xf7f31b95 in program_apply_1 (program=0x8f8d250, a=0xf7b1b268)
at programs.c:88
#45 0xf7ebe00f in scm_map (proc=0x8f8d250, arg1=0xf7b1b260, args=0x404)
at eval.c:3643
#46 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f8d250, args=0xf7b1b258)
at eval.i.c:1790
#47 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f8d640,
argv=0xfff8f428, nargs=2) at vm-i-system.c:533
#48 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f8d640,
argv=0xfff8f424, nargs=1) at vm.c:403
---Type <return> to continue, or q <return> to quit---
#49 0xf7f31b95 in program_apply_1 (program=0x8f8d640, a=0x9007cc8)
at programs.c:88
#50 0xf7ebe00f in scm_map (proc=0x8f8d640, arg1=0x90075f0, args=0x404)
at eval.c:3643
#51 0xf7ebd6e2 in scm_apply (proc=0x8f274e0, arg1=0x8f8d640, args=0x90075b0)
at eval.i.c:1790
#52 0xf7f3ecaa in vm_debug_engine (vp=0x8f3c0c8, program=0x8f8d890, argv=0x0,
nargs=2) at vm-i-system.c:533
#53 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f8d890, argv=0x0,
nargs=0) at vm.c:403
#54 0xf7ebea09 in scm_call_0 (proc=0x8f8d890) at eval.c:3129
#55 0xf7ec162d in apply_thunk (thunk=0x8f8d890) at fluids.c:401
#56 0xf7ec180e in scm_c_with_fluid (fluid=0x8f55020, value=0x8f35c50,
cproc=0xf7ec1610 <apply_thunk>, cdata=0x8f8d890) at fluids.c:464
#57 0xf7ec1865 in scm_with_fluid (fluid=0x8f55020, value=0x8f35c50,
thunk=0x8f8d890) at fluids.c:451
#58 0xf7ebd62f in scm_apply (proc=0x8f0fcb0, arg1=0x8f55020, args=0x9008218)
at eval.i.c:1779
#59 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f59b80,
argv=0xfff901c8, nargs=3) at vm-i-system.c:740
#60 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f59b80,
argv=0xfff901c4, nargs=1) at vm.c:403
#61 0xf7ebe978 in scm_call_1 (proc=0x8f59b80, arg1=0x90060e8) at eval.c:3138
---Type <return> to continue, or q <return> to quit---
#62 0xf7ebef2f in scm_primitive_eval_x (exp=0x90060e8) at eval.c:4083
#63 0xf7ed8733 in scm_primitive_load (filename=0x8f83420) at load.c:116
#64 0xf7ebd581 in scm_apply (proc=0x8f22670, arg1=0x8f83420, args=0x404)
at eval.i.c:1747
#65 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f831b0, argv=0x0,
nargs=1) at vm-i-system.c:740
#66 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f831b0, argv=0x0,
nargs=0) at vm.c:403
#67 0xf7ebea09 in scm_call_0 (proc=0x8f831b0) at eval.c:3129
#68 0xf7eab374 in scm_sys_start_stack (id=0x8f77f30, thunk=0x8f831b0)
at debug.c:482
#69 0xf7ebd65d in scm_apply (proc=0x8f321a0, arg1=0x8f77f30, args=0x8fa82e0)
at eval.i.c:1734
#70 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f83260, argv=0x0,
nargs=2) at vm-i-system.c:740
#71 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f83260, argv=0x0,
nargs=0) at vm.c:403
#72 0xf7ebea09 in scm_call_0 (proc=0x8f83260) at eval.c:3129
#73 0xf7ec162d in apply_thunk (thunk=0x8f83260) at fluids.c:401
#74 0xf7ec180e in scm_c_with_fluid (fluid=0x8f22ff0, value=0x4,
cproc=0xf7ec1610 <apply_thunk>, cdata=0x8f83260) at fluids.c:464
#75 0xf7ec1865 in scm_with_fluid (fluid=0x8f22ff0, value=0x4, thunk=0x8f83260)
at fluids.c:451
---Type <return> to continue, or q <return> to quit---
#76 0xf7ebd62f in scm_apply (proc=0x8f0fcb0, arg1=0x8f22ff0, args=0x8fa8318)
at eval.i.c:1779
#77 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f77130, argv=0x0,
nargs=3) at vm-i-system.c:740
#78 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f83400, argv=0x0,
nargs=0) at vm.c:403
#79 0xf7ebea09 in scm_call_0 (proc=0x8f83400) at eval.c:3129
#80 0xf7eafe38 in scm_dynamic_wind (in_guard=0x8f833f0, thunk=0x8f83400,
out_guard=0x8f833b0) at dynwind.c:112
#81 0xf7ebd62f in scm_apply (proc=0x8f10a60, arg1=0x8f833f0, args=0x8fa8350)
at eval.i.c:1779
#82 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f79ca0,
argv=0xfff91c98, nargs=3) at vm-i-system.c:740
#83 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f79d70,
argv=0xfff91c94, nargs=1) at vm.c:403
#84 0xf7f31b95 in program_apply_1 (program=0x8f79d70, a=0x8f83420)
at programs.c:88
#85 0xf7eb7611 in ceval (x=0x404, env=0x8fa8438) at eval.i.c:1257
#86 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f834d0, argv=0x0,
nargs=0) at vm-i-system.c:740
#87 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f834d0, argv=0x0,
nargs=0) at vm.c:403
#88 0xf7ebea09 in scm_call_0 (proc=0x8f834d0) at eval.c:3129
---Type <return> to continue, or q <return> to quit---
#89 0xf7ec162d in apply_thunk (thunk=0x8f834d0) at fluids.c:401
#90 0xf7ec180e in scm_c_with_fluid (fluid=0x8f824f0, value=0x8fa84b8,
cproc=0xf7ec1610 <apply_thunk>, cdata=0x8f834d0) at fluids.c:464
#91 0xf7ec1865 in scm_with_fluid (fluid=0x8f824f0, value=0x8fa84b8,
thunk=0x8f834d0) at fluids.c:451
#92 0xf7ebd62f in scm_apply (proc=0x8f0fcb0, arg1=0x8f824f0, args=0x8fa8490)
at eval.i.c:1779
#93 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f82420,
argv=0xfff92a54, nargs=3) at vm-i-system.c:740
#94 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f82420,
argv=0xfff92a4c, nargs=2) at vm.c:403
#95 0xf7f31b51 in program_apply_2 (program=0x8f82420, a=0x8f7ef70, b=0x8fa8510)
at programs.c:97
#96 0xf7eb76d7 in ceval (x=0x404, env=0x8fa8598) at eval.i.c:1359
#97 0xf7ebf336 in call_closure_1 (proc=0x8fa85c0, arg1=0x8f7ef70)
at eval.c:3415
#98 0xf7ec06f6 in scm_for_each (proc=0x8fa85c0, arg1=0x8fa58b8, args=0x404)
at eval.c:3707
#99 0xf7eb7713 in ceval (x=0x404, env=0x8fa86d0) at eval.i.c:1352
#100 0xf7eb7836 in ceval (x=0xf7b25ed0, env=0x8fa86d0) at eval.i.c:359
#101 0xf7f3eb4a in vm_debug_engine (vp=0x8f3c0c8, program=0x8f342c0,
argv=0xfff93374, nargs=1) at vm-i-system.c:740
#102 0xf7f325fa in scm_c_vm_run (vm=0xf7afe650, program=0x8f342c0,
---Type <return> to continue, or q <return> to quit---
argv=0xfff9336c, nargs=2) at vm.c:403
#103 0xf7f31b51 in program_apply_2 (program=0x8f342c0, a=0x8fa3d50,
b=0x8fa3c78) at programs.c:97
#104 0xf7eb76d7 in ceval (x=0x404, env=0x8fa3ad8) at eval.i.c:1359
#105 0xf7eb7213 in ceval (x=0xf7b26388, env=0xf7b26350) at eval.i.c:330
#106 0xf7ebef4a in scm_primitive_eval_x (exp=0xf7b26358) at eval.c:4085
#107 0xf7ebefa5 in scm_eval_x (exp=0xf7b258d8, module_or_state=0x8f7f310)
at eval.c:4120
#108 0xf7efb311 in scm_shell (argc=10, argv=0xfff938b4) at script.c:771
#109 0xf7ed4306 in invoke_main_func (body_data=0xfff937e4) at init.c:372
#110 0xf7ea9972 in c_body (d=0xfff93738) at continuations.c:354
#111 0xf7f2257d in scm_c_catch (tag=0x104, body=0xf7ea9960 <c_body>,
body_data=0xfff93738, handler=0xf7ea9980 <c_handler>,
handler_data=0xfff93738,
pre_unwind_handler=0xf7f217c0 <scm_handle_by_message_noexit>,
pre_unwind_handler_data=0x0) at throw.c:242
#112 0xf7ea9f92 in scm_i_with_continuation_barrier (body=0xf7ea9960 <c_body>,
body_data=0xfff93738, handler=0xf7ea9980 <c_handler>,
handler_data=0xfff93738,
pre_unwind_handler=0xf7f217c0 <scm_handle_by_message_noexit>,
pre_unwind_handler_data=0x0) at continuations.c:330
#113 0xf7eaa073 in scm_c_with_continuation_barrier (
func=0xf7ed42c0 <invoke_main_func>, data=0xfff937e4) at continuations.c:372
---Type <return> to continue, or q <return> to quit---
#114 0xf7f20eec in scm_i_with_guile_and_parent (
func=0xf7ed42c0 <invoke_main_func>, data=0xfff937e4, parent=0x0)
at threads.c:852
#115 0xf7f20ffe in scm_with_guile (func=0xf7ed42c0 <invoke_main_func>,
data=0xfff937e4) at threads.c:831
#116 0xf7ed429f in scm_boot_guile (argc=10, argv=0xfff938b4,
main_func=0x8048810 <inner_main>, closure=0x0) at init.c:355
#117 0x08048802 in main (argc=150913616, argv=0x8f14370) at guile.c:70
(gdb)
(gdb)
next prev parent reply other threads:[~2009-06-20 18:17 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 22:05 GNU Guile 1.9.0 released (alpha) Ludovic Courtès
2009-06-19 23:55 ` Linas Vepstas
2009-06-20 3:00 ` Linas Vepstas
2009-06-20 9:14 ` Neil Jerram
2009-06-20 9:48 ` Ludovic Courtès
2009-06-20 12:31 ` Andy Wingo
2009-06-20 18:17 ` Linas Vepstas [this message]
2009-06-21 6:31 ` Mike Gran
2009-06-21 10:42 ` Andy Wingo
2009-06-21 12:36 ` Neil Jerram
2009-06-21 18:00 ` Linas Vepstas
2009-06-21 13:58 ` Ludovic Courtès
2009-06-21 14:00 ` Ludovic Courtès
2009-06-21 15:11 ` Neil Jerram
2009-06-20 12:29 ` Andy Wingo
2009-06-20 13:35 ` Ludovic Courtès
2009-06-23 16:10 ` Changying Li
2009-06-23 20:36 ` Mike Gran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ae3aa420906201117g7db10ce3h9aecc18269060d6b@mail.gmail.com \
--to=linasvepstas@gmail.com \
--cc=guile-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=wingo@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).