Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glSetDrawRectangleCHROMIUM: failed on surface #934

Closed
forconz opened this issue Oct 29, 2017 · 2 comments
Closed

glSetDrawRectangleCHROMIUM: failed on surface #934

forconz opened this issue Oct 29, 2017 · 2 comments

Comments

@forconz
Copy link

forconz commented Oct 29, 2017

Provide Your Network Information

  1. Where is the location of your server? (i.e. City, or In/Out China)
    Wuhan, China
  2. Which cloud platform(AliYun/Qcloud/DigitalOcean/etc) are you using?
    Local

Run npm run doctor or wechaty run doctor(for docker user), paste output here

Expected behavior

Actual behavior

Steps to reproduce the behavior (and fixes, if any)

Full Output Logs

$ WECHATY_LOG=silly npm run ts-node mybot.ts

# or 

$ WECHATY_LOG=silly node dist/mybot.js
Show Logs ### Paste the full output logs here with `WECHATY_LOG=silly` set
# PASTE FULL LOG OUTPUT AT HERE:
                // 计算文件的md5值
                computeMd5((__dirname + '\\files\\' + filename), (md5String) => {
                    // console.log(`文件路径 ${path.dirname(filename)}`); // 文件路径 .
                    // console.log(`文件名 ${path.basename(filename)}`); // 文件名 6504280254289908260.jpg
                    // console.log(`扩展名 ${path.extname(filename)}`); // 扩展名 .jpg

                    // 保存文件到服务器
                    var formData = {
                        file: {
                            value: fs.createReadStream(__dirname + '\\files\\' + filename), // 文件数据
                            options: {
                                filename: (md5String+path.extname(filename)),
                                contentType: 'application/octet-stream' // 二进制流,不知道下载文件类型
                            }
                        }
                    };
                    // 开始上传文件
                    postToServer('http://m.huster.cn/api/Bot/UploadFile', formData, (body) => {
                        console.log(body);
                    });
                });

成功执行到console.log(body);了,但是后继日志输出如下,不知道出了啥错。是异步执行,进入其它线程里,丢了上下文吗?

[67176:67488:1029/233817.704:ERROR:gles2_cmd_decoder.cc(8945)] [.DisplayCompositor-0C958DC0]GL ERROR :GL_INVALID_OPERATION : glSetDrawRectangleCHROMIUM: failed on surface
[67176:67488:1029/233817.704:ERROR:gles2_cmd_decoder.cc(8946)] Context lost because SetDrawRectangleCHROMIUM failed.
[67176:67488:1029/233817.708:ERROR:gles2_cmd_decoder.cc(5414)] Error: 5 for Command kSetDrawRectangleCHROMIUM
[67176:67488:1029/233817.709:ERROR:gpu_channel_manager.cc(197)] Exiting GPU process because some drivers cannot recover from problems.
[67636:68148:1029/233817.715:ERROR:gpu_process_transport_factory.cc(992)] Lost UI shared context.

@forconz
Copy link
Author

forconz commented Oct 29, 2017

我终止运行,修改代码,再次运行时发生磁盘爆满了的bug,我发现C盘没空间了。这个是另外一个问题:
[70764:65404:1029/235256.889:ERROR:connection.cc(1964)] History sqlite error 13, errno 0: database or disk is full, sql: INSERT OR REPLACE INTO meta (key,value) VALUES (?,?)
[70764:57708:1029/235309.542:ERROR:entry_impl.cc(962)] Failed to save user data

这个数据不能保存在当前目录. 下吗?我看都存入到C盘了。

@huan
Copy link
Member

huan commented Nov 3, 2017

I'll close this issue because it seems not related to Wechaty.

Please feel free to submit new issue if you have other issues.

@huan huan closed this as completed Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants