18.6.17日报

1,解决vscode在加载文件夹时崩溃的问题。

原因是页面会reload,而mb会把所有env里的uv的handle全部close。导致vscode的sharp process的有名管道的handleye

被关闭了。

出问题的地方,主进程发送消息 line:68, [E:\mycode\miniblink49\trunk\electron\lib\browser\api\web-contents.js] , [WebContents.send] line:22,[E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\parts\ipc\common\ipc.electron.js] , [Protocol.send] line:60, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\parts\ipc\common\ipc.js] , [] line:1581,[E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\common\winjs.base.js] , [CompletePromise_then] line:59,[E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\parts\ipc\common\ipc.js] , [ChannelServer.onCommonRequest] line:41,[E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\parts\ipc\common\ipc.js] , [ChannelServer.onMessage] line:32, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\parts\ipc\common\ipc.js] , [] line:103, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\common\event.js] , [Emitter.fire] line:12, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\parts\ipc\common\ipc.electron.js] , [] line:327, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\common\event.js] , [] line:341, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\common\event.js] , [] line:103, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\common\event.js] , [Emitter.fire] line:496, [E:\test_code\vscode-master-1.23.1\resources\app\out\vs\base\common\event.js] , [fn] line:111, [events.js] , [emitTwo] line:191, [events.js] , [emit] line:33, [E:\mycode\miniblink49\trunk\electron\lib\browser\api\web-contents.js] , [] line:116, [events.js] , [emitThree] line:194, [events.js] , [emit] 出问题的地方,sharp页面的渲染进程要去connect 共享进程 line:870, [net.js] , [connect] line:934, [net.js] , [Socket.connect] line:74, [net.js] , [exports.connect.exports.createConnection] line:196, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/node/ipc.net.js] , [] line:1656, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [Promise_ctor] line:195, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/node/ipc.net.js] , [connect] line:192, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/workbench/electron-browser/shell.js] , [] line:1185, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [notifySuccess] line:867, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [enter] line:1083, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [_run] line:1051, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [_completed] line:144, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/common/ipc.js] , [_this.handlers.(anonymous function)] line:202, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/common/ipc.js] , [ChannelClient.onMessage] line:109, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/common/ipc.js] , [] line:103, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/event.js] , [Emitter.fire] line:12, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/common/ipc.electron.js] , [] line:103, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/event.js] , [Emitter.fire] line:496, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/event.js] , [fn] line:106, [events.js] , [emitTwo] line:191, [events.js] , [emit]  主进程创建第二个窗口 line:26, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\sharedProcess.js] , [get] line:55, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\decorators.js] , [descriptor.(anonymous function)] line:92, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\sharedProcess.js] , [] line:1185, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [notifySuccess] line:867, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [enter] line:1083, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [_run] line:1051, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [_completed] line:302, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\async.js] , [Barrier.open] line:88, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\sharedProcess.js] , [SharedProcess.spawn] line:414, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\app.js] , [CodeApplication.afterWindowOpen] line:247, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\app.js] , [] line:48, [E:\test_code\vscode-master-1.23.1\out\vs\platform\instantiation\common\instantiationService.js] , [InstantiationService.invokeFunction] line:247, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\app.js] , [] line:1581, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [CompletePromise_then] line:240, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\app.js] , [] line:1581, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [CompletePromise_then] line:225, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\app.js] , [CodeApplication.startup] line:345, [E:\test_code\vscode-master-1.23.1\out\vs\code\electron-main\main.js] , [] line:1185, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [notifySuccess] line:867, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [enter] line:1083, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [_run] line:1051, [E:\test_code\vscode-master-1.23.1\out\vs\base\common\winjs.base.js] , [_completed] line:189, [E:\test_code\vscode-master-1.23.1\out\vs\base\parts\ipc\node\ipc.net.js] , [] line:291, [events.js] , [g] line:86, [events.js] , [emitNone] line:185, [events.js] , [emit] line:1285, [net.js] , [emitListeningNT] line:71, [internal/process/next_tick.js] , [_combinedTickCallback] line:98, [internal/process/next_tick.js] , [_tickCallback] 渲染进程握手消息

[sharedProcess. sharedProcessMain.js handshake __callstack__],

[file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js]

stackTrace:     at handshake [111]:[14]:[file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js]     at startup [9]:[9]:[file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js]     at (anonymous function) [154]:[18]:[file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcess.js]     at Module._invokeFactory [952]:[41]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at Module.complete [965]:[36]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1580]:[20]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1592]:[30]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1592]:[30]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1592]:[30]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1592]:[30]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1592]:[30]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1592]:[30]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onModuleComplete [1592]:[30]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._resolve [1542]:[22]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager.defineModule [1196]:[18]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at ModuleManager._onLoad [1275]:[22]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at (anonymous function) [1447]:[31]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at OnlyOnceScriptLoader.triggerCallback [585]:[36]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at (anonymous function) [579]:[90]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at (anonymous function) [786]:[29]:[file:///e:/test_code/vscode-master-1.23.1/resources/app/out/vs/loader.js]     at readFileAfterClose [445]:[3]:[fs.js] HandleWrap::HandleWrap 09561D68 handshake:hey there 的时候创建 创建命名管道 FatalException: 18 line:1203, [net.js] , [createServerHandle] line:1243, [net.js] , [Server._listen2] line:1295, [net.js] , [listen] line:1384, [net.js] , [Server.listen] line:187, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/node/ipc.net.js] , [] line:1656, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [Promise_ctor] line:184, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/parts/ipc/node/ipc.net.js] , [serve] line:79, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js] , [setup] line:102, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js] , [setupIPC] line:113, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js] , [] line:1185, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [notifySuccess] line:867, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [enter] line:1083, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [_run] line:1051, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/base/common/winjs.base.js] , [_completed] line:106, [file:///E:/test_code/vscode-master-1.23.1/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js] , [] line:291, [events.js] , [g] line:106, [events.js] , [emitTwo] line:191, [events.js] , [emit]

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • vscode源码的一点点笔记

    龙泉寺扫地僧
  • 18.6.20日报

    2,修复vscode在2k3系统下报告各种node_modules目录找不到的问题。

    龙泉寺扫地僧
  • 18.6.14日报:vscode的nls(本地化)有点复杂

    1,app.setpath的实现有bug,设置重复的name,不会取代老的path。

    龙泉寺扫地僧
  • 如何在K8s上设置生产级的EFK?(上)

    在Kubernetes集群上运行多个服务和应用程序时,统一的日志收集不可或缺,Elasticsearch、Filebeat和Kibana(EFK)堆栈是目前较受...

    CNCF
  • 过年抢红包,再也不用担心自己手速慢了

    抢红包神器的分享其实在小轻论坛网页端分享过了,下载量还行(相对而言)。有朋友说公众号还有大批粉丝懒于进网站找帖子,没看到这个福利。最近,在群里也有看到不少同学在...

    半夜喝可乐
  • python处理txt文件常用方法

    以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,如果有疑问大家可以留言交流,谢谢大家的支持。

    wencheng
  • 记录我学github的路程(二)

    2015-12-09 更新 1,现在,本地有了一个库,你可能会想到GitHub创建一个库,并且关联起来。这样,远程的库既可以当作备份,又可以让其他人通过该仓库来...

    xcywt
  • java之instanceof操作符

    绝命生
  • 两天研习Python基础(十) 文件处理

    [1]Python文档 - open: https://docs.python.org/3/library/functions.html#open

    王诗翔呀
  • 浅谈CDC在微服务中的应用

    CDC(Change Data Capture)是一种通过监测数据变更(变更包括新增、修改、删除等)而对变更的数据进行进一步处理的一种设计模式,通常应用在数据仓...

    ThoughtWorks

扫码关注云+社区

领取腾讯云代金券