vmolsa / webrtc-native

WebRTC for NodeJS
MIT License
169 stars 96 forks source link

v8::ObjectTemplate::Set() with non-primitive values is deprecated and will stop working in the next major release. #42

Open echeese opened 7 years ago

echeese commented 7 years ago

Built the latest version e10bc4e1 on Windows, and while it seems to work fine, it throws a few stack traces before running, saying

(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 000003BB4FECFB61 <JS Object>#0#
    1: .node [module.js:597] [pc=000003C663D81524] (this=00000145768C1D49 <an Object with map 0000017F6DC1AC51>#1#,module=000000F9FE79F809 <a Module with map 0000017F6DC1BA69>#2#,filename=000000F9FE79DD09 <String[30]: C:\w\build\Release\webrtc.node>)
    2: load [module.js:487] [pc=000003C663D40D32] (this=000000F9FE79F809 <a Module with map 0000017F6DC1BA69>#2#,filename=000000F9FE79DD09 <String[30]: C:\w\build\Release\webrtc.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=000003C663D4085D] (this=000003BB4FE04381 <undefined>,module=000000F9FE79F809 <a Module with map 0000017F6DC1BA69>#2#,filename=000000F9FE79DD09 <String[30]: C:\w\build\Release\webrtc.node>)
    4: _load [module.js:438] [pc=000003C663D355A2] (this=00000145768C1D01 <JS Function Module (SharedFunctionInfo 000001457682D2B1)>#3#,request=00000268C6C6DDE9 <String[27]: ./build/Release/webrtc.node>,parent=000000F9FE79BFF9 <a Module with map 0000017F6DC1BA69>#4#,isMain=000003BB4FE04271 <false>)
    5: require [module.js:497] [pc=000003C663D4AA33] (this=000000F9FE79BFF9 <a Module with map 0000017F6DC1BA69>#4#,path=00000268C6C6DDE9 <String[27]: ./build/Release/webrtc.node>)
    6: require(aka require) [internal/module.js:20] [pc=000003C663D4A766] (this=000003BB4FE04381 <undefined>,path=00000268C6C6DDE9 <String[27]: ./build/Release/webrtc.node>)
    7: /* anonymous */ [C:\w\index.js:2] [pc=000003C663D8127E] (this=000000F9FE79C049 <an Object with map 00000221BBB075E9>#5#,exports=000000F9FE79C049 <an Object with map 00000221BBB075E9>#5#,require=000000F9FE79CC99 <JS Function require (SharedFunctionInfo 000001457685FF31)>#6#,module=000000F9FE79BFF9 <a Module with map 0000017F6DC1BA69>#4#,__filename=000000F9FE79B211 <String[13]: C:\w\index.js>,__dirname=000000F9FE79CC39 <String[4]: C:\w>)
    8: _compile [module.js:570] [pc=000003C663D49EF0] (this=000000F9FE79BFF9 <a Module with map 0000017F6DC1BA69>#4#,content=000000F9FE79C811 <String[58]\: \nmodule.exports = require('./build/Release/webrtc.node');\n>,filename=000000F9FE79B211 <String[13]: C:\w\index.js>)
    9: .js [module.js:579] [pc=000003C663D42F2B] (this=00000145768C1D49 <an Object with map 0000017F6DC1AC51>#1#,module=000000F9FE79BFF9 <a Module with map 0000017F6DC1BA69>#4#,filename=000000F9FE79B211 <String[13]: C:\w\index.js>)
   10: load [module.js:487] [pc=000003C663D40D32] (this=000000F9FE79BFF9 <a Module with map 0000017F6DC1BA69>#4#,filename=000000F9FE79B211 <String[13]: C:\w\index.js>)
   11: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=000003C663D4085D] (this=000003BB4FE04381 <undefined>,module=000000F9FE79BFF9 <a Module with map 0000017F6DC1BA69>#4#,filename=000000F9FE79B211 <String[13]: C:\w\index.js>)
   12: _load [module.js:438] [pc=000003C663D355A2] (this=00000145768C1D01 <JS Function Module (SharedFunctionInfo 000001457682D2B1)>#3#,request=0000014576827BD1 <String[2]: ..>,parent=00000145768C1DC9 <a Module with map 0000017F6DC1BA69>#7#,isMain=000003BB4FE04271 <false>)
   13: require [module.js:497] [pc=000003C663D4AA33] (this=00000145768C1DC9 <a Module with map 0000017F6DC1BA69>#7#,path=0000014576827BD1 <String[2]: ..>)
   14: require(aka require) [internal/module.js:20] [pc=000003C663D4A766] (this=000003BB4FE04381 <undefined>,path=0000014576827BD1 <String[2]: ..>)
   15: /* anonymous */ [C:\w\test\multiconnect.js:5] [pc=000003C663D4DAC7] (this=00000145768C1FA1 <an Object with map 00000221BBB075E9>#8#,exports=00000145768C1FA1 <an Object with map 00000221BBB075E9>#8#,require=00000145768C1E59 <JS Function require (SharedFunctionInfo 000001457685FF31)>#9#,module=00000145768C1DC9 <a Module with map 0000017F6DC1BA69>#7#,__filename=00000145768C1F69 <String[25]: C:\w\test\multiconnect.js>,__dirname=00000145768C1F41 <String[9]: C:\w\test>)
   16: _compile [module.js:570] [pc=000003C663D49EF0] (this=00000145768C1DC9 <a Module with map 0000017F6DC1BA69>#7#,content=00000145768C2C11 <Very long string[3004]>#10#,filename=00000145768C1F69 <String[25]: C:\w\test\multiconnect.js>)
   17: .js [module.js:579] [pc=000003C663D42F2B] (this=00000145768C1D49 <an Object with map 0000017F6DC1AC51>#1#,module=00000145768C1DC9 <a Module with map 0000017F6DC1BA69>#7#,filename=00000145768C1F69 <String[25]: C:\w\test\multiconnect.js>)
   18: load [module.js:487] [pc=000003C663D40D32] (this=00000145768C1DC9 <a Module with map 0000017F6DC1BA69>#7#,filename=00000145768C1F69 <String[25]: C:\w\test\multiconnect.js>)
   19: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=000003C663D4085D] (this=000003BB4FE04381 <undefined>,module=00000145768C1DC9 <a Module with map 0000017F6DC1BA69>#7#,filename=00000145768C1F69 <String[25]: C:\w\test\multiconnect.js>)
   20: _load [module.js:438] [pc=000003C663D355A2] (this=00000145768C1D01 <JS Function Module (SharedFunctionInfo 000001457682D2B1)>#3#,request=000001457685F949 <String[14]: ./multiconnect>,parent=00000145768C3809 <a Module with map 0000017F6DC1BA69>#11#,isMain=000003BB4FE04271 <false>)
   21: require [module.js:497] [pc=000003C663D4AA33] (this=00000145768C3809 <a Module with map 0000017F6DC1BA69>#11#,path=000001457685F949 <String[14]: ./multiconnect>)
   22: require(aka require) [internal/module.js:20] [pc=000003C663D4A766] (this=000003BB4FE04381 <undefined>,path=000001457685F949 <String[14]: ./multiconnect>)
   23: /* anonymous */ [C:\w\test\all.js:1] [pc=000003C663D4A1BB] (this=00000145768C3979 <an Object with map 00000221BBB075E9>#12#,exports=00000145768C3979 <an Object with map 00000221BBB075E9>#12#,require=00000145768C3899 <JS Function require (SharedFunctionInfo 000001457685FF31)>#13#,module=00000145768C3809 <a Module with map 0000017F6DC1BA69>#11#,__filename=00000145768C3951 <String[16]: C:\w\test\all.js>,__dirname=00000145768C3929 <String[9]: C:\w\test>)
   24: _compile [module.js:570] [pc=000003C663D49EF0] (this=00000145768C3809 <a Module with map 0000017F6DC1BA69>#11#,content=00000145768C3A69 <String[55]\: require('./multiconnect');\nrequire('./bwtest').tape();\n>,filename=00000145768C3951 <String[16]: C:\w\test\all.js>)
   25: .js [module.js:579] [pc=000003C663D42F2B] (this=00000145768C1D49 <an Object with map 0000017F6DC1AC51>#1#,module=00000145768C3809 <a Module with map 0000017F6DC1BA69>#11#,filename=00000145768C3951 <String[16]: C:\w\test\all.js>)
   26: load [module.js:487] [pc=000003C663D40D32] (this=00000145768C3809 <a Module with map 0000017F6DC1BA69>#11#,filename=00000145768C3951 <String[16]: C:\w\test\all.js>)
   27: tryModuleLoad(aka tryModuleLoad) [module.js:446] [pc=000003C663D4085D] (this=000003BB4FE04381 <undefined>,module=00000145768C3809 <a Module with map 0000017F6DC1BA69>#11#,filename=00000145768C3951 <String[16]: C:\w\test\all.js>)
   28: _load [module.js:438] [pc=000003C663D355A2] (this=00000145768C1D01 <JS Function Module (SharedFunctionInfo 000001457682D2B1)>#3#,request=00000145768543C9 <String[16]: C:\w\test\all.js>,parent=000003BB4FE04201 <null>,isMain=000003BB4FE043C1 <true>)
   29: /* anonymous */(aka /* anonymous */) [module.js:604] [pc=000003C663D3506A] (this=000003BB4FE04381 <undefined>)
   30: run(aka run) [bootstrap_node.js:394] [pc=000003C663D34EF0] (this=000003BB4FE04381 <undefined>,entryFunction=0000014576852E31 <JS Function Module.runMain (SharedFunctionInfo 000001457682E0F1)>#14#)
   31: startup(aka startup) [bootstrap_node.js:149] [pc=000003C663C44B12] (this=000003BB4FE04381 <undefined>)
   32: /* anonymous */(aka /* anonymous */) [bootstrap_node.js:509] [pc=000003C663C42939] (this=000003BB4FE04201 <null>,process=000003BB4FEE1EA1 <a process with map 00000221BBB113B1>#15#)
=====================