eendeego / node-openvg-canvas

Canvas implementation on top of node-openvg
179 stars 25 forks source link

shadowColor Crashes on RaspberryPi 2 #27

Open kevingarman opened 9 years ago

kevingarman commented 9 years ago

Hi,

First of all awesome project! I found it just in time for some digital signage work I'm doing. Thanks for your work!

I'm trying to run the shadows.js on the RPi 2 and it seems to be crashing at line 472 in context.js (shadowContext = vg.egl.createContext(vg.screen.context);). If I step through the debugger try to view the vg.screen object I get an 'Interal error: illegal access'. Also, find below, the crash dump.

Anybody else seeing this?

Thanks, Kevin

Loading typeface file: /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf

#
# Fatal error in , line 0
# API call returned invalid object
#

==== Stack trace ============================================

Security context: 0x56909619 <JS Object>#0#
    1: checkShadowEffects(aka checkShadowEffects) [/scadaware/ui-app/node_modules/openvg-canvas/lib/context.js:471] (this=0x56908091 <undefined>)
    2: fillRect [/scadaware/ui-app/node_modules/openvg-canvas/lib/context.js:495] (this=0x5770b2a1 <an Object>#1#,x=20,y=20,w=40,h=40)
    3: paint(aka paint) [/scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js:39] (this=0x56908091 <undefined>)
    4: /* anonymous */ [/scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js:88] (this=0x30341c61 <an Object>#2#,exports=0x30341c61 <an Object>#2#,require=0x30341c3d <JS Function require>#3#,module=0x30341c15 <a Module>#4#,__filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>,__dirname=0x30341c01 <String[53]: /scadaware/ui-app/node_modules/openvg-canvas/examples>)
    6: _compile [module.js:456] (this=0x30341c15 <a Module>#4#,content=0x55c4ea11 <Very long string[2155]>#5#,filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>)
    7: .js [module.js:474] (this=0x30341cf5 <an Object>#6#,module=0x30341c15 <a Module>#4#,filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>)
    8: load [module.js:356] (this=0x30341c15 <a Module>#4#,filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>)
    9: _load [module.js:312] (this=0x30341d01 <JS Function Module>#7#,request=0x55c4fb31 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>,parent=0x56908081 <null>,isMain=0x569080a1 <true>)
   10: runMain [module.js:497] (this=0x30341d01 <JS Function Module>#7#)
   11: startup [node.js:119] (this=0x569096c1 <JS Global Object>#8#)
   12: /* anonymous */ [node.js:935] (this=0x569096c1 <JS Global Object>#8#,process=0x30341df5 <a process>#9#)

==== Details ================================================

[1]: checkShadowEffects(aka checkShadowEffects) [/scadaware/ui-app/node_modules/openvg-canvas/lib/context.js:471] (this=0x56908091 <undefined>) {
  // expression stack (top to bottom)
  [02] : 0x56940565 <JS Function>#10#
  [01] : 0x57744c81 <Foreign>#11#
  [00] : 0x30320b21 <an Object>#12#
--------- s o u r c e   c o d e ---------
function checkShadowEffects() {?    // Only test for shadow alpha?    // See http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-May/031457.html?    shadowsEnabled = shadowColor[3] !== 0.0;?    if (shadowsEnabled && shadowSurface === null) {?      shadowSrcImage =?        vg.createImage(vg.VGImageFormat.VG_sARGB_8888,?  ...

-----------------------------------------
}

[2]: fillRect [/scadaware/ui-app/node_modules/openvg-canvas/lib/context.js:495] (this=0x5770b2a1 <an Object>#1#,x=20,y=20,w=40,h=40) {
  // stack-allocated locals
  var paintRect = 0x5776429d <JS Function paintRect>#13#
  // expression stack (top to bottom)
  [02] : 0x56908091 <undefined>
  [01] : 0x57742cc5 <JS Function checkShadowEffects>#14#
--------- s o u r c e   c o d e ---------
function (x, y, w, h) {?    function paintRect() {?      applyFillStyleWithReset();?      vg.drawPath(immediatePath, vg.VGPaintMode.VG_FILL_PATH);?    }??    vg.clearPath(immediatePath, vg.VGPathCapabilities.VG_PATH_CAPABILITY_ALL);?    vg.vgu.rect(immediatePath, x, y, w, h);??    if (checkShadowEffects()) {...

-----------------------------------------
}

[3]: paint(aka paint) [/scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js:39] (this=0x56908091 <undefined>) {
  // stack-allocated locals
  var x = 0x56908091 <undefined>
  var y = 20
  // expression stack (top to bottom)
  [06] : 40
  [05] : 40
  [04] : 20
  [03] : 20
  [02] : 0x5770b2a1 <an Object>#1#
--------- s o u r c e   c o d e ---------
function paint() {?  ctx.fillStyle = pattern;?  ctx.fillRect(0, 0, width, height);??  ctx.save();??  ctx.shadowColor = 'rgba(0,0,0,1.0)';?  ctx.shadowBlur = 5;?  ctx.shadowOffsetX = 2;?  ctx.shadowOffsetY = 2;??  var x, y;??  y = 20;??  ctx.fillStyle = 'rgba(255,0,0,0.5)';?  ctx.fillRect(20, y, 40, 40);?  ctx.beg...

-----------------------------------------
}

[4]: /* anonymous */ [/scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js:88] (this=0x30341c61 <an Object>#2#,exports=0x30341c61 <an Object>#2#,require=0x30341c3d <JS Function require>#3#,module=0x30341c15 <a Module>#4#,__filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>,__dirname=0x30341c01 <String[53]: /scadaware/ui-app/node_modules/openvg-canvas/examples>) {
  // stack-allocated locals
  var util = 0x30341bd1 <an Object>#15#
  var Canvas = 0x30330499 <JS Function>#16#
  var Image = 0x3032ed49 <JS Function>#17#
  var canvas = 0x5770b915 <JS Object>#18#
  var eu = 0x5775bc2d <an Object>#19#
  var fs = 0x3035fb55 <an Object>#20#
  var background = 0x57760489 <JS Object>#21#
  var paint = 0x30341bad <JS Function paint>#22#
  // heap-allocated locals
  var ctx = 0x5770b2a1 <an Object>#1#
  var width = 380
  var height = 270
  var grid = 0x57760d5d <JS Object>#23#
  var pattern = 0x57762ee1 <JS Object>#24#
  // expression stack (top to bottom)
  [09] : 0x56908091 <undefined>
  [08] : 0x30341bad <JS Function paint>#22#
--------- s o u r c e   c o d e ---------
function (exports, require, module, __filename, __dirname) { ?/*jslint indent: 2, node: true */?/*global requestAnimationFrame: true, Image: true */?"use strict";??var util = require('util');?var Canvas = require('../lib/canvas');?var Image = Canvas.Image;?var canvas = new Canvas();?var ctx = canvas.getConte...

-----------------------------------------
}

[6]: _compile [module.js:456] (this=0x30341c15 <a Module>#4#,content=0x55c4ea11 <Very long string[2155]>#5#,filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>) {
  // stack-allocated locals
  var require = 0x30341c3d <JS Function require>#3#
  var dirname = 0x30341c01 <String[53]: /scadaware/ui-app/node_modules/openvg-canvas/examples>
  var sandbox = 0x56908091 <undefined>
  var k = 0x56908091 <undefined>
  var wrapper = 0x55c4e155 <Very long string[2221]>#25#
  var compiledWrapper = 0x30341bdd <JS Function>#26#
  var args = 0x30341c6d <JS Array[5]>#27#
  // heap-allocated locals
  var self = 0x30341c15 <a Module>#4#
  // expression stack (top to bottom)
  [09] : 0x30341c6d <JS Array[5]>#27#
  [08] : 0x30341c61 <an Object>#2#
  [07] : 0x30341bdd <JS Function>#26#
--------- s o u r c e   c o d e ---------
function (content, filename) {?  var self = this;?  // remove shebang?  content = content.replace(/^\#\!.*/, '');??  function require(path) {?    return self.require(path);?  }??  require.resolve = function(request) {?    return Module._resolveFilename(request, self);?  };??  Object.defineProperty(require, '...

-----------------------------------------
}

[7]: .js [module.js:474] (this=0x30341cf5 <an Object>#6#,module=0x30341c15 <a Module>#4#,filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>) {
  // stack-allocated locals
  var content = 0x55c4f289 <Very long string[2181]>#28#
  // expression stack (top to bottom)
  [03] : 0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>
  [02] : 0x55c4ea11 <Very long string[2155]>#5#
  [01] : 0x30341c15 <a Module>#4#
--------- s o u r c e   c o d e ---------
function (module, filename) {?  var content = NativeModule.require('fs').readFileSync(filename, 'utf8');?  module._compile(stripBOM(content), filename);?}
-----------------------------------------
}

[8]: load [module.js:356] (this=0x30341c15 <a Module>#4#,filename=0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>) {
  // stack-allocated locals
  var extension = 0x55c4fb1d <String[3]: .js>
  // expression stack (top to bottom)
  [04] : 0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>
  [03] : 0x30341c15 <a Module>#4#
  [02] : 0x30341cf5 <an Object>#6#
  [01] : 0x55c4fb1d <String[3]: .js>
--------- s o u r c e   c o d e ---------
function (filename) {?  debug('load ' + JSON.stringify(filename) +?        ' for module ' + JSON.stringify(this.id));??  assert(!this.loaded);?  this.filename = filename;?  this.paths = Module._nodeModulePaths(path.dirname(filename));??  var extension = path.extname(filename) || '.js';?  if (!Module._extensi...

-----------------------------------------
}

[9]: _load [module.js:312] (this=0x30341d01 <JS Function Module>#7#,request=0x55c4fb31 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>,parent=0x56908081 <null>,isMain=0x569080a1 <true>) {
  // stack-allocated locals
  var filename = 0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>
  var cachedModule = 0x56908091 <undefined>
  var replModule = 0x56908091 <undefined>
  var module = 0x30341c15 <a Module>#4#
  var hadException = 0x569080a1 <true>
  // expression stack (top to bottom)
  [11] : 0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>
  [10] : 0x30341c15 <a Module>#4#
--------- s o u r c e   c o d e ---------
function (request, parent, isMain) {?  if (parent) {?    debug('Module._load REQUEST  ' + (request) + ' parent: ' + parent.id);?  }??  var filename = Module._resolveFilename(request, parent);??  var cachedModule = Module._cache[filename];?  if (cachedModule) {?    return cachedModule.exports;?  }??  if (Nati...

-----------------------------------------
}

[10]: runMain [module.js:497] (this=0x30341d01 <JS Function Module>#7#) {
  // expression stack (top to bottom)
  [03] : 0x569080a1 <true>
  [02] : 0x56908081 <null>
  [01] : 0x55c4fb31 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>
  [00] : 0x30341d01 <JS Function Module>#7#
--------- s o u r c e   c o d e ---------
function () {?  // Load the main module--the command line argument.?  Module._load(process.argv[1], null, true);?  // Handle any nextTicks added in the first tick of the program?  process._tickCallback();?}
-----------------------------------------
}

[11]: startup [node.js:119] (this=0x569096c1 <JS Global Object>#8#) {
  // stack-allocated locals
  var EventEmitter = 0x30341d31 <JS Function EventEmitter>#29#
  var d = 0x56908091 <undefined>
  var path = 0x30341d25 <an Object>#30#
  var cluster = 0x56908091 <undefined>
  var Module = 0x30341d01 <JS Function Module>#7#
  var debugTimeout = 0x56908091 <undefined>
  var opts = 0x56908091 <undefined>
  var repl = 0x56908091 <undefined>
  // heap-allocated locals
  var code = 0x56908091 <undefined>
  // expression stack (top to bottom)
  [08] : 0x30341d01 <JS Function Module>#7#
--------- s o u r c e   c o d e ---------
function startup() {?    var EventEmitter = NativeModule.require('events').EventEmitter;??    process.__proto__ = Object.create(EventEmitter.prototype, {?      constructor: {?        value: process.constructor?      }?    });?    EventEmitter.call(process);??    process.EventEmitter = EventEmitter; // process.Event...

-----------------------------------------
}

[12]: /* anonymous */ [node.js:935] (this=0x569096c1 <JS Global Object>#8#,process=0x30341df5 <a process>#9#) {
  // stack-allocated locals
  var Script = 0x56923745 <JS Function NodeScript>#31#
  // heap-allocated locals
  var process = 0x30341df5 <a process>#9#
  var startup = 0x30341d55 <JS Function startup>#32#
  var _clearDomainsStack = 0x30314319 <JS Function _clearDomainsStack>#33#
  var assert = 0x5692ad8d <JS Function>#34#
  var evalScript = 0x3031433d <JS Function evalScript>#35#
  var errnoException = 0x30314361 <JS Function errnoException>#36#
  var createWritableStdioStream = 0x30314385 <JS Function createWritableStdioStream>#37#
  var runInThisContext = 0x569235e1 <JS Function>#38#
  var NativeModule = 0x3035cff1 <JS Function NativeModule>#39#
  // expression stack (top to bottom)
  [02] : 0x569096c1 <JS Global Object>#8#
  [01] : 0x30341d55 <JS Function startup>#32#
--------- s o u r c e   c o d e ---------
function (process) {?  this.global = this;??  function startup() {?    var EventEmitter = NativeModule.require('events').EventEmitter;??    process.__proto__ = Object.create(EventEmitter.prototype, {?      constructor: {?        value: process.constructor?      }?    });?    EventEmitter.call(process);??    ...

-----------------------------------------
}

==== Key         ============================================

 #0# 0x56909619: 0x56909619 <JS Object>
 #1# 0x5770b2a1: 0x5770b2a1 <an Object>
 #2# 0x30341c61: 0x30341c61 <an Object>
 #3# 0x30341c3d: 0x30341c3d <JS Function require>
              main: 0x30341c15 <a Module>#4#
        extensions: 0x30341cf5 <an Object>#6#
             cache: 0x3031b0a9 <an Object>#40#
 #4# 0x30341c15: 0x30341c15 <a Module>
                id: 0x262088c9 <String[1]: .>
           exports: 0x30341c61 <an Object>#2#
            parent: 0x56908081 <null>
          filename: 0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>
            loaded: 0x569080b1 <false>
          children: 0x30314251 <JS Array[2]>#41#
             paths: 0x30314261 <JS Array[5]>#42#
 #5# 0x55c4ea11: 0x55c4ea11 <Very long string[2155]>
 #6# 0x30341cf5: 0x30341cf5 <an Object>
 #7# 0x30341d01: 0x30341d01 <JS Function Module>
      _contextLoad: 0x569080b1 <false>
            _cache: 0x3031b0a9 <an Object>#40#
        _pathCache: 0x3031b0b5 <an Object>#43#
       _extensions: 0x30341cf5 <an Object>#6#
       globalPaths: 0x3031b0c1 <JS Array[6]>#44#
           wrapper: 0x3031b0d1 <JS Array[2]>#45#
    _realpathCache: 0x3035fb6d <an Object>#46#
 #8# 0x569096c1: 0x569096c1 <JS Global Object>
 #9# 0x30341df5: 0x30341df5 <a process>
 #10# 0x56940565: 0x56940565 <JS Function>
 #11# 0x57744c81: 0x57744c81 <Foreign>
 #12# 0x30320b21: 0x30320b21 <an Object>
 #13# 0x5776429d: 0x5776429d <JS Function paintRect>
 #14# 0x57742cc5: 0x57742cc5 <JS Function checkShadowEffects>
 #15# 0x30341bd1: 0x30341bd1 <an Object>
 #16# 0x30330499: 0x30330499 <JS Function>
 #17# 0x3032ed49: 0x3032ed49 <JS Function>
 #18# 0x5770b915: 0x5770b915 <JS Object>
 #19# 0x5775bc2d: 0x5775bc2d <an Object>
 #20# 0x3035fb55: 0x3035fb55 <an Object>
 #21# 0x57760489: 0x57760489 <JS Object>
            width_: 150
           height_: 150
         vgHandle_: 0x5776272d <Number: 2147483682>
         complete_: 0x569080a1 <true>
        destroyed_: 0x569080b1 <false>
 #22# 0x30341bad: 0x30341bad <JS Function paint>
 #23# 0x57760d5d: 0x57760d5d <JS Object>
            width_: 64
           height_: 64
         vgHandle_: 0x57762d69 <Number: 2147483683>
         complete_: 0x569080a1 <true>
        destroyed_: 0x569080b1 <false>
 #24# 0x57762ee1: 0x57762ee1 <JS Object>
              type: 0x2622859d <String[7]: pattern>
             image: 0x57760489 <JS Object>#21#
        tilingMode: 7426
        repetition: 0x262285cd <String[6]: repeat>
         transform: 0x57763019 <JS Object>#47#
 #25# 0x55c4e155: 0x55c4e155 <Very long string[2221]>
 #26# 0x30341bdd: 0x30341bdd <JS Function>
 #27# 0x30341c6d: 0x30341c6d <JS Array[5]>
                 0: 0x30341c61 <an Object>#2#
                 1: 0x30341c3d <JS Function require>#3#
                 2: 0x30341c15 <a Module>#4#
                 3: 0x55c4e0c9 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/examples/shadows.js>
                 4: 0x30341c01 <String[53]: /scadaware/ui-app/node_modules/openvg-canvas/examples>
 #28# 0x55c4f289: 0x55c4f289 <Very long string[2181]>
 #29# 0x30341d31: 0x30341d31 <JS Function EventEmitter>
 #30# 0x30341d25: 0x30341d25 <an Object>
               sep: 0x26213a2d <String[1]: />
         delimiter: 0x26215419 <String[1]: :>
 #31# 0x56923745: 0x56923745 <JS Function NodeScript>
 #32# 0x30341d55: 0x30341d55 <JS Function startup>
    _lazyConstants: 0x3031848d <an Object>#48#
 #33# 0x30314319: 0x30314319 <JS Function _clearDomainsStack>
 #34# 0x5692ad8d: 0x5692ad8d <JS Function>
 #35# 0x3031433d: 0x3031433d <JS Function evalScript>
 #36# 0x30314361: 0x30314361 <JS Function errnoException>
 #37# 0x30314385: 0x30314385 <JS Function createWritableStdioStream>
 #38# 0x569235e1: 0x569235e1 <JS Function>
 #39# 0x3035cff1: 0x3035cff1 <JS Function NativeModule>
           _source: 0x3031d259 <an Object>#49#
            _cache: 0x3031d301 <an Object>#50#
           wrapper: 0x3031b0d1 <JS Array[2]>#45#
 #40# 0x3031b0a9: 0x3031b0a9 <an Object>
 #41# 0x30314251: 0x30314251 <JS Array[2]>
                 0: 0x3035fd91 <a Module>#51#
                 1: 0x5775bc05 <a Module>#52#
 #42# 0x30314261: 0x30314261 <JS Array[5]>
                 0: 0x55c3eea1 <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/examples/node_modules>
                 1: 0x55c3ef31 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c3efb1 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c3eff9 <String[23]: /scadaware/node_modules>
                 4: 0x55c3f035 <String[13]: /node_modules>
 #43# 0x3031b0b5: 0x3031b0b5 <an Object>
 #44# 0x3031b0c1: 0x3031b0c1 <JS Array[6]>
                 0: 0x30320715 <String[15]: /usr/lib/nodejs>
                 1: 0x30320729 <String[21]: /usr/lib/node_modules>
                 2: 0x3032073d <String[21]: /usr/share/javascript>
                 3: 0x55c3e331 <String[24]: /scadaware/.node_modules>
                 4: 0x55c3e36d <String[26]: /scadaware/.node_libraries>
                 5: 0x55c3e3ad <String[13]: /usr/lib/node>
 #45# 0x3031b0d1: 0x3031b0d1 <JS Array[2]>
                 0: 0x26219d81 <String[62]: (function (exports, require, module, __filename, __dirname) { >
                 1: 0x26219dcd <String[4]\: \n});>
 #46# 0x3035fb6d: 0x3035fb6d <an Object>
 #47# 0x57763019: 0x57763019 <JS Object>
                 m: 0x57763049 <a Float32Array>#53#
 #48# 0x3031848d: 0x3031848d <an Object>
 #49# 0x3031d259: 0x3031d259 <an Object>
 #50# 0x3031d301: 0x3031d301 <an Object>
 #51# 0x3035fd91: 0x3035fd91 <a Module>
                id: 0x55c52fc1 <String[58]: /scadaware/ui-app/node_modules/openvg-canvas/lib/canvas.js>
           exports: 0x30330499 <JS Function>#16#
            parent: 0x30341c15 <a Module>#4#
          filename: 0x55c52fc1 <String[58]: /scadaware/ui-app/node_modules/openvg-canvas/lib/canvas.js>
            loaded: 0x569080a1 <true>
          children: 0x303141e1 <JS Array[3]>#54#
             paths: 0x303141f1 <JS Array[5]>#55#
 #52# 0x5775bc05: 0x5775bc05 <a Module>
                id: 0x5775b249 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/examples/util.js>
           exports: 0x5775bc2d <an Object>#19#
            parent: 0x30341c15 <a Module>#4#
          filename: 0x5775b249 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/examples/util.js>
            loaded: 0x569080a1 <true>
          children: 0x5775bc39 <JS Array[0]>#56#
             paths: 0x5775c301 <JS Array[5]>#57#
 #53# 0x57763049: 0x57763049 <a Float32Array>
 BYTES_PER_ELEMENT: 4
            buffer: 0x577631fd <an ArrayBuffer>#58#
            length: 9
        byteOffset: 0
        byteLength: 36
 #54# 0x303141e1: 0x303141e1 <JS Array[3]>
                 0: 0x3031896d <a Module>#59#
                 1: 0x3035fd25 <a Module>#60#
                 2: 0x57726e85 <a Module>#61#
 #55# 0x303141f1: 0x303141f1 <JS Array[5]>
                 0: 0x55c3eced <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c3ed75 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c3edf5 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c3ee3d <String[23]: /scadaware/node_modules>
                 4: 0x55c3ee79 <String[13]: /node_modules>
 #56# 0x5775bc39: 0x5775bc39 <JS Array[0]>
 #57# 0x5775c301: 0x5775c301 <JS Array[5]>
                 0: 0x5775c581 <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/examples/node_modules>
                 1: 0x5775c755 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x5775c8b5 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x5775c9d1 <String[23]: /scadaware/node_modules>
                 4: 0x5775cad5 <String[13]: /node_modules>
 #58# 0x577631fd: 0x577631fd <an ArrayBuffer>
        byteLength: 36
 #59# 0x3031896d: 0x3031896d <a Module>
                id: 0x55c3a289 <String[74]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/openvg.js>
           exports: 0x30313f69 <an Object>#62#
            parent: 0x3035fd91 <a Module>#51#
          filename: 0x55c3a289 <String[74]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/openvg.js>
            loaded: 0x569080a1 <true>
          children: 0x3031f541 <JS Array[1]>#63#
             paths: 0x3031f551 <JS Array[5]>#64#
 #60# 0x3035fd25: 0x3035fd25 <a Module>
                id: 0x55c5a9e1 <String[59]: /scadaware/ui-app/node_modules/openvg-canvas/lib/context.js>
           exports: 0x30341b75 <an Object>#65#
            parent: 0x3035fd91 <a Module>#51#
          filename: 0x55c5a9e1 <String[59]: /scadaware/ui-app/node_modules/openvg-canvas/lib/context.js>
            loaded: 0x569080a1 <true>
          children: 0x30314141 <JS Array[6]>#66#
             paths: 0x30314151 <JS Array[5]>#67#
 #61# 0x57726e85: 0x57726e85 <a Module>
                id: 0x57726ead <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/lib/drawingStyle.js>
           exports: 0x303303b5 <JS Function>#68#
            parent: 0x3035fd91 <a Module>#51#
          filename: 0x57726ead <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/lib/drawingStyle.js>
            loaded: 0x569080a1 <true>
          children: 0x57744bb9 <JS Array[0]>#69#
             paths: 0x57744bc9 <JS Array[5]>#70#
 #62# 0x30313f69: 0x30313f69 <an Object>
 #63# 0x3031f541: 0x3031f541 <JS Array[1]>
                 0: 0x30322a25 <a Module>#71#
 #64# 0x3031f551: 0x3031f551 <JS Array[5]>
                 0: 0x55c4059d <String[77]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/node_modules>
                 1: 0x55c40645 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c406c5 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c4070d <String[23]: /scadaware/node_modules>
                 4: 0x55c40749 <String[13]: /node_modules>
 #65# 0x30341b75: 0x30341b75 <an Object>
 #66# 0x30314141: 0x30314141 <JS Array[6]>
                 0: 0x3035fc79 <a Module>#72#
                 1: 0x5770cfe9 <a Module>#73#
                 2: 0x57711e01 <a Module>#74#
                 3: 0x57714921 <a Module>#75#
                 4: 0x57719b25 <a Module>#76#
                 5: 0x5771ca31 <a Module>#77#
 #67# 0x30314151: 0x30314151 <JS Array[5]>
                 0: 0x55c3eb39 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c3ebc1 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c3ec41 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c3ec89 <String[23]: /scadaware/node_modules>
                 4: 0x55c3ecc5 <String[13]: /node_modules>
 #68# 0x303303b5: 0x303303b5 <JS Function>
 #69# 0x57744bb9: 0x57744bb9 <JS Array[0]>
 #70# 0x57744bc9: 0x57744bc9 <JS Array[5]>
                 0: 0x55c5f305 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c5f38d <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c5f40d <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c5f455 <String[23]: /scadaware/node_modules>
                 4: 0x55c5f491 <String[13]: /node_modules>
 #71# 0x30322a25: 0x30322a25 <a Module>
                id: 0x55c3d1fd <String[90]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/build/Release/openvg.node>
           exports: 0x30313f69 <an Object>#62#
            parent: 0x3031896d <a Module>#59#
          filename: 0x55c3d1fd <String[90]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/build/Release/openvg.node>
            loaded: 0x569080a1 <true>
          children: 0x3032766d <JS Array[0]>#78#
             paths: 0x3032767d <JS Array[7]>#79#
 #72# 0x3035fc79: 0x3035fc79 <a Module>
                id: 0x55c5b995 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/text.js>
           exports: 0x30341b69 <an Object>#80#
            parent: 0x3035fd25 <a Module>#60#
          filename: 0x55c5b995 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/text.js>
            loaded: 0x569080a1 <true>
          children: 0x303140c5 <JS Array[1]>#81#
             paths: 0x303140d5 <JS Array[6]>#82#
 #73# 0x5770cfe9: 0x5770cfe9 <a Module>
                id: 0x5770cf65 <String[60]: /scadaware/ui-app/node_modules/openvg-canvas/lib/gradient.js>
           exports: 0x3032c15d <JS Function>#83#
            parent: 0x3035fd25 <a Module>#60#
          filename: 0x5770cf65 <String[60]: /scadaware/ui-app/node_modules/openvg-canvas/lib/gradient.js>
            loaded: 0x569080a1 <true>
          children: 0x57743831 <JS Array[1]>#84#
             paths: 0x57743841 <JS Array[5]>#85#
 #74# 0x57711e01: 0x57711e01 <a Module>
                id: 0x57711d7d <String[59]: /scadaware/ui-app/node_modules/openvg-canvas/lib/pattern.js>
           exports: 0x3032cf75 <JS Function>#86#
            parent: 0x3035fd25 <a Module>#60#
          filename: 0x57711d7d <String[59]: /scadaware/ui-app/node_modules/openvg-canvas/lib/pattern.js>
            loaded: 0x569080a1 <true>
          children: 0x57743ebd <JS Array[1]>#87#
             paths: 0x57743ecd <JS Array[5]>#88#
 #75# 0x57714921: 0x57714921 <a Module>
                id: 0x57714891 <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/rendering.js>
           exports: 0x577440ed <an Object>#89#
            parent: 0x3035fd25 <a Module>#60#
          filename: 0x57714891 <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/rendering.js>
            loaded: 0x569080a1 <true>
          children: 0x577440f9 <JS Array[0]>#90#
             paths: 0x57744109 <JS Array[6]>#91#
 #76# 0x57719b25: 0x57719b25 <a Module>
                id: 0x57719aa5 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/lib/image.js>
           exports: 0x57744335 <an Object>#92#
            parent: 0x3035fd25 <a Module>#60#
          filename: 0x57719aa5 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/lib/image.js>
            loaded: 0x569080a1 <true>
          children: 0x57744341 <JS Array[1]>#93#
             paths: 0x57744351 <JS Array[5]>#94#
 #77# 0x5771ca31: 0x5771ca31 <a Module>
                id: 0x5771ca59 <String[56]: /scadaware/ui-app/node_modules/openvg-canvas/lib/path.js>
           exports: 0x3032fa75 <JS Function>#95#
            parent: 0x3035fd25 <a Module>#60#
          filename: 0x5771ca59 <String[56]: /scadaware/ui-app/node_modules/openvg-canvas/lib/path.js>
            loaded: 0x569080a1 <true>
          children: 0x57744a65 <JS Array[0]>#96#
             paths: 0x57744a75 <JS Array[5]>#97#
 #78# 0x3032766d: 0x3032766d <JS Array[0]>
 #79# 0x3032767d: 0x3032767d <JS Array[7]>
                 0: 0x55c41189 <String[91]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/build/Release/node_modules>
                 1: 0x55c4124d <String[83]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/build/node_modules>
                 2: 0x55c41301 <String[77]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules/openvg/node_modules>
                 3: 0x55c413a9 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 4: 0x55c41429 <String[30]: /scadaware/ui-app/node_modules>
                 5: 0x55c41471 <String[23]: /scadaware/node_modules>
                 6: 0x55c414ad <String[13]: /node_modules>
 #80# 0x30341b69: 0x30341b69 <an Object>
 #81# 0x303140c5: 0x303140c5 <JS Array[1]>
                 0: 0x3035fc19 <a Module>#98#
 #82# 0x303140d5: 0x303140d5 <JS Array[6]>
                 0: 0x55c3e8f5 <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/node_modules>
                 1: 0x55c3e985 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 2: 0x55c3ea0d <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 3: 0x55c3ea8d <String[30]: /scadaware/ui-app/node_modules>
                 4: 0x55c3ead5 <String[23]: /scadaware/node_modules>
                 5: 0x55c3eb11 <String[13]: /node_modules>
 #83# 0x3032c15d: 0x3032c15d <JS Function>
 #84# 0x57743831: 0x57743831 <JS Array[1]>
                 0: 0x5770e059 <a Module>#99#
 #85# 0x57743841: 0x57743841 <JS Array[5]>
                 0: 0x55c5e41d <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c5e4a5 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c5e525 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c5e56d <String[23]: /scadaware/node_modules>
                 4: 0x55c5e5a9 <String[13]: /node_modules>
 #86# 0x3032cf75: 0x3032cf75 <JS Function>
 #87# 0x57743ebd: 0x57743ebd <JS Array[1]>
                 0: 0x5771250d <a Module>#100#
 #88# 0x57743ecd: 0x57743ecd <JS Array[5]>
                 0: 0x55c5e79d <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c5e825 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c5e8a5 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c5e8ed <String[23]: /scadaware/node_modules>
                 4: 0x55c5e929 <String[13]: /node_modules>
 #89# 0x577440ed: 0x577440ed <an Object>
 #90# 0x577440f9: 0x577440f9 <JS Array[0]>
 #91# 0x57744109: 0x57744109 <JS Array[6]>
                 0: 0x55c5eb05 <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/node_modules>
                 1: 0x55c5eb95 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 2: 0x55c5ec1d <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 3: 0x55c5ec9d <String[30]: /scadaware/ui-app/node_modules>
                 4: 0x55c5ece5 <String[23]: /scadaware/node_modules>
                 5: 0x55c5ed21 <String[13]: /node_modules>
 #92# 0x57744335: 0x57744335 <an Object>
 #93# 0x57744341: 0x57744341 <JS Array[1]>
                 0: 0x5771bc51 <a Module>#101#
 #94# 0x57744351: 0x57744351 <JS Array[5]>
                 0: 0x55c5ed49 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c5edd1 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c5ee51 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c5ee99 <String[23]: /scadaware/node_modules>
                 4: 0x55c5eed5 <String[13]: /node_modules>
 #95# 0x3032fa75: 0x3032fa75 <JS Function>
 #96# 0x57744a65: 0x57744a65 <JS Array[0]>
 #97# 0x57744a75: 0x57744a75 <JS Array[5]>
                 0: 0x55c5f151 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c5f1d9 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c5f259 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c5f2a1 <String[23]: /scadaware/node_modules>
                 4: 0x55c5f2dd <String[13]: /node_modules>
 #98# 0x3035fc19: 0x3035fc19 <a Module>
                id: 0x55c5d6d5 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/loading.js>
           exports: 0x30341b5d <an Object>#102#
            parent: 0x3035fc79 <a Module>#72#
          filename: 0x55c5d6d5 <String[64]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/loading.js>
            loaded: 0x569080a1 <true>
          children: 0x30313f21 <JS Array[1]>#103#
             paths: 0x30313f31 <JS Array[6]>#104#
 #99# 0x5770e059: 0x5770e059 <a Module>
                id: 0x5770dfd9 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/lib/color.js>
           exports: 0x577438dd <an Object>#105#
            parent: 0x5770cfe9 <a Module>#73#
          filename: 0x5770dfd9 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/lib/color.js>
            loaded: 0x569080a1 <true>
          children: 0x577438e9 <JS Array[0]>#106#
             paths: 0x577438f9 <JS Array[5]>#107#
 #100# 0x5771250d: 0x5771250d <a Module>
                id: 0x5771248d <String[58]: /scadaware/ui-app/node_modules/openvg-canvas/lib/matrix.js>
           exports: 0x57743f29 <an Object>#108#
            parent: 0x57711e01 <a Module>#74#
          filename: 0x5771248d <String[58]: /scadaware/ui-app/node_modules/openvg-canvas/lib/matrix.js>
            loaded: 0x569080a1 <true>
          children: 0x57743f35 <JS Array[0]>#109#
             paths: 0x57743f45 <JS Array[5]>#110#
 #101# 0x5771bc51: 0x5771bc51 <a Module>
                id: 0x5771bbb1 <String[73]: /scadaware/ui-app/node_modules/openvg-canvas/build/Release/freeimage.node>
           exports: 0x57744461 <an Object>#111#
            parent: 0x57719b25 <a Module>#76#
          filename: 0x5771bbb1 <String[73]: /scadaware/ui-app/node_modules/openvg-canvas/build/Release/freeimage.node>
            loaded: 0x569080a1 <true>
          children: 0x5774446d <JS Array[0]>#112#
             paths: 0x5774447d <JS Array[6]>#113#
 #102# 0x30341b5d: 0x30341b5d <an Object>
 #103# 0x30313f21: 0x30313f21 <JS Array[1]>
                 0: 0x3035fbb9 <a Module>#114#
 #104# 0x30313f31: 0x30313f31 <JS Array[6]>
                 0: 0x55c3e6b1 <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/node_modules>
                 1: 0x55c3e741 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 2: 0x55c3e7c9 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 3: 0x55c3e849 <String[30]: /scadaware/ui-app/node_modules>
                 4: 0x55c3e891 <String[23]: /scadaware/node_modules>
                 5: 0x55c3e8cd <String[13]: /node_modules>
 #105# 0x577438dd: 0x577438dd <an Object>
 #106# 0x577438e9: 0x577438e9 <JS Array[0]>
 #107# 0x577438f9: 0x577438f9 <JS Array[5]>
                 0: 0x55c5e5d1 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c5e659 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c5e6d9 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c5e721 <String[23]: /scadaware/node_modules>
                 4: 0x55c5e75d <String[13]: /node_modules>
 #108# 0x57743f29: 0x57743f29 <an Object>
 #109# 0x57743f35: 0x57743f35 <JS Array[0]>
 #110# 0x57743f45: 0x57743f45 <JS Array[5]>
                 0: 0x55c5e951 <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 1: 0x55c5e9d9 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 2: 0x55c5ea59 <String[30]: /scadaware/ui-app/node_modules>
                 3: 0x55c5eaa1 <String[23]: /scadaware/node_modules>
                 4: 0x55c5eadd <String[13]: /node_modules>
 #111# 0x57744461: 0x57744461 <an Object>
         FreeImage: 0x57744601 <a FreeImage>#115#
 #112# 0x5774446d: 0x5774446d <JS Array[0]>
 #113# 0x5774447d: 0x5774447d <JS Array[6]>
                 0: 0x55c5eefd <String[71]: /scadaware/ui-app/node_modules/openvg-canvas/build/Release/node_modules>
                 1: 0x55c5ef99 <String[63]: /scadaware/ui-app/node_modules/openvg-canvas/build/node_modules>
                 2: 0x55c5f025 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 3: 0x55c5f0a5 <String[30]: /scadaware/ui-app/node_modules>
                 4: 0x55c5f0ed <String[23]: /scadaware/node_modules>
                 5: 0x55c5f129 <String[13]: /node_modules>
 #114# 0x3035fbb9: 0x3035fbb9 <a Module>
                id: 0x55c5dc85 <String[65]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/freetype.js>
           exports: 0x5770b0a1 <an Object>#116#
            parent: 0x3035fc19 <a Module>#98#
          filename: 0x55c5dc85 <String[65]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/freetype.js>
            loaded: 0x569080a1 <true>
          children: 0x303135f5 <JS Array[1]>#117#
             paths: 0x30313605 <JS Array[6]>#118#
 #115# 0x57744601: 0x57744601 <a FreeImage>
 #116# 0x5770b0a1: 0x5770b0a1 <an Object>
      LOAD_DEFAULT: 0
     LOAD_NO_SCALE: 1
   LOAD_NO_HINTING: 2
       LOAD_RENDER: 4
    LOAD_NO_BITMAP: 8
LOAD_VERTICAL_LAYOUT: 16
LOAD_FORCE_AUTOHINT: 32
  LOAD_CROP_BITMAP: 64
     LOAD_PEDANTIC: 128
LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH: 512
   LOAD_NO_RECURSE: 1024
LOAD_IGNORE_TRANSFORM: 2048
   LOAD_MONOCHROME: 4096
LOAD_LINEAR_DESIGN: 8192
  LOAD_NO_AUTOHINT: 32768
 LOAD_ADVANCE_ONLY: 256
   LOAD_SBITS_ONLY: 16384
           library: 0x30360755 <an Object>#119#
 #117# 0x303135f5: 0x303135f5 <JS Array[1]>
                 0: 0x5770c46d <a Module>#120#
 #118# 0x30313605: 0x30313605 <JS Array[6]>
                 0: 0x55c3e46d <String[66]: /scadaware/ui-app/node_modules/openvg-canvas/lib/text/node_modules>
                 1: 0x55c3e4fd <String[61]: /scadaware/ui-app/node_modules/openvg-canvas/lib/node_modules>
                 2: 0x55c3e585 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 3: 0x55c3e605 <String[30]: /scadaware/ui-app/node_modules>
                 4: 0x55c3e64d <String[23]: /scadaware/node_modules>
                 5: 0x55c3e689 <String[13]: /node_modules>
 #119# 0x30360755: 0x30360755 <an Object>
           library: 0x57746055 <Foreign>#121#
 #120# 0x5770c46d: 0x5770c46d <a Module>
                id: 0x55c5de4d <String[72]: /scadaware/ui-app/node_modules/openvg-canvas/build/Release/freetype.node>
           exports: 0x5770b0a1 <an Object>#116#
            parent: 0x3035fbb9 <a Module>#114#
          filename: 0x55c5de4d <String[72]: /scadaware/ui-app/node_modules/openvg-canvas/build/Release/freetype.node>
            loaded: 0x569080a1 <true>
          children: 0x5774356d <JS Array[0]>#122#
             paths: 0x5774357d <JS Array[6]>#123#
 #121# 0x57746055: 0x57746055 <Foreign>
 #122# 0x5774356d: 0x5774356d <JS Array[0]>
 #123# 0x5774357d: 0x5774357d <JS Array[6]>
                 0: 0x55c5e1c9 <String[71]: /scadaware/ui-app/node_modules/openvg-canvas/build/Release/node_modules>
                 1: 0x55c5e265 <String[63]: /scadaware/ui-app/node_modules/openvg-canvas/build/node_modules>
                 2: 0x55c5e2f1 <String[57]: /scadaware/ui-app/node_modules/openvg-canvas/node_modules>
                 3: 0x55c5e371 <String[30]: /scadaware/ui-app/node_modules>
                 4: 0x55c5e3b9 <String[23]: /scadaware/node_modules>
                 5: 0x55c5e3f5 <String[13]: /node_modules>
=====================

Trace/breakpoint trap