Hi,

i am experiencing random crashes when using subprocess followed by a
subprocess-wait. My test program, that i call via subprocess is special,
in that it kills itself very fast with a sigkill after executing.

Unfortunately, i wasn't able to reproduce this behavior in a small sample
but i could record three different core dumps with full debug info (attached).
I tested with my own build of git head and 5.3.0.21.

All crashes/freezes are preceded by the message
"unexpected error from waitpid(138321448[1]): 10"
with a completely invalid pid argument to waitpid. The errno 10
is "No child processes".

What follows this message are random freezes (ctrl+c has no effect),
heap corruptions or segfaults.

I hope the supplied information is enough to locate whatever goes wrong,
otherwise i can, of course send in more.

Tobias




--
---------------------------------------------------------
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
hangs, ctrl+c not working, 

unexpected error from waitpid(138321064[1]): 10
unexpected error from waitpid(8345[1]): 10
unexpected error from waitpid(8344[1]): 10
unexpected error from waitpid(138321064[1]): 10
unexpected error from waitpid(8345[1]): 10
unexpected error from waitpid(8344[1]): 10
unexpected error from waitpid(138321448[1]): 10
unexpected error from waitpid(138321064[1]): 10
unexpected error from waitpid(8345[1]): 10
unexpected error from waitpid(8344[1]): 10
unexpected error from waitpid(138321448[1]): 10
unexpected error from waitpid(138321064[1]): 10
unexpected error from waitpid(8345[1]): 10
unexpected error from waitpid(8344[1]): 10
unexpected error from waitpid(138321448[1]): 10

^\Quit (core dumped)

(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7643ea7 in poll () from /lib/libc.so.6
#2  0x0820f10c in default_sleep (v=0, fds=0xb56540e8) at ./../src/port.c:10114
#3  0x082c9653 in check_sleep (need_activity=1, sleep_now=1) at 
./../src/thread.c:4043
#4  0x082cb262 in scheme_thread_block (sleep_time=0) at ./../src/thread.c:4751
#5  0x082cb7b5 in scheme_block_until (_f=0x820ca17 <subp_done>, fdf=0x820cb32 
<subp_needs_wakeup>, data=0xb62bec90, delay=0) at ./../src/thread.c:4887
#6  0x0820cd8e in subprocess_wait (argc=1, argv=0xb6260eb4) at 
./../src/port.c:8670
#7  0x0808f101 in _scheme_tail_apply_from_native_fast (rator=0x83c6f58, argc=1, 
argv=0xb6260eb4) at ./../src/schnapp.inc:34
#8  0x0808efdd in _scheme_tail_apply_from_native (rator=0x83c6f58, argc=1, 
argv=0xb6260eb4) at ./../src/schnapp.inc:64
#9  0x081080a8 in ts__scheme_tail_apply_from_native (rator=0x83c6f58, argc=1, 
argv=0xb6260eb4) at ./../src/jitcall.c:174
#10 0xb7780964 in ?? ()
#11 0x08093db8 in scheme_do_eval (obj=0x0, num_rands=2, rands=0xbfd1667c, 
get_value=-1) at ./../src/eval.c:2837
#12 0x080c3638 in scheme_finish_apply_for_prompt (prompt=0x0, 
_prompt_tag=0xb57b8150, proc=0xb57b7f90, argc=2, argv=0xbfd1667c) at 
./../src/fun.c:5847
#13 0x080c3934 in scheme_apply_for_prompt (prompt=0xb39f3610, 
prompt_tag=0xb57b8150, proc=0xb57b7f90, argc=2, argv=0xbfd1667c) at 
./../src/fun.c:5926
#14 0x080c4b13 in call_with_prompt (in_argc=5, in_argv=0xb6260ec0) at 
./../src/fun.c:6325
#15 0x0808f101 in _scheme_tail_apply_from_native_fast (rator=0x83c4428, argc=5, 
argv=0xb6260ec0) at ./../src/schnapp.inc:34
#16 0x0808efdd in _scheme_tail_apply_from_native (rator=0x83c4428, argc=5, 
argv=0xb6260ec0) at ./../src/schnapp.inc:64
#17 0x081080a8 in ts__scheme_tail_apply_from_native (rator=0x83c4428, argc=5, 
argv=0xb6260ec0) at ./../src/jitcall.c:174
#18 0xb7780964 in ?? ()
#19 0xb7766064 in ?? ()
#20 0xb5902334 in ?? ()
#21 0x08093db8 in scheme_do_eval (obj=0x0, num_rands=0, rands=0x0, 
get_value=-1) at ./../src/eval.c:2837
#22 0x0808edda in _scheme_apply_multi_from_native (rator=0xb39efbe0, argc=0, 
argv=0x0) at ./../src/schnapp.inc:87
#23 0x081174d4 in ts__scheme_apply_multi_from_native (g7=0xb39efbe0, g8=0, 
g9=0x0) at ./../src/jit_ts.c:121
#24 0xb7780903 in ?? ()
#25 0x08093db8 in scheme_do_eval (obj=0x0, num_rands=0, rands=0x0, 
get_value=-1) at ./../src/eval.c:2837
#26 0x080ca33b in pre_post_dyn_wind (prepost=0xb39efbe0) at ./../src/fun.c:8214
#27 0x080ca3e7 in post_dyn_wind (d=0xb3a3fc48) at ./../src/fun.c:8237
#28 0x080cada6 in scheme_dynamic_wind (pre=0x80ca3bd <pre_dyn_wind>, 
act=0x80ca389 <do_dyn_wind>, post=0x80ca3d3 <post_dyn_wind>, jmp_handler=0, 
data=0xb3a3fc48) at ./../src/fun.c:8411
#29 0x080ca532 in dynamic_wind (c=3, argv=0xb6260f60) at ./../src/fun.c:8258
#30 0x0808f101 in _scheme_tail_apply_from_native_fast (rator=0x83c4858, argc=3, 
argv=0xb6260f60) at ./../src/schnapp.inc:34
#31 0x0808efdd in _scheme_tail_apply_from_native (rator=0x83c4858, argc=3, 
argv=0xb6260f60) at ./../src/schnapp.inc:64
#32 0x081080a8 in ts__scheme_tail_apply_from_native (rator=0x83c4858, argc=3, 
argv=0xb6260f60) at ./../src/jitcall.c:174
#33 0xb7780964 in ?? ()
#34 0x08093db8 in scheme_do_eval (obj=0x0, num_rands=11, rands=0xb6260f80, 
get_value=1) at ./../src/eval.c:2837
#35 0x080955ae in scheme_do_eval (obj=0x83c4d98, num_rands=-1, 
rands=0xb6260fac, get_value=1) at ./../src/eval.c:3228
#36 0x080955ae in scheme_do_eval (obj=0xb39ef970, num_rands=-1, 
rands=0xb6260fb0, get_value=-1) at ./../src/eval.c:3228
#37 0x080918e3 in apply_values_execute (data=0xb39e4958) at ./../src/eval.c:2031
#38 0x08096880 in scheme_do_eval (obj=0xb39e4958, num_rands=-1, rands=0x0, 
get_value=-1) at ./../src/eval.c:3666
#39 0x081815e6 in body_one_expr (prefix_plus_expr=0xb3a3fc60, argc=0, argv=0x0) 
at ./../src/module.c:5482
#40 0x08094920 in scheme_do_eval (obj=0xb3a3fc70, num_rands=0, rands=0x0, 
get_value=-1) at ./../src/eval.c:2991
#41 0x080c3638 in scheme_finish_apply_for_prompt (prompt=0x0, 
_prompt_tag=0xb6835998, proc=0xb3a3fc70, argc=0, argv=0x0) at 
./../src/fun.c:5847
#42 0x080c3934 in scheme_apply_for_prompt (prompt=0xb49d0720, 
prompt_tag=0xb6835998, proc=0xb3a3fc70, argc=0, argv=0x0) at ./../src/fun.c:5926
#43 0x080c4b13 in call_with_prompt (in_argc=3, in_argv=0xbfd17fac) at 
./../src/fun.c:6325
#44 0x08092f20 in scheme_do_eval (obj=0x83c4428, num_rands=3, rands=0xbfd17fac, 
get_value=-1) at ./../src/eval.c:2582
#45 0x080c53a5 in do_call_with_prompt (f=0x818155b <body_one_expr>, 
data=0xb42866a0, multi=1, top_level=0) at ./../src/fun.c:6520
#46 0x080c54f9 in _scheme_call_with_prompt_multi (f=0x818155b <body_one_expr>, 
data=0xb42866a0) at ./../src/fun.c:6546
#47 0x08181aa9 in scheme_module_run_finish (menv=0xb4eb84d8, env=0xb56587c8) at 
./../src/module.c:5577
#48 0xb777c375 in ?? ()
#49 0x0815f69c in scheme_module_run_start (menv=0xb4eb84d8, env=0xb56587c8, 
name=0xb3a3fce8) at ./../src/jitstack.c:492
#50 0x08181544 in eval_module_body (menv=0xb4eb84d8, env=0xb56587c8) at 
./../src/module.c:5471
#51 0x08180d19 in do_start_module (m=0xb49c50a8, menv=0xb49d1378, 
env=0xb56587c8, restart=0) at ./../src/module.c:5265
#52 0x08181118 in start_module (m=0xb4eb8560, env=0xb56587c8, restart=0, 
syntax_idx=0xb5659688, eval_exp=-1, eval_run=1, base_phase=0, 
cycle_list=0x839d470, not_new=0)
    at ./../src/module.c:5362
