RocHack / meshchat

decentralized chat system for cjdns, with IRC front-end
37 stars 3 forks source link

Assertion on run #4

Open nmbook opened 10 years ago

nmbook commented 10 years ago

I haven't looked at much of this code since the Hackathon, but since the libuv additions, meshchat no longer runs for me.

After everything is bound up, it almost immediately gives this assertion from libuv code.

ircd listening on [::]:6999
Connecting to 127.0.0.1:11234
connected to cjdns admin at 127.0.0.1:11234
meshchat bound to [fcbc:2fe4:48d4:aca4:1947:9857:14f4:757a]:14627
meshchat: src/unix/udp.c:214: uv__udp_sendmsg: Assertion `!((const QUEUE *) (&handle->write_queue) == (const QUEUE *) (*(QUEUE **) &((*(&handle->write_queue))[0]))) || !((const QUEUE *) (&handle->write_completed_queue) == (const QUEUE *) (*(QUEUE **) &((*(&handle->write_completed_queue))[0])))' failed.
Aborted

I have no experience with how libuv works, and so far the first thing I see from it is a cryptic assertion in the UDP code. Although I welcome the improved event loop stuff that was advertised, I hope this can be fixed.

FYI: fedora 20 x64 in a VM on DigitalOcean (uname -a = Linux natembook.com 3.12.10-300.fc20.x86_64 #1 SMP Thu Feb 6 22:11:48 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)

ghost commented 10 years ago

Probably relevant: https://github.com/joyent/libuv/commit/29fdb34

Has been fixed in libuv v0.10.19

ghost commented 10 years ago

That link was out of context, here's more: https://github.com/joyent/node/issues/6407

clehner commented 10 years ago

I was seeing these assertions too. I re-cloned the repo and I haven't seen them again since.