Skip to content

Commit 095a8128 and non-zero exit code 139 (segfault?) #1639

@sogaiu

Description

@sogaiu

For background, please see comments starting here.

Not sure how to describe what the issue is very well ATM, but basically it appears that native bits (e.g. those made via jpm's declare-native) created prior to janet @ 095a812 don't seem to work well with janet @ 095a812 or later.

Reproduction steps are:

  • Build spork (@ 4aa1d495) using janet @ 82416e4 (this is a commit before 095a812). I used jpm build to do this.
  • Now using janet @ 095a812 run spork's tests. I used jpm test to do this.
  • Observe error output.

Output of jpm test up to the error is below:

$ jpm test
running test/suite-argparse.janet ...
test suite test/suite-argparse.janet finished in 0.001 seconds - 17 of 17 tests passed.
running test/suite-base64.janet ...
test suite test/suite-base64.janet finished in 0.000 seconds - 22 of 22 tests passed.
running test/suite-cc.janet ...
test suite test/suite-cc.janet finished in 0.001 seconds - 12 of 12 tests passed.
running test/suite-crc.janet ...
test suite test/suite-crc.janet finished in 0.000 seconds - 7 of 7 tests passed.
non-zero exit code in test/suite-crc.janet: 139

@pyrmont mentioned something along the lines of may be this could result in problems if folks have native things installed using older versions of janet and then they go to use those bits with a new enough version of janet.

(If I got that wrong, may be he can correct / elaborate :) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions