-
Notifications
You must be signed in to change notification settings - Fork 172
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
Application panicked in zenoh code: registry/src/index.crates.io-6f17d22bba15001f/zenoh-transport-0.10.1-rc/src/manager.rs:335:18 #701
Comments
It looks like the OS returned #566 is currently reworking the |
1) I am using a sync client to publish/subscribe messages on Zenoh
2) Handling messages and establish connections/push/close happens in pre-spawned threads from me code. But there is only one feeder. Although I do accept that the sync calls could stuck and all pre-spawned threads may become wasted :)
3) Hardware is a Mac mini, with Intel architecture. Nothing extraordinary I can say about apps. Standard Darwin stack, Cocoa, few terminal sessions, virtualbox with one vm, atom editor
4) For me, switching to async in my project will require a significant code change on my end.
|
Thanks for the up-to-date information. Response below:
Can you please monitor CPU/RAM consumption on that? |
|
I am running my app with extended backtrace. I will have some results in an hour or two. |
|
Each pre-spaned thread performing this:
If I am to exhaust any limit, wanna know which one. And zbus_export_stream.rs:28 is at zenoh.open().res()
|
Based on the screenshot it seems your system is overloaded. I can see |
Sure, I exhaust the RAM, but I do have swapins and swapouts going. Even if that, shall app crash in library code if something like this occurs ? |
Error management could always be improved. But in this particular case Assuming the error is somehow bubbled up, how would your application react? I'm trying to understand the potential usage pattern here... |
One of my points, while I do exhaust the RAM, I do not exhaust VM, so as far as I concern, I do have resources. Although I will eventually get a more in-depth understanding of the mechanics of the Zenoh library, my general expectation is that if any problem happens inside the library call, the one shall return either a result or an error, which I shall handle. And if unwrap() in the library throws unhandled exception, there is not something I can do on my side of the code. |
Describe the bug
Application is panicked in zenoh code with
To reproduce
System info
The text was updated successfully, but these errors were encountered: