LearnBoost/node-canvas — Issue #140: Out of Memory error on image load
Author: peterbraden
Created: 2012-01-05 23:16:49+00:00
State: open

Here's the unit tests failing:

~/Desktop/repos/node-canvas:master$ make test

canvas: 0.8.3
cairo: 1.10.0

canvas.test.js test Canvas#toBuffer(): Error: out of memory
at Test.fn (/Users/peterbraden/Desktop/repos/node-canvas/test/canvas.test.js:306:35)
at Test.runParallel (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:959:10)
at Test.run (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:924:18)
at next (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:867:22)
at Test.run (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:925:13)
at next (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:867:22)
at Test.run (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:925:13)
at next (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:867:22)
at Test.run (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:925:13)
at next (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:867:22)

image.test.js test Image#onload: AssertionError: false === true
at /Users/peterbraden/Desktop/repos/node-canvas/test/image.test.js:32:14
at Test. (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:961:13)
at Test.emit (events.js:61:17)
at EventEmitter. (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:892:18)
at EventEmitter. (events.js:81:20)
at EventEmitter.emit (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:1053:10)
at report (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:992:13)
at EventEmitter.emit (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:1050:9)

image.test.js test Image#{width,height}: AssertionError: 0 == 1
at /Users/peterbraden/Desktop/repos/node-canvas/test/image.test.js:83:14
at Test. (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:961:13)
at Test.emit (events.js:61:17)
at EventEmitter. (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:892:18)
at EventEmitter. (events.js:81:20)
at EventEmitter.emit (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:1053:10)
at report (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:992:13)
at EventEmitter.emit (/Users/peterbraden/Desktop/repos/node-canvas/node_modules/expresso/bin/expresso:1050:9)

Failures: 3

make: *** [test] Error 3