#53 0x0819ee66 in parse_requires (form=0xb5659688, at_phase=0, 
base_modidx=0x839cacc, main_env=0xb56587c8, for_m=0x0, rn_set=0xb3a3fd08, 
post_ex_rn_set=0x0, ck=0, data=0x0, 
    redef_modname=0x0, unpack_kern=1, copy_vars=0, can_save_marshal=0, 
eval_exp=-1, eval_run=1, all_simple=0x0, modidx_cache=0x0, submodule_names=0x0) 
at ./../src/module.c:11728
#54 0x08173880 in do_namespace_require (env=0xb56587c8, argc=1, 
argv=0xbfd18c18, copy=0, etonly=0) at ./../src/module.c:1293
#55 0x08173900 in namespace_require (argc=1, argv=0xbfd18c18) at 
./../src/module.c:1309
#56 0x08092f20 in scheme_do_eval (obj=0x83c6af8, num_rands=1, rands=0xbfd18c18, 
get_value=1) at ./../src/eval.c:2582
#57 0x080b39c8 in apply_k () at ./../src/fun.c:1336
#58 0x080b3213 in scheme_top_level_do_worker (k=0x80b38a2 <apply_k>, eb=1, 
new_thread=0, dyn_state=0x0) at ./../src/fun.c:1175
#59 0x080b2da6 in scheme_top_level_do (k=0x80b38a2 <apply_k>, eb=1) at 
./../src/fun.c:1088
#60 0x080b3a4a in _apply (rator=0x83c6af8, num_rands=1, rands=0xbfd18c18, 
multi=0, eb=1) at ./../src/fun.c:1349
#61 0x080b3a7b in scheme_apply (rator=0x83c6af8, num_rands=1, rands=0xbfd18c18) 
at ./../src/fun.c:1355
#62 0x0806b6b6 in finish_cmd_line_run (fa=0xb56542f8, repl=0x806e01f 
<do_scheme_rep>) at ./../cmdline.inc:373
#63 0x0806e01d in cont_run (f=0xb62f7060) at ./../main.c:407
#64 0x0806dcdc in run_from_cmd_line (argc=0, _argv=0xbfd18fe4, 
mk_basic_env=0x8074dea <scheme_basic_env>, cont_run=0x806e004 <cont_run>) at 
./../cmdline.inc:1415
#65 0x0806dfc1 in main_after_stack (data=0xbfd18f20) at ./../main.c:392
#66 0x0806e2f2 in do_main_stack_setup (no_auto_statics=1, _main=0x806dee8 
<main_after_stack>, data=0xbfd18f20) at ./../src/salloc.c:194
#67 0x0806e346 in scheme_main_stack_setup (no_auto_statics=1, _main=0x806dee8 
<main_after_stack>, data=0xbfd18f20) at ./../src/salloc.c:296
#68 0x0806dee6 in main_after_dlls (argc=2, argv=0xbfd18fe4) at ./../main.c:323
#69 0x0806deb0 in main (argc=Cannot access memory at address 0x2
) at ./../main.c:299



segv crash

unexpected error from waitpid(138320536[1]): 10
unexpected error from waitpid(138320504[1]): 10
unexpected error from waitpid(138320472[1]): 10
unexpected error from waitpid(138320344[1]): 10
unexpected error from waitpid(138304584[1]): 10
unexpected error from waitpid(138320664[1]): 10
unexpected error from waitpid(138304584[1]): 10
SIGSEGV MAPERR si_code 1 fault on addr 0xbfa3499c
unexpected error from waitpid(138320856[1]): 10
unexpected error from waitpid(138320616[1]): 10
unexpected error from waitpid(138320616[1]): 10
Aborted (core dumped)

(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7515c10 in raise () from /lib/libc.so.6
#2  0xb7517545 in abort () from /lib/libc.so.6
#3  0x0830858d in fault_handler (sn=11, si=0x83d577c, ctx=0x83d57fc) at 
./sighand.c:99
#4  <signal handler called>
#5  0xb75588a0 in malloc_consolidate () from /lib/libc.so.6
#6  0xb755ace6 in _int_malloc () from /lib/libc.so.6
#7  0xb755d0d4 in malloc () from /lib/libc.so.6
#8  0xb7502b3d in __gconv_open () from /lib/libc.so.6
#9  0xb75024ff in iconv_open () from /lib/libc.so.6
#10 0x082850fc in string_to_from_locale (to_bytes=1, in=0xb541a1e8 "/", 
delta=0, len=9, olen=0xbfe80c74, perm=63, no_cvt=0xbfe80c5c) at 
xsrc/string.c:6702
#11 0x082812fe in do_char_string_to_byte_string_locale (who=0x8362b0b "s->s", 
cstr=0xb56be2a8, istart=0, ifinish=9, perm=63) at xsrc/string.c:5316
#12 0x08281432 in scheme_char_string_to_byte_string_locale (s=0xb56be2a8) at 
xsrc/string.c:5349
#13 0x0809fb8e in scheme_char_string_to_path (p=0xb56be2a8) at 
./../src/file.c:759
#14 0x080a291f in do_expand_filename (o=0xb56be2a8, filename=0x0, ilen=0, 
errorin=0x835b5a7 "subprocess", expanded=0x0, report_bad_user=1, fullpath=1, 
guards=4, kind=58, expand_user=0)
    at ./../src/file.c:1785
#15 0x080a36c0 in scheme_expand_string_filename (o=0xb56be2a8, 
errorin=0x835b5a7 "subprocess", expanded=0x0, guards=4) at ./../src/file.c:2036
#16 0x0820d9ec in subprocess (c=6, args=0xb61d0ee0) at ./../src/port.c:9150
#17 0x0808ef20 in _scheme_apply_multi_from_native_fast (rator=0x83c6eb0, 
argc=6, argv=0xb61d0ee0) at ./../src/schnapp.inc:34
#18 0x0808ed29 in _scheme_apply_multi_from_native (rator=0x83c6eb0, argc=6, 
argv=0xb61d0ee0) at ./../src/schnapp.inc:64
#19 0x0810825b in x_ts__scheme_apply_multi_from_native (rator=0x83c6eb0, 
argc=6, argv=0xb61d0ee0) at ./../src/jitcall.c:224
#20 0xb76d5d3f in ?? ()
#21 0x08093db8 in scheme_do_eval (obj=0x0, num_rands=0, rands=0x0, 
get_value=-1) at ./../src/eval.c:2837
#22 0x0808edda in _scheme_apply_multi_from_native (rator=0xb395fbe0, argc=0, 
argv=0x0) at ./../src/schnapp.inc:87
#23 0x081174d4 in ts__scheme_apply_multi_from_native (g7=0xb395fbe0, g8=0, 
g9=0x0) at ./../src/jit_ts.c:121
#24 0xb76f1903 in ?? ()
#25 0x08093db8 in scheme_do_eval (obj=0x0, num_rands=0, rands=0x0, 
get_value=-1) at ./../src/eval.c:2837
#26 0x080ca33b in pre_post_dyn_wind (prepost=0xb395fbe0) at ./../src/fun.c:8214
#27 0x080ca3e7 in post_dyn_wind (d=0xb39af978) at ./../src/fun.c:8237
#28 0x080cada6 in scheme_dynamic_wind (pre=0x80ca3bd <pre_dyn_wind>, 
act=0x80ca389 <do_dyn_wind>, post=0x80ca3d3 <post_dyn_wind>, jmp_handler=0, 
data=0xb39af978) at ./../src/fun.c:8411
#29 0x080ca532 in dynamic_wind (c=3, argv=0xb61d0f60) at ./../src/fun.c:8258
#30 0x0808f101 in _scheme_tail_apply_from_native_fast (rator=0x83c4858, argc=3, 
argv=0xb61d0f60) at ./../src/schnapp.inc:34
#31 0x0808efdd in _scheme_tail_apply_from_native (rator=0x83c4858, argc=3, 
argv=0xb61d0f60) at ./../src/schnapp.inc:64
#32 0x081080a8 in ts__scheme_tail_apply_from_native (rator=0x83c4858, argc=3, 
argv=0xb61d0f60) at ./../src/jitcall.c:174
#33 0xb76f1964 in ?? ()
#34 0x08093db8 in scheme_do_eval (obj=0x0, num_rands=11, rands=0xb61d0f80, 
get_value=1) at ./../src/eval.c:2837
#35 0x080955ae in scheme_do_eval (obj=0x83c4d98, num_rands=-1, 
rands=0xb61d0fac, get_value=1) at ./../src/eval.c:3228
#36 0x080955ae in scheme_do_eval (obj=0xb395f970, num_rands=-1, 
rands=0xb61d0fb0, get_value=-1) at ./../src/eval.c:3228
#37 0x080918e3 in apply_values_execute (data=0xb3954958) at ./../src/eval.c:2031
#38 0x08096880 in scheme_do_eval (obj=0xb3954958, num_rands=-1, rands=0x0, 
get_value=-1) at ./../src/eval.c:3666
#39 0x081815e6 in body_one_expr (prefix_plus_expr=0xb39af990, argc=0, argv=0x0) 
at ./../src/module.c:5482
#40 0x08094920 in scheme_do_eval (obj=0xb39af9a0, num_rands=0, rands=0x0, 
get_value=-1) at ./../src/eval.c:2991
#41 0x080c3638 in scheme_finish_apply_for_prompt (prompt=0x0, 
_prompt_tag=0xb67a5998, proc=0xb39af9a0, argc=0, argv=0x0) at 
./../src/fun.c:5847
#42 0x080c3934 in scheme_apply_for_prompt (prompt=0xb4940720, 
prompt_tag=0xb67a5998, proc=0xb39af9a0, argc=0, argv=0x0) at ./../src/fun.c:5926
#43 0x080c4b13 in call_with_prompt (in_argc=3, in_argv=0xbfe828ac) at 
./../src/fun.c:6325
#44 0x08092f20 in scheme_do_eval (obj=0x83c4428, num_rands=3, rands=0xbfe828ac, 
get_value=-1) at ./../src/eval.c:2582
#45 0x080c53a5 in do_call_with_prompt (f=0x818155b <body_one_expr>, 
data=0xb41f66a0, multi=1, top_level=0) at ./../src/fun.c:6520
#46 0x080c54f9 in _scheme_call_with_prompt_multi (f=0x818155b <body_one_expr>, 
data=0xb41f66a0) at ./../src/fun.c:6546
#47 0x08181aa9 in scheme_module_run_finish (menv=0xb4e284f0, env=0xb55c87c8) at 
./../src/module.c:5577
#48 0xb76ed375 in ?? ()
#49 0x0815f69c in scheme_module_run_start (menv=0xb4e284f0, env=0xb55c87c8, 
name=0xb39afa18) at ./../src/jitstack.c:492
#50 0x08181544 in eval_module_body (menv=0xb4e284f0, env=0xb55c87c8) at 
./../src/module.c:5471
#51 0x08180d19 in do_start_module (m=0xb49350a8, menv=0xb4941378, 
env=0xb55c87c8, restart=0) at ./../src/module.c:5265
#52 0x08181118 in start_module (m=0xb4e28578, env=0xb55c87c8, restart=0, 
syntax_idx=0xb55c9688, eval_exp=-1, eval_run=1, base_phase=0, 
cycle_list=0x839d470, not_new=0)
    at ./../src/module.c:5362
