Skip to content

Regression: deno 2.9 compiled binary segfaults in flatpak #35633

Description

@sigmaSd

Version: Deno 2.9

minimal repro (this works with version 2.8.3)

repro-denocompile-bug.yml

app-id: io.github.sigmasd.deno-compile-repro
runtime: org.gnome.Platform
runtime-version: "50"
sdk: org.gnome.Sdk
command: hello

finish-args:
  - --socket=wayland
  - --socket=fallback-x11

modules:
  - name: hello
    buildsystem: simple
    build-commands:
      - echo 'console.log("hello from flatpak");' > main.ts
      - DENORT_BIN=$PWD/denort ./deno compile --output hello -A main.ts
      - install -Dm755 hello /app/bin/hello
    sources:
      - type: archive
        url: https://github.com/denoland/deno/releases/download/v2.9.0/deno-x86_64-unknown-linux-gnu.zip
        sha256: 96c9c73fc05ea57603bc28d8071d41e861bd40bcf2a9f849dd5969ed1a2c8498
        strip-components: 1
        only-arches:
          - x86_64
      - type: archive
        url: https://github.com/denoland/deno/releases/download/v2.9.0/denort-x86_64-unknown-linux-gnu.zip
        sha256: 04717f765622274fbefee08833953810fe2ca0a1758807f1dbc4fe8160dad851
        strip-components: 1
        only-arches:
          - x86_64
flatpak-builder --force-clean --user --install repro-build repro-denocompile-bug.yml

flatpak run io.github.sigmasd.deno-compile-repro

echo $status
139

Metadata

Metadata

Assignees

Labels

needs investigationrequires further investigation before determining if it is an issue or not

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions