Comments (10)
from quiche.
Yes, this is the line am hitting.
But, the if clause is not hit, destruction_indicator_ == 123456789, so not use-after-free
So it was not printed, but the stack trace was of course executed anyway.
I assume that the idea is, that the compiler optimizes it away in this case.
However, in my case, it does not happen and the stack is "printed" to void anyway.
from quiche.
from quiche.
Well, I am not seeing it. But if I put a print to the stack trace I see that it is executed.
And if I overwrite the stack implementation my problems go away.
I am currently not using the default logging code, maybe I should switch to the default code? My current code was written before default dummies were provided.
from quiche.
from quiche.
Ok, I have checked it.
It is the logging implementation.
So I will replace it with the default.
Then it is my fault. I wonder, if this is the reason, some users said the performance of the node addon is not as good as they expected.
So thank you!
But I am still puzzled that the stack trace takes so long, the lambda functions, (or it may be a deadlock).
from quiche.
Glad to hear that explains the Stack Trace firing when it shouldn't have. Totally agree that the stack track performance is really surprising. In particular, the default implementation https://github.com/google/quiche/blob/30eeff5e759f83b1a93418b86c726710eda04f25/quiche/common/platform/default/quiche_platform_impl/quiche_stack_trace_impl.cc simply delegates to the ABSL stack track utilities, which should be pretty solid.
@vasilvv to you have any thoughts about this?
from quiche.
I suspect that what happens here is, in canonical implementation of QUIC_BUG_IF, the stack trace is never called if the condition is not met. We probably just need to fix our logging impls.
from quiche.
The quiche default logging impl is fine, mine was faulty, now replaced by the default.
But that the stack trace takes a long time may be a problem.
from quiche.
Anyway, I close this..., was my faulty logging impl.
from quiche.
Related Issues (20)
- Masque Server segmentation fault
- optimize SerializedPacket copy/move HOT 2
- @platforms//os:linux is not a valid configuration key HOT 1
- Commit about ECN break UDP socket platform impl HOT 2
- how to build on window? HOT 3
- Does it support the Windows platform HOT 1
- How to access the spdsession object from a WebTransportSession HOT 2
- Toy Client not validating path or using Server Preferred Address
- time-wait handler should take precedence over `OnFailedToDispatchPacket` HOT 3
- how to enable QUIC_LOG HOT 1
- SyscallWrapper no matching problem when compile quiche on android
- [masque_client] Failed to enable receiving of self v4 ip on macOS HOT 1
- Undefined behavior sanitizer (ubsan) => Load of value <value>, which is not a valid value for type 'QuicErrorCode'. HOT 1
- Undefined behavior sanitizer (ubsan) => Null pointer passed as argument 2, which is declared to never be null. HOT 5
- IETF Connection Close Frame - Possible narrowing of error code coming from reason phrase HOT 1
- Allow sending NEW_TOKEN frames before TLS NewSessionTickets HOT 1
- QuicBatchWriterBuffer with custom allocated buffer HOT 2
- I have a question about compute min_rtt in bbrV2
- QuicIdleNetworkDetector::StopDetection error or duplicated?
- Can chrome send NEW_CONNECTION_ID frame to server after h3 handshake ? HOT 4
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 quiche.