#53 0x0819ee66 in parse_requires (form=0xb55c9688, at_phase=0, 
base_modidx=0x839cacc, main_env=0xb55c87c8, for_m=0x0, rn_set=0xb39afa38, 
post_ex_rn_set=0x0, ck=0, data=0x0, 
    redef_modname=0x0, unpack_kern=1, copy_vars=0, can_save_marshal=0, 
eval_exp=-1, eval_run=1, all_simple=0x0, modidx_cache=0x0, submodule_names=0x0) 
at ./../src/module.c:11728
#54 0x08173880 in do_namespace_require (env=0xb55c87c8, argc=1, 
argv=0xbfe83518, copy=0, etonly=0) at ./../src/module.c:1293
#55 0x08173900 in namespace_require (argc=1, argv=0xbfe83518) at 
./../src/module.c:1309
#56 0x08092f20 in scheme_do_eval (obj=0x83c6af8, num_rands=1, rands=0xbfe83518, 
get_value=1) at ./../src/eval.c:2582
#57 0x080b39c8 in apply_k () at ./../src/fun.c:1336
#58 0x080b3213 in scheme_top_level_do_worker (k=0x80b38a2 <apply_k>, eb=1, 
new_thread=0, dyn_state=0x0) at ./../src/fun.c:1175
#59 0x080b2da6 in scheme_top_level_do (k=0x80b38a2 <apply_k>, eb=1) at 
./../src/fun.c:1088
#60 0x080b3a4a in _apply (rator=0x83c6af8, num_rands=1, rands=0xbfe83518, 
multi=0, eb=1) at ./../src/fun.c:1349
#61 0x080b3a7b in scheme_apply (rator=0x83c6af8, num_rands=1, rands=0xbfe83518) 
at ./../src/fun.c:1355
#62 0x0806b6b6 in finish_cmd_line_run (fa=0xb55c42f8, repl=0x806e01f 
<do_scheme_rep>) at ./../cmdline.inc:373
#63 0x0806e01d in cont_run (f=0xb6267060) at ./../main.c:407
#64 0x0806dcdc in run_from_cmd_line (argc=0, _argv=0xbfe838e4, 
mk_basic_env=0x8074dea <scheme_basic_env>, cont_run=0x806e004 <cont_run>) at 
./../cmdline.inc:1415
#65 0x0806dfc1 in main_after_stack (data=0xbfe83820) at ./../main.c:392
#66 0x0806e2f2 in do_main_stack_setup (no_auto_statics=1, _main=0x806dee8 
<main_after_stack>, data=0xbfe83820) at ./../src/salloc.c:194
#67 0x0806e346 in scheme_main_stack_setup (no_auto_statics=1, _main=0x806dee8 
<main_after_stack>, data=0xbfe83820) at ./../src/salloc.c:296
#68 0x0806dee6 in main_after_dlls (argc=2, argv=0xbfe838e4) at ./../main.c:323
#69 0x0806deb0 in main (argc=0, argv=0x11) at ./../main.c:299
double free crash

(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb75d8c10 in raise () from /lib/libc.so.6
#2  0xb75da545 in abort () from /lib/libc.so.6
#3  0xb76156a5 in __libc_message () from /lib/libc.so.6
#4  0xb761b594 in malloc_printerr () from /lib/libc.so.6
#5  0xb761cec3 in _int_free () from /lib/libc.so.6
#6  0xb761fffd in free () from /lib/libc.so.6
#7  0x081f56a2 in mz_proc_thread_signal_worker (data=0x0) at 
./../src/place.c:887
#8  0x081a01d4 in mzrt_thread_stub (data=0x83cf090) at ./../src/mzrt.c:171
#9  0xb77177b9 in start_thread () from /lib/libpthread.so.0
#10 0xb768291e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

unexpected error from waitpid(138321680[1]): 10
unexpected error from waitpid(138320184[1]): 10
unexpected error from waitpid(138304504[1]): 10
unexpected error from waitpid(138304504[1]): 10
*** glibc detected *** /home_local/hamm_to/racket/repo/bin/racket: double free 
or corruption (fasttop): 0x083e5c00 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6d594)[0xb761b594]
/lib/libc.so.6(+0x6eec3)[0xb761cec3]
/lib/libc.so.6(cfree+0x6d)[0xb761fffd]
/home_local/hamm_to/racket/repo/bin/racket[0x81f56a2]
/home_local/hamm_to/racket/repo/bin/racket(mzrt_thread_stub+0x51)[0x81a01d4]
/lib/libpthread.so.0(+0x67b9)[0xb77177b9]
/lib/libc.so.6(clone+0x5e)[0xb768291e]
======= Memory map: ========
08048000-0836c000 r-xp 00000000 08:07 554420992  
/home_local/hamm_to/racket/repo/bin/racket
0836c000-0836d000 r--p 00323000 08:07 554420992  
/home_local/hamm_to/racket/repo/bin/racket
0836d000-08396000 rw-p 00324000 08:07 554420992  
/home_local/hamm_to/racket/repo/bin/racket
08396000-083f8000 rw-p 00000000 00:00 0          [heap]
b3000000-b3021000 rw-p 00000000 00:00 0 
b3021000-b3100000 ---p 00000000 00:00 0 
b3200000-b3221000 rw-p 00000000 00:00 0 
b3221000-b3300000 ---p 00000000 00:00 0 
b331d000-b333a000 r-xp 00000000 08:06 45428227   /lib/libgcc_s.so.1
b333a000-b333b000 r--p 0001c000 08:06 45428227   /lib/libgcc_s.so.1
b333b000-b333c000 rw-p 0001d000 08:06 45428227   /lib/libgcc_s.so.1
b339c000-b3a00000 rw-p 00000000 00:00 0 
b3a00000-b3a14000 r--p 00000000 00:00 0 
b3a14000-b3a1c000 rw-p 00000000 00:00 0 
b3a1c000-b3a20000 r--p 00000000 00:00 0 
b3a20000-b3a34000 rw-p 00000000 00:00 0 
b3a34000-b3a60000 r--p 00000000 00:00 0 
b3a60000-b3a64000 rw-p 00000000 00:00 0 
b3a64000-b3a68000 r--p 00000000 00:00 0 
b3a68000-b3a74000 rw-p 00000000 00:00 0 
b3a74000-b4200000 r--p 00000000 00:00 0 
b4200000-b4750000 rw-p 00000000 00:00 0 
b4750000-b4758000 r--p 00000000 00:00 0 
b4758000-b4770000 rw-p 00000000 00:00 0 
b4770000-b4780000 r--p 00000000 00:00 0 
b4780000-b490c000 rw-p 00000000 00:00 0 
b494d000-b4954000 rwxp 00000000 00:00 0 
b4954000-b4b70000 rw-p 00000000 00:00 0 
b4b70000-b4ee4000 r--p 00000000 00:00 0 
b4ee4000-b4eec000 rw-p 00000000 00:00 0 
b4eec000-b4f70000 r--p 00000000 00:00 0 
b4f70000-b4fd0000 rw-p 00000000 00:00 0 
b4fd0000-b4fd8000 r--p 00000000 00:00 0 
b4fd8000-b504c000 rw-p 00000000 00:00 0 
b508e000-b5090000 rwxp 00000000 00:00 0 
b5090000-b51c8000 rw-p 00000000 00:00 0 
b51d4000-b5210000 rwxp 00000000 00:00 0 
b5210000-b5688000 rw-p 00000000 00:00 0 
b5688000-b568c000 r--p 00000000 00:00 0 
b568c000-b5690000 rw-p 00000000 00:00 0 
b5690000-b56d8000 r--p 00000000 00:00 0 
b56d8000-b56dc000 rw-p 00000000 00:00 0 
b56dc000-b56ec000 r--p 00000000 00:00 0 
b56ec000-b56f0000 rw-p 00000000 00:00 0 
b56f0000-b56f8000 r--p 00000000 00:00 0 
b56f8000-b56fc000 rw-p 00000000 00:00 0 
b56fc000-b5704000 r--p 00000000 00:00 0 
b5704000-b5708000 rw-p 00000000 00:00 0 
b5708000-b57d8000 r--p 00000000 00:00 0 
b57d8000-b57dc000 rw-p 00000000 00:00 0 
b57dc000-b585c000 r--p 00000000 00:00 0 
b585c000-b5860000 rw-p 00000000 00:00 0 
b5860000-b5884000 r--p 00000000 00:00 0 
b5884000-b5888000 rwxp 00000000 00:00 0 
b5888000-b5908000 rw-p 00000000 00:00 0 
b5908000-b5910000 r--p 00000000 00:00 0 
b5910000-b5934000 rw-p 00000000 00:00 0 
b5934000-b5976000 rwxp 00000000 00:00 0 
b5976000-b5a93000 r--p 00000000 08:06 43101789   
/usr/lib/locale/en_US.utf8/LC_COLLATE
b5a93000-b5a94000 ---p 00000000 00:00 0 
b5a94000-b62b0000 rw-p 00000000 00:00 0 
b62b0000-b62bc000 r--p 00000000 00:00 0 
b62bc000-b63dc000 rw-p 00000000 00:00 0 
b63dc000-b641e000 rwxp 00000000 00:00 0 
b641e000-b6a64000 rw-p 00000000 00:00 0 
b6a64000-b6a67000 rwxp 00000000 00:00 0 
b6a67000-b6a68000 ---p 00000000 00:00 0 
b6a68000-b7368000 rw-p 00000000 00:00 0 
b7368000-b736a000 rwxp 00000000 00:00 0 
b736a000-b73a9000 r--p 00000000 08:06 37340060   
/usr/lib/locale/en_US.utf8/LC_CTYPE
b73a9000-b75ae000 rw-p 00000000 00:00 0 
b75ae000-b770a000 r-xp 00000000 08:06 43099551   /lib/libc-2.11.1.so
b770a000-b770b000 ---p 0015c000 08:06 43099551   /lib/libc-2.11.1.so
b770b000-b770d000 r--p 0015c000 08:06 43099551   /lib/libc-2.11.1.so
b770d000-b770e000 rw-p 0015e000 08:06 43099551   /lib/libc-2.11.1.so
b770e000-b7711000 rw-p 00000000 00:00 0 
b7711000-b7728000 r-xp 00000000 08:06 45135443   /lib/libpthread-2.11.1.so
b7728000-b7729000 r--p 00016000 08:06 45135443   /lib/libpthread-2.11.1.so
b7729000-b772a000 rw-p 00017000 08:06 45135443   /lib/libpthread-2.11.1.so
b772a000-b772c000 rw-p 00000000 00:00 0 
b772c000-b7752000 r-xp 00000000 08:06 45135427   /lib/libm-2.11.1.so
b7752000-b7753000 r--p 00026000 08:06 45135427   /lib/libm-2.11.1.so
b7753000-b7754000 rw-p 00027000 08:06 45135427   /lib/libm-2.11.1.so
b7754000-b7757000 r-xp 00000000 08:06 45135425   /lib/libdl-2.11.1.so
b7757000-b7758000 r--p 00002000 08:06 45135425   /lib/libdl-2.11.1.so
b7758000-b7759000 rw-p 00003000 08:06 45135425   /lib/libdl-2.11.1.so
b7759000-b7770000 rwxp 00000000 00:00 0 
b7770000-b7778000 rw-p 00000000 00:00 0 
b7778000-b77a2000 rwxp 00000000 00:00 0 
b77a2000-b77a9000 r--s 00000000 08:06 76946010   
/usr/lib/gconv/gconv-modules.cache
b77a9000-b77b8000 rwxp 00000000 00:00 0 
b77b8000-b77ba000 rw-p 00000000 00:00 0 
b77ba000-b77d9000 r-xp 00000000 08:06 45428226   /lib/ld-2.11.1.so
b77d9000-b77da000 r--p 0001e000 08:06 45428226   /lib/ld-2.11.1.so
b77da000-b77db000 rw-p 0001f000 08:06 45428226   /lib/ld-2.11.1.so
bfab5000-bfadb000 rw-p 00000000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Aborted (core dumped)
_________________________
  Racket Developers list:
  http://lists.racket-lang.org/dev

Reply via email to