00:00:06  * ircretaryquit (Remote host closed the connection)
00:00:37  * ircretaryjoined
00:02:45  * dap_1joined
00:03:54  * dap_quit (Ping timeout: 276 seconds)
00:06:12  * Fishrock123joined
00:10:46  * Fishrock123quit (Ping timeout: 250 seconds)
00:12:47  * MLMjoined
00:23:51  * dsantiagojoined
00:29:12  * toothrotjoined
00:33:54  * avalanche123joined
00:53:20  * avalanche123quit (Remote host closed the connection)
00:59:02  * jgiquit (Quit: jgi)
00:59:30  * importantshockquit (Remote host closed the connection)
01:00:06  * importantshockjoined
01:00:09  * dap_1quit (Quit: Leaving.)
01:04:30  * importantshockquit (Ping timeout: 256 seconds)
01:06:53  * Fishrock123joined
01:11:57  * Fishrock123quit (Ping timeout: 266 seconds)
01:13:28  * Fishrock123joined
01:16:54  * dsantiagoquit (Quit: Computer has gone to sleep.)
01:19:19  * jgijoined
01:20:01  * jgiquit (Client Quit)
01:21:44  * ijrothquit (Quit: Leaving.)
01:36:00  * wolfeidauquit
01:48:52  * avalanche123joined
01:49:37  * AlexisMochaquit (Ping timeout: 252 seconds)
01:54:22  * ijrothjoined
01:58:10  * ijrothquit (Client Quit)
01:58:15  * kazuponjoined
02:03:10  * Fishrock123quit (Quit: Leaving...)
02:06:09  * wolfeidaujoined
02:08:47  * ijrothjoined
02:09:07  * brsonquit (Quit: leaving)
02:10:36  * rmgquit (Remote host closed the connection)
02:10:44  * ijrothquit (Client Quit)
02:10:52  * ijrothjoined
02:11:30  * importantshockjoined
02:12:23  * ijroth1joined
02:14:40  * ijroth2joined
02:15:20  * ijrothquit (Ping timeout: 256 seconds)
02:17:02  * ijroth1quit (Ping timeout: 256 seconds)
02:25:46  * ijroth2quit (Quit: Leaving.)
02:27:28  * avalanche123quit (Remote host closed the connection)
02:31:49  * dshaw_joined
02:41:10  * Left_Turnquit (Remote host closed the connection)
02:41:43  * ijrothjoined
02:51:29  * ijrothquit (Quit: Leaving.)
02:53:13  * qard_joined
02:53:16  * brsonjoined
03:00:24  * avalanche123joined
03:06:49  * eugenewarequit (*.net *.split)
03:06:49  * coderkevinquit (*.net *.split)
03:06:49  * tjfontainequit (*.net *.split)
03:06:49  * iamstefquit (*.net *.split)
03:13:08  * eugenewarejoined
03:13:08  * coderkevinjoined
03:13:08  * tjfontainejoined
03:13:08  * iamstefjoined
03:14:11  * thlorenz_joined
03:15:57  * avalanche123quit (Remote host closed the connection)
03:17:50  * AlexisMochajoined
03:18:34  * thlorenz_quit (Ping timeout: 245 seconds)
03:31:02  * avalanche123joined
03:42:16  * jgijoined
03:42:23  * dsantiagojoined
03:51:50  * jgiquit (Quit: jgi)
03:56:27  * ijrothjoined
03:57:13  * ijrothquit (Client Quit)
04:01:02  * jreyno40_joined
04:06:24  * dshaw_quit (Quit: Leaving.)
04:06:49  * avalanche123quit (Remote host closed the connection)
04:07:16  * avalanche123joined
04:08:11  * avalanch_joined
04:11:40  * avalanche123quit (Ping timeout: 252 seconds)
04:24:27  * wolfeidauquit (Ping timeout: 250 seconds)
04:25:01  * wolfeidaujoined
04:50:34  * ijrothjoined
04:50:34  * ijrothquit (Client Quit)
04:59:00  * kazuponquit (Remote host closed the connection)
04:59:28  * kazuponjoined
05:00:27  * edwin_liujoined
05:00:33  * avalanch_quit (Remote host closed the connection)
05:05:10  * jreyno40_part
05:05:13  * avalanche123joined
05:09:43  * avalanche123quit (Ping timeout: 255 seconds)
05:20:08  * coderkevinquit (Quit: Connection closed for inactivity)
05:26:08  * seishunjoined
05:37:11  * brsonquit (Quit: leaving)
05:59:40  * seldojoined
06:23:31  * MLMquit (Quit: Connection closed for inactivity)
06:34:52  * seishunquit (Ping timeout: 256 seconds)
06:34:59  * qard_quit (Remote host closed the connection)
07:11:49  * AvianFluquit (Remote host closed the connection)
07:36:51  * roxlujoined
07:41:31  * edwin_liu_joined
07:43:27  * edwin_liuquit (Ping timeout: 276 seconds)
07:47:38  * edwin_liujoined
07:50:22  * edwin_liu_quit (Ping timeout: 255 seconds)
07:59:19  * rendarjoined
08:09:06  * importantshockquit (Remote host closed the connection)
08:29:54  * edwin_liu_joined
08:31:27  * edwin_liuquit (Ping timeout: 265 seconds)
08:37:48  * SergeiRNDjoined
08:50:32  * rmgjoined
08:55:37  * rmgquit (Ping timeout: 255 seconds)
09:17:00  * kazuponquit (Remote host closed the connection)
09:21:10  * edwin_liu_quit (Remote host closed the connection)
09:54:27  * qard_joined
09:54:53  * luka__joined
09:56:06  * chris_99joined
10:02:39  * seldoquit (*.net *.split)
10:02:39  * ircretaryquit (*.net *.split)
10:02:39  * qardquit (*.net *.split)
10:02:40  * MI6quit (*.net *.split)
10:02:40  * lukaquit (*.net *.split)
10:13:48  * Left_Turnjoined
10:54:16  * SergeiRNDquit (Quit: Leaving.)
11:23:08  * SergeiRNDjoined
12:20:16  * a3fjoined
12:33:48  * avalanche123joined
12:36:52  * luka__quit (Quit: leaving)
12:37:44  * lukajoined
12:37:50  * lukaquit (Changing host)
12:37:50  * lukajoined
12:38:09  * avalanche123quit (Ping timeout: 245 seconds)
13:17:44  * thlorenzjoined
13:18:48  * thlorenzquit (Remote host closed the connection)
13:26:26  * lance|afkchanged nick to lanceball
13:34:14  * zju3joined
13:35:48  * zju1quit (Ping timeout: 245 seconds)
13:38:13  * zju1joined
13:40:55  * zju3quit (Ping timeout: 255 seconds)
13:44:07  * a_lejoined
13:44:34  * zju1quit (Ping timeout: 250 seconds)
13:44:51  * zju3joined
13:46:36  * zju1joined
13:47:43  <a_le>hello!
13:49:02  * zju3quit (Ping timeout: 244 seconds)
13:52:22  <a_le>i'm having some issue with unix domain sockets
13:59:01  <a_le>when i get a new client, i perform and accept on my listening socket and that fails with an EAGAIN error
14:09:08  * coderkevinjoined
14:11:34  * zju1quit (Remote host closed the connection)
14:13:39  * Fishrock123joined
14:13:49  * rmgjoined
14:14:31  * alexforsterjoined
14:18:29  * rmgquit (Ping timeout: 248 seconds)
14:23:39  <saghul>a_le: do you do that in the connection callback?
14:23:56  <a_le>saghul: yes
14:24:17  <saghul>do you have a reduced test case?
14:24:22  <a_le>in the connection callback for the listener
14:24:26  <a_le>not yet
14:24:32  <a_le>i was assuming I had a bug in my code
14:24:35  <saghul>yes, for the listener
14:24:42  <a_le>i then looked for examples in the libuv source
14:24:56  <a_le>and i found no occurrence of uv_accept on a unix domain socket
14:24:57  <saghul>the test suite tests for this, so I suspect you might have a bug somewhere
14:25:12  <a_le>saghul: where does it test for this? i looked for it
14:25:34  <saghul>many of the pipe tests
14:25:55  <a_le>i don't see uv_accept being used in any of the test-pipe* files
14:26:25  <a_le>only once in test-pipe-sendmsg.c
14:26:34  <a_le>but i don't use messages, i use streams
14:26:42  <a_le>so i thought that example would be irrelevant for me
14:27:34  <saghul>look at pipe_ping_pong
14:27:46  <saghul>it uses the echo server impelented in echo-server.c
14:27:50  <saghul>which does the uv_accept
14:28:05  <saghul>so it's not on the test itself, but on the auxiliary echo server
14:28:39  <a_le>i don't have that file...
14:29:14  <saghul>test/echo-server.c
14:29:20  <a_le>i am here: ┌─[HEAD]──[v1.x]──[remotes/origin/HEAD]──[remotes/origin/v1.x]──09cdc92 - (HEAD, origin/v1.x, origin/HEAD, v1.x) (2015-04-10 15:27:04 +0200) <Saúl Ibarra Corretgé> unix: fix potential bug if dup2 fails in uv_spawn
14:29:35  <a_le>btw, my code is almost the same as per my TCP sockets
14:29:39  <a_le>the callback is shared
14:29:54  <a_le>the only thing that changes is the initialization of the handles
14:30:12  <saghul>can you gist some code?
14:30:36  <a_le>it's all open source, but i haven't pushed this change because it fails for this reason
14:31:00  <a_le>i could pass you my private changes
14:32:42  <a_le>or i can push everything upstream except for the new test that fails
14:32:42  <saghul>you can create a private gist and send me the link
14:32:52  <a_le>and then send you the gist for the new test
14:33:17  <saghul>ok
14:33:40  <a_le>1 sec
14:35:18  * hueniversejoined
14:38:17  * MLMjoined
14:39:55  <a_le>saghul: wget https://git.opendaylight.org/gerrit/changes/18273/revisions/e27e67433da90360f471b098c79e60838533676d/archive\?format\=tbz2 -O domain_sockets.tar.bz2
14:40:22  <a_le>that unfortunately doesn't have the git history though :(
14:43:00  <saghul>a_le: got it, but it's a ton of files, where should I be looking?
14:43:43  <a_le>libopflex/comms/passive_listener.cpp, line 331
14:44:05  <a_le>interestingly on line 339 i hit an assert because the handle appears to be already closed
14:44:11  <a_le>IIRC
14:44:16  <a_le>let me pull the logs again
14:44:22  <a_le>and paste the test code
14:46:58  <a_le>saghul: the testcase is here http://pastebin.com/UrZ6L1Cr
14:48:19  <a_le>saghul: the test logs are here http://pastebin.com/qspLRjaz
14:49:42  <a_le>I initialize the uv_pipe_t handle on line 396 of passive_listener.cpp
14:50:01  <a_le>the error code i get upon uv_accept() is EAGAIN
14:50:29  <a_le>EAGAIN is not even listed as a possible errno on the man page for accept
14:51:00  <saghul>in on_passive_connection you don't check if status is 0
14:51:08  <saghul>we generate that error
14:51:43  <saghul>if there a problem with the handle the connection callback will be called with an error, I suspect that's happening
14:52:03  <saghul>but because you ignore it and call uv_accept, we return EAGAIN
14:52:31  <a_le>saghul: on line 322 i assert(status == 0)
14:52:49  <a_le>and this is a debug build
14:53:22  <a_le>i'll add a if (status) return; after that assert
14:53:37  <a_le>but this doesn't explain this issue, since I should hit my assert in this build
14:54:24  * AvianFlujoined
14:55:01  <saghul>hum, indeed
14:55:15  <saghul>but an assert is not good here, either way
14:55:26  <saghul>there are legit cases for it to be < 0
14:55:49  <a_le>like for example?
14:56:01  <a_le>not programming errors?
15:01:38  <saghul>yes, not programming errors
15:01:52  <saghul>if you run out of file descriptors, for example
15:02:15  <a_le>am in the wrong branch that i don't see pipe_ping_pong ?
15:02:32  <a_le>ah!
15:02:37  <a_le>the filename doesn't say pipe
15:02:40  * avalanche123joined
15:15:06  <a_le>saghul: my active peer goes online if i comment out that uv_close that caused an assert() !!!!!
15:16:48  <saghul>you were closing the server?
15:16:58  <a_le>nope
15:17:24  <a_le>only the passive handle i failed to accept on
15:17:29  <a_le>and now i commented out that close
15:19:07  * SergeiRNDquit (Quit: Leaving.)
15:23:21  <a_le>saghul: my code seems identical to the ping test
15:24:29  * kellabytejoined
15:29:51  * rmgjoined
15:34:26  * rmgquit (Ping timeout: 244 seconds)
15:36:57  <saghul>a_le: it's hard to tell, since the codebase is big and I can't get a glance of everything. If you can reproduce it with a reduced libuv test case I can take another look.
15:37:24  <a_le>i'm first trying to wait 200ms before attempting to connect
15:37:35  <a_le>since i am wondering if it could be some sort of race
15:38:15  * dap_joined
15:40:14  <a_le>saghul: same thing if i connect 200ms later
15:43:40  * seishunjoined
15:44:54  * jgijoined
15:57:46  * rmgjoined
15:59:42  * jgiquit (Quit: jgi)
16:01:02  * lanceballchanged nick to lance|afk
16:09:48  <a_le>saghul: i think i found my bug :)
16:09:55  <a_le>copy-paste is the root of all evil
16:24:52  * lance|afkchanged nick to lanceball
16:30:41  * jgijoined
16:48:56  * reqsharkjoined
16:53:32  * MLMquit (Quit: Connection closed for inactivity)
17:00:28  * jasnelljoined
17:27:05  * brsonjoined
17:27:52  * thlorenzjoined
17:31:50  * MLMjoined
18:01:20  * thlorenzquit (Remote host closed the connection)
18:15:48  * a_lequit (Remote host closed the connection)
18:26:56  * AlexisMochaquit (Ping timeout: 240 seconds)
18:34:52  * thlorenzjoined
18:37:30  * zju3joined
18:39:08  * thlorenzquit (Ping timeout: 245 seconds)
18:45:50  * thlorenzjoined
18:49:10  * jonaslundjoined
18:49:40  <jonaslund>Is there something similar like v8::ArrayBuffer::Neuter for Node Buffers ?
18:49:59  <jonaslund>basically zero the length for the buffer so any future accesses don't write random memory
18:50:18  <jonaslund>(even better would be if i could modify the pointer directly but well.. :) )
19:12:50  * SergeiRNDjoined
19:14:29  * kellabytequit (Quit: Connection closed for inactivity)
19:32:51  * avalanche123quit (Remote host closed the connection)
19:41:38  * rendarquit (Ping timeout: 264 seconds)
19:46:02  * brson_joined
19:46:07  * brson_quit (Client Quit)
19:46:14  * brsonquit (Quit: leaving)
19:46:22  * brsonjoined
19:47:49  * rendarjoined
19:53:43  * qard_quit (Remote host closed the connection)
19:56:40  * qardjoined
20:01:41  * avalanche123joined
20:06:36  * jasnellquit (Quit: Leaving...)
20:13:21  * lanceballchanged nick to lance|afk
20:17:08  * chris_99quit (Quit: Ex-Chat)
20:17:55  * chris_99joined
20:30:39  * a_lejoined
20:38:52  * lance|afkchanged nick to lanceball
20:50:00  * jgiquit (Quit: jgi)
20:56:41  * AlexisMochajoined
21:02:28  * jalcinequit (Ping timeout: 245 seconds)
21:05:51  * jalcinejoined
21:13:18  * jgijoined
21:20:12  * SergeiRNDquit (Quit: Leaving.)
21:42:28  * seishunquit (Ping timeout: 245 seconds)
21:42:51  * Fishrock123quit (Quit: Leaving...)
21:47:58  * alexforsterquit
21:53:04  * avalanche123quit (Remote host closed the connection)
22:02:26  * rmgquit (Remote host closed the connection)
22:06:01  * thlorenzquit (Remote host closed the connection)
22:16:30  * avalanche123joined
22:17:17  * AlexisMochaquit (Read error: Connection reset by peer)
22:25:11  * a_lequit (Remote host closed the connection)
22:26:59  * a3fquit (Quit: My Mac has gone to sleep. ZZZzzz…)
22:27:33  * a3fjoined
22:27:54  * a3fquit (Client Quit)
22:30:56  * rmgjoined
22:31:23  * thlorenzjoined
22:31:44  * a_lejoined
22:33:06  * thlorenzquit (Remote host closed the connection)
22:34:30  * rendarquit
22:36:19  * AvianFluquit (Remote host closed the connection)
22:36:53  * a_lequit (Remote host closed the connection)
22:37:35  * thlorenzjoined
22:40:12  * thlorenzquit (Remote host closed the connection)
22:47:31  * alexforsterjoined
22:59:18  * thlorenzjoined
23:15:30  * zju4joined
23:15:33  * zju1joined
23:16:01  * zjuquit (Ping timeout: 255 seconds)
23:17:13  * zju3quit (Ping timeout: 264 seconds)
23:25:04  * thlorenz_joined
23:28:43  * thlorenzquit (Ping timeout: 245 seconds)
23:31:14  * rmgquit (Remote host closed the connection)
23:33:33  * chris_99quit (Quit: Ex-Chat)
23:34:03  * jreyno40_joined
23:45:42  * zju3joined
23:46:49  * zju1quit (Ping timeout: 244 seconds)
23:47:58  * zju4quit (Ping timeout: 255 seconds)
23:48:27  * zjujoined
23:50:44  * alexforsterquit
23:54:19  * MI6joined
23:54:23  <MI6>joyent/node: Julien Gilli refs/tags/jenkins-accept-commit-temp * f99eaef : src: fix backport for SIGINT crash fix on FreeBSD - http://git.io/vv0gk