Comments (4)
On a somewhat tangent, LTO also causes some other test failures within wasm-vips' test suite.
Details
1) foreign
svgload:
TypeError: type incompatibility when transforming from/to JS
at wasm://wasm/00561afe:wasm-function[616]:0x7a3aa
at gh (lib/vips-node.mjs:314:433)
at wasm://wasm/00561afe:wasm-function[1113]:0xeafb9
at wasm://wasm/00561afe:wasm-function[201]:0xcf95
at rh (lib/vips-node.mjs:315:366)
at wasm://wasm/00561afe:wasm-function[1291]:0x11847c
at wasm://wasm/0169d79e:wasm-function[6279]:0x474c27
at wasm://wasm/0169d79e:wasm-function[311]:0x1ca8a
at wasm://wasm/0169d79e:wasm-function[1465]:0xfbd6f
at wasm://wasm/0169d79e:wasm-function[6208]:0x46ab34
at sh (lib/vips-node.mjs:315:262)
at wasm://wasm/0169d79e:wasm-function[4909]:0x31284d
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[2456]:0x1a41b9
at gh (lib/vips-node.mjs:314:433)
at wasm://wasm/0169d79e:wasm-function[911]:0x93e6e
at Function.Image$svgload (eval at Ee (lib/vips-node.mjs:156:242), <anonymous>:8:10)
at a.<computed> [as svgload] (lib/vips-node.mjs:146:259)
at Object.svgload (test/unit/test_foreign.js:19:33)
at fileLoader (test/unit/test_foreign.js:78:33)
at Context.<anonymous> (test/unit/test_foreign.js:907:5)
at process.processImmediate (node:internal/timers:476:21)
2) histogram
histIsmonotonic:
vips::Error: unable to call hist_ismonotonic
source: bad seek to 2435
: no property named `precision'
at Yc (lib/vips-node.mjs:122:45)
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[6208]:0x46c065
at sh (lib/vips-node.mjs:315:262)
at wasm://wasm/0169d79e:wasm-function[4020]:0x25fefa
at wasm://wasm/0169d79e:wasm-function[931]:0x94659
at Ld.Image$histIsmonotonic [as histIsmonotonic] (eval at Ee (lib/vips-node.mjs:156:242), <anonymous>:9:10)
at Context.<anonymous> (test/unit/test_histogram.js:35:15)
at process.processImmediate (node:internal/timers:476:21)
3) histogram
case:
vips::Error: property
at Yc (lib/vips-node.mjs:122:45)
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[6208]:0x46a9bf
at sh (lib/vips-node.mjs:315:262)
at wasm://wasm/0169d79e:wasm-function[4545]:0x2dee69
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[2645]:0x1b72d4
at Ld.Image$case [as case] (eval at Ee (lib/vips-node.mjs:156:242), <anonymous>:10:10)
at Context.<anonymous> (test/unit/test_histogram.js:130:25)
at process.processImmediate (node:internal/timers:476:21)
4) morphology
countlines:
vips::Error: unable to call countlines
: no property named `precision'
at Yc (lib/vips-node.mjs:122:45)
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[6208]:0x46c065
at sh (lib/vips-node.mjs:315:262)
at wasm://wasm/0169d79e:wasm-function[4425]:0x2d4957
at Og (lib/vips-node.mjs:317:367)
at wasm://wasm/0169d79e:wasm-function[2411]:0x1a0d38
at Ld.Image$countlines [as countlines] (eval at Ee (lib/vips-node.mjs:156:242), <anonymous>:10:10)
at Context.<anonymous> (test/unit/test_morphology.js:11:23)
at process.processImmediate (node:internal/timers:476:21)
5) morphology
rank:
vips::Error: property
at Yc (lib/vips-node.mjs:122:45)
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[6208]:0x46a9bf
at sh (lib/vips-node.mjs:315:262)
at wasm://wasm/0169d79e:wasm-function[1237]:0xc643b
at wasm://wasm/0169d79e:wasm-function[2366]:0x19d9e6
at Ld.Image$rank [as rank] (eval at Ee (lib/vips-node.mjs:156:242), <anonymous>:12:10)
at Context.<anonymous> (test/unit/test_morphology.js:69:20)
at process.processImmediate (node:internal/timers:476:21)
6) resample
mapim:
vips::Error: property
at Yc (lib/vips-node.mjs:122:45)
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[6208]:0x46a9bf
at sh (lib/vips-node.mjs:315:262)
at wasm://wasm/0169d79e:wasm-function[3823]:0x22f06a
at rh (lib/vips-node.mjs:315:366)
at wasm://wasm/0169d79e:wasm-function[6417]:0x483721
at lh (lib/vips-node.mjs:313:432)
at wasm://wasm/0169d79e:wasm-function[2623]:0x1b4407
at Ld.Image$mapim (eval at Ee (lib/vips-node.mjs:156:242), <anonymous>:10:10)
at a.<computed> [as mapim] (lib/vips-node.mjs:146:259)
at toPolar (test/unit/test_resample.js:51:18)
at Context.<anonymous> (test/unit/test_resample.js:310:15)
at process.processImmediate (node:internal/timers:476:21)
Disabling the support for dynamic modules at runtime or via the --disable-modules
build option seems to fix that.
wasm-vips/test/unit/node-helper.js
Lines 12 to 13 in 1a0160a
Lines 79 to 82 in 1a0160a
from wasm-vips.
LTO also causes some other test failures within wasm-vips' test suite.
These test failures are no longer reproducible, first good commit is e1cc2dd according to git bisect. Unfortunately, the main issue still persists on git master (tested with commit b576489).
from wasm-vips.
Upstream issue: emscripten-core/emscripten#20414.
from wasm-vips.
Related Issues (20)
- Docker compilation error HOT 6
- setup wasm-vips for next.js/react HOT 3
- TS types improvements HOT 3
- writeToBuffer increases RSS size till OOMKilled HOT 3
- Not working on deno deploy HOT 1
- ab [vips::Error]: no such operation pdfload_buffer VipsOperation: class "pdfload_buffer" not found HOT 1
- JPEG 2000 Support HOT 2
- Errors with vite HOT 29
- No paths work when reading files (Deno) HOT 2
- Promise remains in pending mode HOT 5
- Error `heifload: ignoring nclx profile` when converting to AVIF and resizing HOT 4
- Add progress information HOT 3
- Error: need to see wasm magic number HOT 1
- Enhancement — more modular loading HOT 3
- Interlace option in jpegsaveBuffer doesn’t seem to work HOT 3
- [Question] How do you deal with CDNs and Vite HOT 2
- JPG images failing to write: writeToBuffer stalling issue HOT 11
- call of writeToBuffer on huge png causing tab freeze HOT 10
- Question: Javascript API documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasm-vips.