openresty / openresty/luajit2

Too many callbacks in s390x

Open
#179 1 comment 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

Tests like ffi_enum.lua and ffi_callback.lua are failing and giving the following error from the test suite.

[aditya@clftest ffi]$ ~/testing/bin/luajit ffi_callback.lua 
/home/aditya/testing/bin/luajit: ffi_callback.lua:8: too many callbacks

It's failing even with 1 callback.

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 running the s390x test cases ffi_enum.lua and ffi_callback.lua from the linked test suite, reproducing the “too many callbacks” error even with one callback. Trace the callback-limit behavior in LuaJIT and verify that both tests pass on s390x without changing their expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.