Skip to content

Illegal instruction (core dumped) in aws ec2 #56

@guy-otonomo

Description

@guy-otonomo
bash-5.1# lua
LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2020 Mike Pall. https://luajit.org/
JIT: ON SSE3 SSE4.1 BMI2 fold cse dce fwd dse narrow loop abc sink fuse
> json = require "rapidjson"
> print(json.encode({a=5}))
Illegal instruction (core dumped)
> uname -a
Linux 4e0e39d6702b 4.14.252-195.483.amzn2.x86_64 #1 SMP Mon Nov 1 20:58:46 UTC 2021 x86_64 Linux

Notes: we use rapidjson inside Kong.

  • kong:2.4.1-alpine (with cmake-3.15.5-r0): works.
  • kong:2.5.0-alpine (with cmake-3.21.3-r0): fails! (actually for any new version above 2.4.1).
  • When running in Docker on Mac, with cmake-3.21.3-r0: works.

Will be happy to provide any more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions