You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before start, I'm sorry for my English grammar may not correct.
I use Ubuntu 20.04 LTS, and I have build Bun following contributing guide, I have installed all dependencies that the guild said.
But after I build and debug or I build release and run it show this error.
In bun debug: (In this pic, command 'bun nn.js' is use Bun in global install from npm)
In bun release build:
I don't know why it crash, before these day I build and run successfully every time when I able to install LLVM though this way in my Ubuntu machine:
' wget https://apt.llvm.org/llvm.sh -O - | sudo bash -s -- 16 all '
@doe24 it’s a C++ ABI issue. The debug build of WebKit is compiled with an older libc than the one on your machine. You’ll unfortunately need to compile Bun’s WebKit and then pass -DWEBKIT_DIR=path-to-WebKitBuild/Release to the cmake
How can we reproduce the crash?
Before start, I'm sorry for my English grammar may not correct.
![Screenshot from 2024-05-22 15-34-58](https://private-user-images.githubusercontent.com/155100391/332723207-8475fc31-73d3-4a63-a423-c3bbd29a1eaf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4OTEwMDYsIm5iZiI6MTcxODg5MDcwNiwicGF0aCI6Ii8xNTUxMDAzOTEvMzMyNzIzMjA3LTg0NzVmYzMxLTczZDMtNGE2My1hNDIzLWMzYmJkMjlhMWVhZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMFQxMzM4MjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03OTc0NTZhN2E3MGFhNjM3MjZhOGU3YTVlOTkwMTBiOTEzNzI5Y2I3NTI3NTQzM2M2YzM4ZjU4ZTVlMmFjMDAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.4xGUZRrr6Wtp_2fr6M0B0bjw4f9gox8Xye9RkSt9fTo)
I use Ubuntu 20.04 LTS, and I have build Bun following contributing guide, I have installed all dependencies that the guild said.
But after I build and debug or I build release and run it show this error.
In bun debug: (In this pic, command 'bun nn.js' is use Bun in global install from npm)
In bun release build:
![eiei](https://private-user-images.githubusercontent.com/155100391/332723439-c62a2690-480c-4dc8-bedd-aeddc57d26da.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4OTEwMDYsIm5iZiI6MTcxODg5MDcwNiwicGF0aCI6Ii8xNTUxMDAzOTEvMzMyNzIzNDM5LWM2MmEyNjkwLTQ4MGMtNGRjOC1iZWRkLWFlZGRjNTdkMjZkYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMFQxMzM4MjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mNzFhYTFmY2QzOTY1MjM1MjRiN2E1ZGRkODk2NDg3ZjUxMDBiYTFhOWI1OWI0MmVhMTBiZmE1NzY3ZjMwODQxJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ePBilQ2pMNkh7L9fnaCPgSCMTQ4CB6LKZlxr-SXc_j0)
I don't know why it crash, before these day I build and run successfully every time when I able to install LLVM though this way in my Ubuntu machine:
' wget https://apt.llvm.org/llvm.sh -O - | sudo bash -s -- 16 all '
But now it cannot (now = since 20 May 24, the day that I reinstall Ubuntu) it cannot install though above method, I manually install though this:
' https://github.com/llvm/llvm-project/releases?page=3 '
I try LLVM [16.0.2, 16.0.3, 16.0.4] and try to build 16.0.6 and use in my Ubuntu machine but it failed.
I don't know why.
The JS code that I test it just:
" console.log('Hello world') " and code that generate by bun init.
JavaScript/TypeScript code that reproduces the crash?
No response
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.10-canary (
9399b70
) on linux x86_64 [AutoCommand]Segmentation fault at address 0x0000000A
static_dict.c:0
:BrotliFindAllStaticDictionaryMatchesFor
??
tasn_dec.c:791
:asn1_d2i_ex_primitive
tasn_dec.c:508
:asn1_template_ex_d2i
tasn_dec.c:0
:asn1_d2i_ex_primitive
codec.c:0
:base64_stream_decode_sse41
renamer.zig:56
:src.js_printer.NewPrinter
semver.zig:1466
:src.install.lockfile.Package.parseDependency__anon_292224
lockfile.zig:5286
:src.install.lockfile.Buffers.writeArray__anon_292742
bundler.zig:944
:src.bundler.Bundler.transform
Features: jsc, tsconfig
The text was updated successfully, but these errors were encountered: