Create a gist now

Instantly share code, notes, and snippets.

#lang racket/load
(module m typed/racket
(define: v : Any (exn "" (current-continuation-marks)))
(provide v))
(module n racket
(require 'm)
v)
(require 'n)
SIGSEGV MAPERR si_code 1 fault on addr 0x9ae08e0
Program received signal SIGABRT, Aborted.
0xb7744424 in __kernel_vsyscall ()
(gdb) where
#0 0xb7744424 in __kernel_vsyscall ()
#1 0xb75581df in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0xb755b825 in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x0826a90d in fault_handler (sn=11, si=0x9b02f7c, ctx=0x9b02ffc)
at ../../../racket/gc2/sighand.c:118
#4 <signal handler called>
#5 0x081bc547 in print (obj=0xb3211868, notdisplay=1, compact=0, ht=0x0,
mt=0x0, pp=0xbfb95a40) at ../../../racket/gc2/../src/print.c:3187
#6 0x081bff99 in print_to_string (obj=0xb3211868, len=0xbfb95b0c, write=1,
port=0xaf45e2e8, maxl=-1, qq_depth=0x0, _release_to_quick=0xbfb95b10)
at ../../../racket/gc2/../src/print.c:1105
#7 0x081c06d1 in print_to_port (name=0x82b066f "write", obj=0xb3211868,
port=0xaf45e2e8, notdisplay=1, maxl=-1, qq_depth=0x0)
at ../../../racket/gc2/../src/print.c:1141
#8 0x081c07ec in scheme_internal_write (obj=0xb3211868, port=0xaf45e2e8)
at ../../../racket/gc2/../src/print.c:450
#9 0x081b3e76 in sch_default_write_handler (argc=2, argv=0xa75c4c04)
at ../../../racket/gc2/../src/portfun.c:3909
#10 0xb57f8267 in ?? ()
#11 0xb57f8944 in ?? ()
#12 0xa6de8104 in ?? ()
#13 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162482416,
rands=0xbfb95d3c, get_value=1) at ../../../racket/gc2/../src/eval.c:2902
#14 0x08084aa1 in def_error_value_string_proc (argc=2, argv=0xbfb95e74)
at ../../../racket/gc2/../src/error.c:3146
#15 0x080947f1 in scheme_do_eval (obj=0x9af8538, num_rands=2,
rands=0xbfb95e74, get_value=1) at ../../../racket/gc2/../src/eval.c:2647
#16 0x0807c58b in error_write_to_string_w_max (v=0xb3211868, len=250,
lenout=0xbfb95f50) at ../../../racket/gc2/../src/error.c:1066
#17 0x0807e43b in scheme_make_provided_string (o=0xb3211868, count=1,
lenout=0xbfb95f50) at ../../../racket/gc2/../src/error.c:2497
#18 0x08084494 in scheme_wrong_contract (
name=0x82c3f55 "make-struct-field-accessor",
expected=0x82c4be8 "(and/c struct-accessor-procedure? (lambda (p) (procedure-arity-includes? p 2)))", which=0, argc=2, argv=0xa75c4d34)
at ../../../racket/gc2/../src/error.c:1683
#19 0x08211297 in make_struct_field_xxor (
who=0x82c3f55 "make-struct-field-accessor", getter=1, argc=2,
argv=0xa75c4d34) at ../../../racket/gc2/../src/struct.c:3209
#20 0xb5809a63 in ?? ()
#21 0xb772ae54 in ?? ()
#22 0xb5809e04 in ?? ()
#23 0xb5808854 in ?? ()
---Type <return> to continue, or q <return> to quit---
#24 0xb5808854 in ?? ()
#25 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162441336,
rands=0xa75c4e04, get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#26 0x08092a9a in define_execute_with_dynamic_state (vec=0xaf5311e0, delta=1,
defmacro=0, rp=0x0, dm_env=0x0, dyn_state=0x0)
at ../../../racket/gc2/../src/eval.c:1888
#27 0x08093386 in define_values_execute (data=<optimized out>)
at ../../../racket/gc2/../src/eval.c:2032
#28 0x08093e69 in scheme_do_eval (obj=0xaf5311e0, num_rands=<optimized out>,
rands=0x0, get_value=-1) at ../../../racket/gc2/../src/eval.c:3672
#29 0x0812a7b4 in body_one_expr (prefix_plus_expr=0xaf45cae0, argc=0, argv=0x0)
at ../../../racket/gc2/../src/module.c:5536
#30 0x080935f6 in scheme_do_eval (obj=0xaf45caf0, num_rands=<optimized out>,
rands=0x0, get_value=-1) at ../../../racket/gc2/../src/eval.c:3056
#31 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb6598908, proc=0xaf45caf0, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#32 0x080b7029 in scheme_apply_for_prompt (prompt=0xaf54a9c0,
prompt_tag=0xb6598908, proc=0xaf45caf0, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#33 0x080bc7be in call_with_prompt (in_argc=3, in_argv=0xbfb967bc)
at ../../../racket/gc2/../src/fun.c:6609
#34 0x080947f1 in scheme_do_eval (obj=0x9af1cc0, num_rands=3,
rands=0xbfb967bc, get_value=-1) at ../../../racket/gc2/../src/eval.c:2647
#35 0x080b0085 in do_call_with_prompt (f=<optimized out>,
data=<optimized out>, multi=1, top_level=0)
at ../../../racket/gc2/../src/fun.c:6822
#36 0x0813a992 in scheme_module_run_finish (menv=0xaf532a58, env=0x9a9766e0)
at ../../../racket/gc2/../src/module.c:5631
#37 0xb5807a45 in ?? ()
#38 0x0811be58 in scheme_module_run_start (menv=0xaf532a58, env=0x9a9766e0,
name=0xaf45c9c8) at ../../../racket/gc2/../src/jitstack.c:596
#39 0x0812909c in eval_module_body (menv=0xaf532a58, env=0x9a9766e0)
at ../../../racket/gc2/../src/module.c:5525
#40 0x0812cf8b in do_start_module (menv=0xaf532a58, env=0x9a9766e0,
m=<optimized out>, restart=<optimized out>)
at ../../../racket/gc2/../src/module.c:5319
#41 0x08134cf8 in start_module (m=0xaf531618, env=0x9a9766e0, restart=0,
syntax_idx=0xaf401330, eval_exp=-1, eval_run=1, base_phase=0,
cycle_list=0x832a80c, not_new=0)
at ../../../racket/gc2/../src/module.c:5416
#42 0x081411cf in parse_requires (form=0xaf532658, at_phase=0,
base_modidx=0x8329e44, main_env=0x9a9766e0, rn_set=0xaf4012e8,
---Type <return> to continue, or q <return> to quit---
post_ex_rn_set=0xaf4012e8, ck=0x8131af0 <check_dup_require>, data=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,
for_m=<optimized out>, redef_modname=<optimized out>)
at ../../../racket/gc2/../src/module.c:11784
#43 0x08142cf0 in do_require_execute (env=0x9a9766e0, form=0xaf532658)
at ../../../racket/gc2/../src/module.c:11926
#44 0x0814fe35 in scheme_top_level_require_execute (data=0xaf401068)
at ../../../racket/gc2/../src/module.c:11943
#45 0x08093dc1 in scheme_do_eval (obj=0xaf401068, num_rands=<optimized out>,
rands=0x0, get_value=-1) at ../../../racket/gc2/../src/eval.c:3719
#46 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb6598908, proc=0xaf5317d0, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#47 0x080b7029 in scheme_apply_for_prompt (prompt=0xaf5317e8,
prompt_tag=0xb6598908, proc=0xaf5317d0, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#48 0x080bc7be in call_with_prompt (in_argc=3, in_argv=0xa75c4e24)
at ../../../racket/gc2/../src/fun.c:6609
#49 0xb5803964 in ?? ()
#50 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162471104, rands=0x0,
get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#51 0x080a6a0a in do_dyn_wind (d=0xaf531768)
at ../../../racket/gc2/../src/fun.c:8593
#52 0x080b9fd9 in scheme_dynamic_wind (pre=0x80a8430 <pre_dyn_wind>,
act=0x80a69e0 <do_dyn_wind>, post=0x80a8420 <post_dyn_wind>,
jmp_handler=0, data=0xaf531768) at ../../../racket/gc2/../src/fun.c:8735
#53 0x080ba729 in dynamic_wind (c=3, argv=0xa75c4e3c)
at ../../../racket/gc2/../src/fun.c:8624
#54 0xb5803964 in ?? ()
#55 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162472176,
rands=0xa75c4e54, get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#56 0x0812a7b4 in body_one_expr (prefix_plus_expr=0xaf5316b8, argc=0, argv=0x0)
at ../../../racket/gc2/../src/module.c:5536
#57 0x080935f6 in scheme_do_eval (obj=0xaf5316c8, num_rands=<optimized out>,
rands=0x0, get_value=-1) at ../../../racket/gc2/../src/eval.c:3056
#58 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb6598908, proc=0xaf5316c8, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#59 0x080b7029 in scheme_apply_for_prompt (prompt=0xb3283920,
prompt_tag=0xb6598908, proc=0xaf5316c8, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#60 0x080bc7be in call_with_prompt (in_argc=3, in_argv=0xbfb9786c)
---Type <return> to continue, or q <return> to quit---
at ../../../racket/gc2/../src/fun.c:6609
#61 0x080947f1 in scheme_do_eval (obj=0x9af1cc0, num_rands=3,
rands=0xbfb9786c, get_value=-1) at ../../../racket/gc2/../src/eval.c:2647
#62 0x080b0085 in do_call_with_prompt (f=<optimized out>,
data=<optimized out>, multi=1, top_level=0)
at ../../../racket/gc2/../src/fun.c:6822
#63 0x0813a992 in scheme_module_run_finish (menv=0x9a7a6e60, env=0x9a7a65e8)
at ../../../racket/gc2/../src/module.c:5631
#64 0xb5807a45 in ?? ()
#65 0x0811be58 in scheme_module_run_start (menv=0x9a7a6e60, env=0x9a7a65e8,
name=0x9a976a00) at ../../../racket/gc2/../src/jitstack.c:596
#66 0x0812909c in eval_module_body (menv=0x9a7a6e60, env=0x9a7a65e8)
at ../../../racket/gc2/../src/module.c:5525
#67 0x0812cf8b in do_start_module (menv=0x9a7a6e60, env=0x9a7a65e8,
m=<optimized out>, restart=<optimized out>)
at ../../../racket/gc2/../src/module.c:5319
#68 0x08134cf8 in start_module (m=0x9a7a6f00, env=0x9a7a65e8, restart=0,
syntax_idx=0x9a7a6e40, eval_exp=-1, eval_run=1, base_phase=0,
cycle_list=0x832a80c, not_new=0)
at ../../../racket/gc2/../src/module.c:5416
#69 0x081411cf in parse_requires (form=0x9a7a6fb8, at_phase=0,
base_modidx=0x8329e44, main_env=0x9a7a65e8, rn_set=0x9a7a6fd8,
post_ex_rn_set=0x0, ck=0, data=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, for_m=<optimized out>,
redef_modname=<optimized out>) at ../../../racket/gc2/../src/module.c:11784
#70 0x08143118 in do_namespace_require (env=0x9a7a65e8, argv=0xa75c4e5c,
copy=0, etonly=0, argc=<optimized out>)
at ../../../racket/gc2/../src/module.c:1294
#71 0xb58096c4 in ?? ()
#72 0xb772a560 in ?? ()
#73 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162481040, rands=0x0,
get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#74 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb6598908, proc=0x9a7a7000, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#75 0x080b7029 in scheme_apply_for_prompt (prompt=0xaa89c320,
prompt_tag=0xb6598908, proc=0x9a7a7000, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#76 0x080bc7be in call_with_prompt (in_argc=1, in_argv=0xa75c4e88)
at ../../../racket/gc2/../src/fun.c:6609
#77 0xb58096c4 in ?? ()
#78 0xb772a560 in ?? ()
---Type <return> to continue, or q <return> to quit---
#79 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162471104, rands=0x0,
get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#80 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb6598908, proc=0x9a7a7090, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#81 0x080b7029 in scheme_apply_for_prompt (prompt=0xaac9cbe8,
prompt_tag=0xb6598908, proc=0x9a7a7090, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#82 0x080bc7be in call_with_prompt (in_argc=3, in_argv=0xa75c4ebc)
at ../../../racket/gc2/../src/fun.c:6609
#83 0x08097206 in _scheme_apply_multi_from_native_fast (argv=0xa75c4ebc,
argc=3, rator=0x9af1cc0) at ../../../racket/gc2/../src/schnapp.inc:34
#84 _scheme_apply_multi_from_native (rator=0x9af1cc0, argc=3, argv=0xa75c4ebc)
at ../../../racket/gc2/../src/schnapp.inc:64
#85 0xb772ad7d in ?? ()
#86 0xb772a560 in ?? ()
#87 0xb58095b4 in ?? ()
#88 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162471104, rands=0x0,
get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#89 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb38ab2f0, proc=0x9a7a7120, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#90 0x080b7029 in scheme_apply_for_prompt (prompt=0xac65c098,
prompt_tag=0xb38ab2f0, proc=0x9a7a7120, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#91 0x080bc7be in call_with_prompt (in_argc=2, in_argv=0xa75c4f64)
at ../../../racket/gc2/../src/fun.c:6609
#92 0xb5803964 in ?? ()
#93 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162471104, rands=0x0,
get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#94 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb6598908, proc=0x9a7a71a8, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#95 0x080b7029 in scheme_apply_for_prompt (prompt=0xac645200,
prompt_tag=0xb6598908, proc=0x9a7a71a8, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#96 0x080bc7be in call_with_prompt (in_argc=1, in_argv=0xa75c4f7c)
at ../../../racket/gc2/../src/fun.c:6609
#97 0xb58096c4 in ?? ()
#98 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162471104,
rands=0xa75c4f90, get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#99 0x080a6ad1 in force_values (obj=0x4, multi_ok=<optimized out>)
at ../../../racket/gc2/../src/fun.c:1314
---Type <return> to continue, or q <return> to quit---
#100 0x080afe76 in scheme_force_value_same_mark (obj=0x4)
at ../../../racket/gc2/../src/fun.c:1348
#101 0xb580934a in ?? ()
#102 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=1, rands=0x0,
get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#103 0x080b6e38 in scheme_finish_apply_for_prompt (prompt=0x0,
_prompt_tag=0xb6598908, proc=0x9a7a7230, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6033
#104 0x080b7029 in scheme_apply_for_prompt (prompt=0xae5e5528,
prompt_tag=0xb6598908, proc=0x9a7a7230, argc=0, argv=0x0)
at ../../../racket/gc2/../src/fun.c:6112
#105 0x080bc7be in call_with_prompt (in_argc=1, in_argv=0xa75c4fa8)
at ../../../racket/gc2/../src/fun.c:6609
#106 0xb58096c4 in ?? ()
#107 0x08094c17 in scheme_do_eval (obj=0x0, num_rands=162471104, rands=0x0,
get_value=-1) at ../../../racket/gc2/../src/eval.c:2902
#108 0x080a69b8 in apply_k () at ../../../racket/gc2/../src/fun.c:1383
#109 0x080af374 in scheme_top_level_do_worker (k=0x80a6920 <apply_k>, eb=1,
new_thread=1, dyn_state=0x0) at ../../../racket/gc2/../src/fun.c:1213
#110 0x080b013b in scheme_apply_thread_thunk (rator=0xadd41148)
at ../../../racket/gc2/../src/fun.c:1421
#111 0x0823c13f in start_child (child=0x9a7a37a8, child_eval=0x9a7a72b8)
at ../../../racket/gc2/../src/thread.c:2829
#112 0x0824596e in make_subprocess (child_thunk=0x9a7a72b8,
child_start=0xbfb995b0, config=0x9a7a7348, cells=0x9a7a7320,
break_cell=0x9a7a7310, mgr=0x0, normal_kill=1)
at ../../../racket/gc2/../src/thread.c:2918
#113 0x08245aee in scheme_thread_w_details (thunk=0x8097124, config=0x0,
cells=0x0, break_cell=0x0, mgr=0xffffffff, suspend_to_kill=1)
at ../../../racket/gc2/../src/thread.c:3125
#114 0xbfb99668 in ?? ()
#115 0x00000000 in ?? ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment