Giter VIP home page Giter VIP logo

Comments (3)

mssun avatar mssun commented on June 10, 2024 1

Set the env var: RUST_LOG=debug.

from incubator-teaclave.

litongxin1991 avatar litongxin1991 commented on June 10, 2024

@luoyanhua2011 Thanks for the issue.

The services are crashed due to large memory allocation.
In mesatee, messages are sent with following format: buffer_len+message bytes

    br.read_exact(&mut lbuf)?;
    let buf_len: u64 = u64::from_be(unsafe { transmute::<[u8; 8], u64>(lbuf) });
    let mut recv_buf: Vec<u8> = vec![0u8; buf_len as usize];
    br.read_exact(&mut recv_buf)?;

The messages sent by the python script didn't contain the length field, so several bytes in the json payloads are parsed as the length of the buffer, which are very large.

"8872782177770364777" is "{\"task_i"
"8872782280798839354" is "{\"type":"

We will fix the issue to avoid crash.

from incubator-teaclave.

hi-T0day avatar hi-T0day commented on June 10, 2024

Hi, @luoyanhua2011
I want to know how to open the debug mode as the images in this issue.
Could you tell me?

Thank you

from incubator-teaclave.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.