[Fluxus] scheme_basic_env segmentation fault

Dave Griffiths dave at pawfal.org
Sun Oct 21 05:31:50 PDT 2007


ah yes! I'd completely forgotten about this, and explains a few bug
reports I've been given... :)

the mzscheme garbage collection does some sneaky things with signals. to
be able to use gdb with fluxus make a .gdbinit file in your home
directory, and add these lines to it:

handle SIGSEGV nostop noprint
handle SIG33 nostop noprint pass
handle SIG32 nostop noprint pass

Gerry, could you do the same? 

On Sun, 2007-10-21 at 11:24 +0200, gabor papp wrote:
> when i run fluxus from gdb i get a segmentation fault right after
> starting the program. i couldn't figure out the solution. has anyone
> experienced this? i'm using the latest cvs fluxus with plt-scheme 370 in
> fedora core 6.
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1225728 (LWP 5908)]
> 0x080c7fee in get_bucket ()
> (gdb) bt
> #0  0x080c7fee in get_bucket ()
> #1  0x080c83ff in scheme_bucket_or_null_from_table ()
> #2  0x080c8430 in scheme_bucket_from_table ()
> #3  0x08086d0d in scheme_do_add_global_symbol ()
> #4  0x08086f1f in scheme_add_global_symbol ()
> #5  0x080e702c in add_single_require ()
> #6  0x080e995d in parse_requires ()
> #7  0x080ea67d in do_namespace_require ()
> #8  0x080ea77a in namespace_require_copy ()
> #9  0x0809ae4e in scheme_do_eval ()
> #10 0x08179509 in splice_one_expr ()
> #11 0x0809b150 in scheme_do_eval ()
> #12 0x080b9cc8 in scheme_finish_apply_for_prompt ()
> #13 0x080b9e1b in scheme_apply_for_prompt ()
> #14 0x080c3f37 in call_with_prompt ()
> #15 0x0809ae4e in scheme_do_eval ()
> #16 0x080c0fbd in do_call_with_prompt ()
> #17 0x08189b61 in splice_execute ()
> #18 0x0809a2b7 in scheme_do_eval ()
> #19 0x0809b768 in eval_k ()
> #20 0x0809baba in _scheme_eval_compiled ()
> #21 0x081b8ea7 in scheme_eval_compiled_sized_string_with_magic ()
> #22 0x081b8f07 in scheme_eval_compiled_sized_string ()
> #23 0x081b916a in scheme_add_embedded_builtins ()
> #24 0x080888a6 in scheme_basic_env ()
> #25 0x0807e8f9 in main (argc=1, argv=0xbfed1f04) at src/main.cpp:186
> 
> gabor




More information about the Fluxus mailing list