openresty / openresty/luajit2

Segmentation faults in Mike's test suite when running qemu-arm on x86_64

Open
#59 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.4k
Forks
252
Avg merge
7d 11h
Merged PRs (30d)
3

Description

I'm always seeing the following 2 test failures due to crashes in qemu-arm when running Mike's test suite in the openresty/luajit2-test-suite github repo with a cross-compiled build of LuaJIT (both the official v2.1 branch and our v2.1-agentzh branch):

Failed test when running /home/agentzh/git/luajit2-test-suite/arm-luajit wbarrier_jit.lua 1: 139
...
Failed test when running /home/agentzh/git/luajit2-test-suite/arm-luajit parse_andor.lua 1: 139
...
2 tests failed.

Not sure if they are reproducible on real ARMv7hf hardware.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the qemu-arm crashes in wbarrier_jit.lua and parse_andor.lua using the cross-compiled LuaJIT build described in the report. Compare the failures with execution on real ARMv7hf hardware if available, then identify the cause; done means both tests complete without segmentation faults.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
compilers, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.