-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
crash canvas in bun #10587
Comments
rober-tm
added
bug
Something isn't working
crash
An issue that could cause a crash
labels
Apr 27, 2024
Also getting this error:
{
"name": "myproject",
"version": "1.0.0",
"description": "",
"main": "dist/src/functions/*.js",
"type": "module",
"scripts": {
"build": "tsc",
"watch": "tsc -w",
"clean": "rimraf dist",
"prestart": "npm run clean && npm run build",
"start": "func start",
},
"dependencies": {
"@azure/cosmos": "^4.0.0",
"@azure/functions": "^4.0.0",
"@azure/storage-blob": "^12.17.0",
"bun": "^1.1.12",
"canvas": "^2.11.2",
"chartjs-node-canvas": "^4.1.6",
"dotenv": "^16.4.5",
"random-words": "^2.0.1"
},
"devDependencies": {
"@types/node": "18.x",
"azure-functions-core-tools": "^4.x",
"rimraf": "^5.0.0",
"typescript": "^4.0.0"
}
} |
Duplicate of #5835 |
Please follow along in #5835 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can we reproduce the crash?
La aplicacion escanea archivos pdf, los conierte a png y pasa un ocr para extraer informacion.
este es el pj
{
"name": "bot_pdf_ocr",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"canvas": "^2.11.2",
"fs-extra": "^11.2.0",
"jsqr": "^1.4.0",
"node-poppler": "^7.2.0",
"os": "^0.1.2",
"pdf-lib": "^1.17.1",
"pdf-poppler": "^0.2.1",
"playwright": "^1.43.1",
"pngjs": "^7.0.0",
"samba-client": "^7.2.0",
"smb2": "^0.2.11",
"sqlite3": "^5.1.7",
"tesseract.js": "^5.0.5"
}
}
Relevant log output
Stack Trace (bun.report)
Bun v1.1.5 (#10527) on windows x86_64 [RunCommand]
Segmentation fault at address 0x7FFDF4FF6328
0x5129c
in /ntdll.dll0x50ff7
in /ntdll.dll0x50c9d
in /ntdll.dll0x17fab
in /KERNEL32.DLL0x1bed8
in /ucrtbase.dll0x1c099
in /ucrtbase.dllstart.zig:484
:main
Global.zig:97
:exit
event_loop.zig:634
:performGC
The text was updated successfully, but these errors were encountered: