00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:07  * ircretaryjoined
00:01:33  * c4miloquit (Read error: Connection reset by peer)
00:01:40  * c4milojoined
00:04:34  * ericktquit (Quit: erickt)
00:16:45  * c4miloquit (Remote host closed the connection)
00:27:44  * AvianFlujoined
01:09:25  * ericktjoined
01:31:15  * stagasjoined
01:32:32  * pooyajoined
01:43:57  * pooyaquit (Quit: pooya)
01:44:54  * pooyajoined
02:20:18  * ericktquit (Quit: erickt)
02:20:31  * stagasquit (Ping timeout: 265 seconds)
02:30:34  * pooyaquit (Quit: pooya)
02:36:58  * pooyajoined
02:45:22  * pooyaquit (Quit: pooya)
02:46:45  * pooyajoined
02:47:47  * indexzeroquit (Quit: indexzero)
02:49:58  * pooyaquit (Client Quit)
03:08:29  * skebcio_quit (Quit: No Ping reply in 180 seconds.)
03:18:30  * skebciojoined
03:51:40  * mikealjoined
04:04:24  * mikealquit (Quit: Leaving.)
04:19:43  * kazuponjoined
04:34:36  * mikealjoined
04:43:16  * benoitcquit (Excess Flood)
04:44:36  * mikealquit (Ping timeout: 245 seconds)
04:50:55  * benoitcjoined
04:52:20  * kazuponquit (Remote host closed the connection)
05:10:54  * mikealjoined
05:17:07  * kazuponjoined
06:35:11  * kazuponquit (Remote host closed the connection)
06:36:32  * kazuponjoined
06:46:49  * loladirojoined
07:23:55  * felixgejoined
07:23:55  * felixgequit (Changing host)
07:23:55  * felixgejoined
07:38:42  * rendarjoined
07:47:08  * stagasjoined
08:02:03  * stagasquit (Ping timeout: 252 seconds)
08:10:35  * mikealquit (Quit: Leaving.)
08:11:08  * mikealjoined
08:31:40  * AvianFluquit (Remote host closed the connection)
08:50:25  * pooyajoined
08:51:48  * kazuponquit (Remote host closed the connection)
08:56:52  * loladiroquit (Quit: loladiro)
09:03:31  * loladirojoined
09:17:13  * felixgequit (Quit: felixge)
09:18:53  * felixgejoined
09:21:44  * pooyaquit (Read error: Connection reset by peer)
09:21:52  * pooyajoined
09:24:36  * felixgequit (Quit: felixge)
09:31:48  * loladiroquit (Ping timeout: 252 seconds)
09:45:02  * hzjoined
11:22:21  * pooyaquit (Quit: pooya)
11:34:15  * stagasjoined
12:16:14  * bentkusjoined
12:16:22  <bentkus>hello
12:27:05  <indutny>hello
12:35:09  <bentkus>at least fedor is always here ^^
13:31:30  * benoitcquit (Excess Flood)
13:35:32  * benoitcjoined
13:53:00  * loladirojoined
14:15:18  * piscisaureus_joined
14:17:14  * piscisaureus_quit (Client Quit)
14:29:54  * bentkusquit (Ping timeout: 252 seconds)
14:36:20  * benoitcquit (Excess Flood)
14:39:33  * benoitcjoined
14:42:38  * c4milojoined
14:46:35  * bentkusjoined
14:56:04  * bentkusquit (Quit: Lost terminal)
15:12:23  * CoverSlidejoined
15:27:31  * felixgejoined
15:27:31  * felixgequit (Changing host)
15:27:31  * felixgejoined
15:29:39  * c4miloquit (Remote host closed the connection)
15:33:41  * stagas_joined
15:35:01  * stagasquit (Ping timeout: 245 seconds)
15:35:05  * stagas_changed nick to stagas
15:36:42  * benoitcquit (Excess Flood)
15:38:11  * c4milojoined
15:39:04  * benoitcjoined
16:22:39  * felixgequit (Quit: felixge)
16:23:23  * stagasquit (Ping timeout: 256 seconds)
16:37:54  <isaacs>merry xmas!
16:38:02  <isaacs>happy boxing day
16:49:32  * indexzerojoined
16:54:45  * AvianFlujoined
17:05:10  <mmalecki>isaacs: merry christmas to you too!
17:17:40  * piscisaureus_joined
17:17:57  * piscisaureus_quit (Client Quit)
18:03:56  * benoitcquit (Excess Flood)
18:04:52  * felixgejoined
18:04:52  * felixgequit (Changing host)
18:04:53  * felixgejoined
18:12:05  * benoitcjoined
18:30:18  * pooyajoined
18:38:04  * milanijoined
18:39:13  <milani>Hi, Can anyone please explain to me what does this line do? uv/src/unix/linux/linux-core.c:131
18:39:29  <milani>and what does malloc suppose to do?
18:41:02  <mmalecki>milani: hey. what branch/commit?
18:41:06  <mmalecki>can you link to github?
18:41:40  <milani>yeah. a sec.
18:42:51  <milani>mmalecki, https://github.com/joyent/libuv/blob/master/src/unix/linux/linux-core.c#L312-L325
18:43:27  <milani>I'm spawning node process within chromium, I get this error:
18:43:31  <milani>tcmalloc: large alloc 18446744073709473792 bytes == (nil) @ [1226/212434:FATAL:process_util_linux.cc(726)] Out of memory.
18:44:00  <mmalecki>oh wow
18:44:23  <milani>and it is the malloc on this file that causes it. I know what happens, but I dont know the logic in this part of libuv.
18:48:18  <mmalecki>it looks like it's for command line arguments
18:48:45  <mmalecki>how many parameters are you passing to node process?
18:49:51  <tjfontaine>I'm guessing it's just uninitialized memory of sorts
18:50:33  <milani>mmalecki, what it does is to get the process name from environ and somehow compare it to argv[0] ( process title) I guess.
19:12:04  <milani>hmmm, I still can not figure it out. I run node in terminal, printf of s shows "./node" but its size is 3235 bytes.
19:12:32  <tjfontaine>milani: how are you spawning node in chromium?
19:13:20  <milani>git blame shows isaacs.
19:13:41  <milani>tjfontaine: I'm using content api to develop new appjs.
19:13:59  <milani>there is a process manager in chromium, I'm using it.
19:14:29  <milani>actually I compiled node as a shared library, and call node::Start on my own.
19:14:43  <tjfontaine>yes, what do you pass in for argc/argv?
19:15:51  <milani>tjfontaine: argc = 2; argv[0] = "node" argv[1] = "test.js"
19:16:12  <milani>should I paste exact code?
19:16:37  <tjfontaine>no, but you should debug and make sure that the memory is valid
19:18:10  <milani>tjfontaine: seems it is. anyway, just wanted to know why does libuv do these calculations:)
19:19:09  <tjfontaine>milani: certain versions of the kernel don't play nice with long command names iirc
19:19:21  * felixgequit (Quit: felixge)
19:19:45  <tjfontaine>milani: you should break in the debugger and step through the code when executed through chromium to see what the calculations end up being
19:21:20  <milani>I did. it will be: s = "./node" but the code allocates 3235 bytes for it. don't know why.
19:21:23  <milani>ok thx.
19:24:28  * mikealquit (Quit: Leaving.)
19:53:44  * indexzeroquit (Quit: indexzero)
19:58:28  * indexzerojoined
20:08:05  * felixgejoined
20:08:05  * felixgequit (Changing host)
20:08:05  * felixgejoined
20:12:42  * mikealjoined
20:20:04  * felixgequit (Quit: felixge)
20:38:54  * indexzeroquit (Quit: indexzero)
20:49:58  * indexzerojoined
21:01:10  * indexzeroquit (Quit: indexzero)
21:10:17  * indexzerojoined
21:13:47  * xaqjoined
21:22:08  * indexzeroquit (Quit: indexzero)
21:26:17  * felixgejoined
21:26:17  * felixgequit (Changing host)
21:26:17  * felixgejoined
21:28:11  * indexzerojoined
21:32:28  * Ralt_joined
21:33:21  * Raltquit (Disconnected by services)
21:33:24  * Ralt_changed nick to Ralt
21:33:54  * wolfeidauquit (Remote host closed the connection)
21:34:04  * Ralt_joined
21:43:40  * benoitcquit (Excess Flood)
21:53:05  * benoitcjoined
21:56:02  * felixgequit (Quit: felixge)
22:02:38  * c4miloquit (Remote host closed the connection)
22:05:10  * wolfeidaujoined
22:11:02  * rendarquit
22:21:21  * wolfeida_joined
22:23:45  * pooyaquit (Quit: pooya)
22:24:11  * wolfeidauquit (Ping timeout: 245 seconds)
22:37:11  <milani>tjfontaine: finally I could figure out why it didn't work. argv is a two dimensional array but the memory should be allocated like it is a long one dimensional array.
22:38:37  <milani>tjfontaine: with dimensions separated with null characters and argv[argc] = null.
22:40:09  * milanipart
23:13:09  * deoxxaquit (Read error: Connection reset by peer)
23:20:39  * Raltquit (Remote host closed the connection)
23:21:21  <MI6>joyent/node: Shigeki Ohtsu master * 8bf0c15 : stream2: fix to emit end event on http.ClientResponse (+4 more commits) - http://git.io/d5c82g
23:21:43  * indexzeroquit (Quit: indexzero)
23:23:59  <MI6>joyent/node: Ryunosuke SATO master * 31cffae : repl: add 'domain' to automatic loading libs `domain` should be a member - http://git.io/xala3A
23:25:29  <MI6>joyent/node: Ryunosuke SATO master * 0db521d : repl: remove 'repl' from automatic loading libs In repl, calling `repl` - http://git.io/ObV5Gw
23:27:06  <MI6>joyent/node: isaacs v0.8 * 54740c8 : lint - http://git.io/31vzrg
23:52:25  * bnoordhuisjoined
23:53:03  * hzquit
23:58:31  <MI6>joyent/node: isaacs master * d76eacd : http: Handle end only when stream is not dumped This fixes regression in - http://git.io/gi-fVg