-
Notifications
You must be signed in to change notification settings - Fork 79
Crash when running Put and Get of simple_key_value_store #312
Comments
can we have a line number and a file where this option is unwrapped? |
I'm not aware of remaining .unwrap in the code, but I'm not sure either |
vault test : lib_test and executable_test proved there is no network connection get established among routing_nodes. |
true. they aren't currently on 0.1.62 |
if you look at this line : https://github.com/maidsafe/routing/blob/master/src/routing_node.rs#L165 I am afraid this might be the reason why there is no connection got established. |
@benjaminbollen I deliberately omitted the line no/file since they're useless. Anyway - it's src\libcore\option.rs:362. The backtrace is also useless (at least on Windows). |
Currently depends on #330 getting resolved first to progress further and assert if further work is needed to resolve this issue. |
@benjaminbollen There are still a few |
If one calls the
|
#330 is resolved (not yet merged); so there is a network. I am currently examining if -or why not -a client would not be bootstrapping similarly to the starting node. |
@maqi : only the routing nodes have the internal loop with blocking .recv, instead of .try_recv; it is a good call, but for client this should not be an issue as client still has run { ... .try_recv } |
assigned @inetic as high-five assigned him as reviewer for the PR |
merged |
On Windows, I ran the simple_key_value_store example. There was no network to connect to, and I retried with my machine's network cards disabled to be sure.
On starting the example with no args, no indication is given whether or not it has connected to a network.
If I subsequently tried to Put or Get, the example crashed with output:
The text was updated successfully, but these errors were encountered: