Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Error 138 (or maybe Bus Error 10?) when Compiling on OSX #98

Open
tj800x opened this issue Jan 28, 2018 · 1 comment
Open

Error 138 (or maybe Bus Error 10?) when Compiling on OSX #98

tj800x opened this issue Jan 28, 2018 · 1 comment

Comments

@tj800x
Copy link

tj800x commented Jan 28, 2018

Hi Marco. Thanks for vicare. Typed Scheme is very interesting.
I'm getting this error below. Any suggestions?
Thanks -- Tom Johnson

vicare: searching include file: cond-boot-expansion.scm
vicare: including file: /Users/tomjohnson/vicare/scheme/cond-boot-expansion.scm
conditional expansion for condition-object definition syntax: bootstrapping normal boot image
conditional expansion for system-value API definition: bootstrapping normal boot image
*** Vicare: warning:
Condition components:

  1. &expand-time-type-signature-warning-void-operand
  2. &who: chi-closure-object-application
  3. &message: "expression used as operand in procedure application is typed as returning void"
  4. &syntax:
    form: #[syntax expr=(make-constant (void)) line=746 column=3 source="/Users/tomjohnson/vicare/scheme/ikarus.compiler.typedefs.sls"]
    subform: #[syntax expr=(void) line=746 column=18 source="/Users/tomjohnson/vicare/scheme/ikarus.compiler.typedefs.sls"]
  5. &application-operand-signature: #[signature ()]
    /bin/sh: line 1: 36505 Bus error: 10 ./vicare -b ./boot/vicare.boot.8.prebuilt --no-rcfile --library-locator source -O2 --scheme-heap-nursery-size 100000000 --scheme-stack-size 100000000 --no-rcfile --library-locator source --r6rs-script ./scheme/makefile.sps
    make[1]: *** [vicare.boot] Error 138
    make: *** [all] Error 2
    ~/vicare$
@marcomaggi
Copy link
Owner

Thanks for the report. Unfortunately I cannot fix the problem. Notice that active development of this project is on hiatus; I can work to accept contributions, but I am not currently developing it.

The upper part of the message is a warning that the expression (void) returns a void object which is not meant to be used as operand in a function application; but, as a special situation, it is used this way in the compiler. I get the exact same message when compiling the boot image, along with other warnings of the same kind. You can see such warnings in this Travis build.

The Bus error is, most likely, the result of a defect in the runtime: maybe the garbage collector, maybe the mmap() machinery that handles memory allocation for all the Scheme objects. I do not get this error, so I can do nothing about it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants