Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "SIGSEGV (Address boundary error)" in docker with prisma #8519

Open
Alexandrsv opened this issue Jan 27, 2024 · 6 comments
Open

Error "SIGSEGV (Address boundary error)" in docker with prisma #8519

Alexandrsv opened this issue Jan 27, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@Alexandrsv
Copy link

Alexandrsv commented Jan 27, 2024

What version of Bun is running?

version 1.0.26+7492b3a20 and lower

What platform is your computer?

Linux 6.7.0-0-MANJARO x86_64 unknown. alpine in docker

What steps can reproduce the bug?

I tried to package hono and prisma in docker.
Nothing succeeded

https://github.com/Alexandrsv/hono-vk-template/tree/brocken-bun

Without Docker on a local system, it works

What is the expected behavior?

The application must run the hono server

What do you see instead?

An error occurs when running docker-compose
SIGSEGV (Address boundary error)

Additional information

image

@Alexandrsv Alexandrsv added the bug Something isn't working label Jan 27, 2024
@jontybrook
Copy link

Ditto seeing this issue; although i'm not running in docker.. i'm seeing it in dev on Ubuntu LTS. Are you sure this is related to Prisma?

@jontybrook
Copy link

This is likely related to this issue #7864

Temporary solution for me is to use Bun v1.0.18

@camero2734
Copy link
Contributor

I think this should have also been fixed by #8995

@muuvmuuv
Copy link

Also seeing this with oven/bun:1.0 in GitLab CI with Cypress:

Using docker image sha256:a43cab60e1a2a13920cbf19cab25be76c4057288f1076b033f2d6383a123bb87 for oven/bun:1.0 with digest oven/bun@sha256:bdb96ef3fc072430bf06a2bfeb30314a1555adcfdc704c0cb8a22b6ced8945fc ...
$ bun install --frozen-lockfile
bun install v1.0.28 (70563847)
error: postinstall script from "nx" terminated by SIGSEGV (Address boundary error)
/bin/bash: line 135:    13 Segmentation fault      (core dumped) bun install --frozen-lockfile

There is no official documentation for Bun in GitLab; I use this .gitlab-ci.yml:

modules:
  stage: .pre
  image: oven/bun:1.0
  script: bun install --frozen-lockfile
  cache:
    - key:
        files:
          - bun.lockb
      policy: pull-push
      paths:
        - node_modules/

@muuvmuuv
Copy link

This is likely related to this issue #7864

Temporary solution for me is to use Bun v1.0.18

Tested this as well, but still the same, even if its now a different package (mayybe 'cause Bun does this in parallel):

Using docker image sha256:9dc0d8ab3409a166c2bd6bfb39102af3c2d07cf752b155a78698179f75da278c for oven/bun:1.0.18 with digest oven/bun@sha256:91a2f2d0f21bc1a4d44d42555698e58ffff33164f12b245d6e9dc5415a155dde ...
$ bun install --frozen-lockfile
bun install v1.0.18 (36c316a2)
error: postinstall script from "esbuild" exited with code 11 (SIGSEGV)

@muuvmuuv
Copy link

Tested with latest image again and concurrent=1 as well as with alpine... still shows SIGSEGV or SIGKILL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants