Comments (3)
Set the env var: RUST_LOG=debug
.
from incubator-teaclave.
@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, @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)
- 我想问一个很初级的问题。。。。 HOT 1
- Renaming the dafault branch HOT 1
- 请更新下SDK中远程认证(ue-ra)的代码 HOT 1
- Teaclave build error where the rust-sgx-sdk version upgrate to 1.1.4 HOT 2
- Is there a plan to upgrade teaclave-rust-sdk version to 1.1.4 HOT 4
- Client Rust SDK failed to compile in macOS-12 HOT 1
- How to generate DCAP server cert and key? HOT 1
- Rust toolchain update HOT 1
- DCAP failed
- Support grpc
- Aggregate task and platform logs
- CI pipeline issue: Code scanning / Analyze cpp (pull_request) HOT 1
- Access control service HOT 2
- [RFC] Release Plan in 2023 Q2 HOT 2
- Make doc failure
- Copyright year needs update
- TVM example failed
- 关于enclave_signing_key.pem的问题 HOT 6
- DCAP deployment improvement HOT 2
- Enabling access control service HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-teaclave.