00:26:31  * c4milojoined
01:43:22  * c4miloquit (Remote host closed the connection)
01:44:23  * abraxas_quit (Remote host closed the connection)
01:45:36  * abraxas_joined
01:46:15  * bnoordhuisquit (Ping timeout: 250 seconds)
01:48:20  * muelli_quit (Ping timeout: 265 seconds)
01:53:03  * c4milojoined
02:01:21  * jmar777joined
02:05:18  * jmar777quit (Remote host closed the connection)
02:19:27  * jorgenptquit (Ping timeout: 245 seconds)
02:20:25  * jorgenptjoined
02:20:25  * jorgenptquit (Changing host)
02:20:25  * jorgenptjoined
02:20:29  * caitp-quit (Quit: Leaving)
02:26:22  * jorgenptquit (Ping timeout: 255 seconds)
02:31:04  * caitpjoined
02:31:28  * jorgenptjoined
02:31:28  * jorgenptquit (Changing host)
02:31:28  * jorgenptjoined
02:35:50  * jmar777joined
02:40:35  * jmar777quit (Ping timeout: 258 seconds)
02:53:03  * bnoordhuisjoined
02:57:24  * bnoordhuisquit (Ping timeout: 250 seconds)
03:17:57  * c4miloquit (Remote host closed the connection)
03:18:18  * xiinotulpjoined
03:19:53  * plutoniixquit (Ping timeout: 240 seconds)
03:32:39  * c4milojoined
04:17:25  * caitpquit (Ping timeout: 244 seconds)
04:51:07  * plutonuxjoined
04:54:00  * xiinotulpquit (Ping timeout: 265 seconds)
05:42:32  <trungl-bot>Tree closed by [email protected]: Tree is closed (Automatic: "Mozilla" on http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20sim%20-%20debug/builds/873 "V8 Linux - arm64 - sim - debug" from 28d6001c0593470f4e0175acccd6014e4110d4a1: [email protected])
05:49:35  <trungl-bot>Tree opened by [email protected]: Tree is open
06:01:34  * c4miloquit (Remote host closed the connection)
06:04:41  <trungl-bot>Tree closed by [email protected]: Tree is closed (Automatic: "OptimizeForSize" on http://build.chromium.org/p/client.v8/builders/V8%20Linux/builds/1159 "V8 Linux" from 8977e3d5e491bb59087c986a815a090cb4ea2a32: [email protected])
06:45:58  <trungl-bot>Tree opened by [email protected]: Tree is open (Automatic: ♪d(´▽`)b♪オールオッケィ♪)
07:43:22  * rendarjoined
07:49:57  * c4milojoined
07:55:00  * c4miloquit (Ping timeout: 264 seconds)
08:34:04  * dpinojoined
08:51:29  * Lethalmanjoined
09:16:10  <trungl-bot>Tree closed by [email protected]: Tree is closed (Automatic: "Check" on http://build.chromium.org/p/client.v8/builders/V8%20Win64/builds/592 "V8 Win64" from 3bed0a171aea4912d5e5328f8b4d09a97452317a: [email protected])
09:18:40  * muelli_joined
09:22:12  <trungl-bot>Tree opened by [email protected]: Tree is open (yangguo looking at win64)
09:39:02  * c4milojoined
09:43:44  * c4miloquit (Ping timeout: 244 seconds)
11:01:34  * bnoordhuisjoined
11:16:57  * Net147joined
11:22:43  * jas-_joined
11:27:59  * c4milojoined
11:33:14  * c4miloquit (Ping timeout: 265 seconds)
11:37:36  * bnoordhuisquit (Ping timeout: 264 seconds)
11:41:04  * caitpjoined
11:46:54  * caitpquit (Ping timeout: 245 seconds)
12:01:35  * caitpjoined
12:01:45  * Net147quit (Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!)
12:18:24  * caitpquit (Ping timeout: 264 seconds)
12:23:15  * caitpjoined
12:32:29  * plutonuxquit (Ping timeout: 260 seconds)
12:36:37  <pbunny>hi
12:37:13  <pbunny>getting segfault in ==25577== at 0x575768D: v8::Context::Enter() (in ***/libv8.so)
12:37:17  <pbunny>in one place
12:37:27  <pbunny>Context::Scope context_scope(env->context()); - this like
12:37:45  <pbunny>*env->context() returns same pointer as after context initialization (in other function)
12:38:00  <pbunny>possible reasons?
12:38:12  <pbunny>GetCurrentContext() is null though
12:38:35  <pbunny>the function with line that produces segfault is called as uv callback
12:38:51  <pbunny>uv event loop is local to single thread
12:38:57  <pbunny>but it's not the main thread
12:39:01  <pbunny>valgrind drd shows no races
12:43:30  * bnoordhuisjoined
12:47:25  <pbunny>solved, had v8::Local context in class
12:48:24  * bnoordhuisquit (Ping timeout: 264 seconds)
12:51:31  <pbunny>now i get segfault on v8::TryCatch trycatch; line
12:51:33  <pbunny>o.O
13:03:48  <trungl-bot>Tree closed by [email protected]: Tree is closed (Automatic: "Check" on http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20isolates/builds/1148 "V8 Linux - isolates" from 4446e8fe50a621825ec93e89f7f280324ff9f5d1: [email protected],[email protected])
13:04:26  <caitp>does anyone know if you can increase the number of parallel jobs xcode will build? i'd rather use an IDE for working for the builtin static analysis, but it is so much slower than building with make
13:04:35  <caitp>that would be handy
13:15:03  * guorquit (Ping timeout: 244 seconds)
13:16:57  * c4milojoined
13:22:01  * c4miloquit (Ping timeout: 272 seconds)
13:27:22  * guorjoined
13:35:28  <pbunny>plz help
13:35:32  <pbunny>int err = uv_timer_start(&wrap->handle_, OnTimeout, timeout, repeat);
13:35:49  <pbunny>inside OnTimeout i use v8::TryCatch try_catch; and it gives segfault
13:36:09  <pbunny>i added context_scope and handle_scope before it but no luck
13:36:17  <pbunny>is it possible to use TryCatch in uv callback at all?
13:39:49  * c4milojoined
13:42:13  <trungl-bot>Tree opened by [email protected]: Tree is open (ulan looking into "date" failure)
13:58:28  * plutoniixjoined
14:04:19  <pbunny>v8::String::Utf8Value str(string);
14:04:22  <pbunny>produces segfault
14:04:27  <pbunny>string.Length() returns 4
14:04:31  <pbunny>as it should
14:04:42  <pbunny>what can be wrong?
14:06:59  <caitp>do you have a stack trace?
14:12:10  <caitp>also, are you in a debug build or a release build
14:12:12  <pbunny>inside v8 - no
14:12:20  <pbunny>my project debug, v8 release
14:12:27  <pbunny>but i can recompile it in debug too
14:12:41  <caitp>so you don't have a stack trace for the segv
14:12:54  <caitp>that's not really idael
14:13:39  <pbunny>https://dpaste.de/NTG6/raw
14:13:49  <pbunny>should i recompile v8 in debug?
14:13:59  <caitp>seems like a good idea
14:14:19  <caitp>although
14:14:36  <caitp>looks like you have symbols from v8
14:14:45  <caitp>so it's probably not needed
14:15:15  <caitp>are you building node? tty_wrap.cc sounds node-ish
14:15:29  <caitp>or native module or something
14:16:28  <pbunny>i temporarily imported some file from nodejs into my project
14:16:32  <pbunny>some files *
14:17:09  <pbunny>the issue seems to be somewhere in v8, as "string" is proper Value var
14:17:42  <pbunny>any other ways to get its contents?
14:17:58  <pbunny>also i should note that i use String::Utf8value in tons of other places without issues
14:18:10  <caitp>i don't know much about the api layer
14:18:17  <pbunny>and even on that line it works correctly except when ran from within async func (e.g. settimeout callback)
14:18:35  <caitp>if i had to guess i'd say you're probably having an issue entering the isolate
14:18:39  <caitp>from within your uv callbacl
14:18:39  <pbunny>so technically its libuv callback
14:18:42  <caitp>but it's just a guess
14:18:48  <pbunny>yes i thought of that too
14:18:50  <pbunny>how do i check?
14:18:59  <pbunny>also i had TryCatch segfaults too
14:19:02  <pbunny>in uv callback also
14:19:20  <caitp>get more debug info, I guess ;) also, what version of v8 are you using?
14:19:24  <pbunny>latest
14:19:27  <pbunny>yesterday
14:19:36  <caitp>latest as in like v8's bleeding_edge branch?
14:19:55  * plutoniixquit (Ping timeout: 265 seconds)
14:20:32  <pbunny>49d1f64ebfdfa1f71478ccb3bd7e5171ca8cab52 is last commit
14:21:23  * bobmcwjoined
14:25:00  <pbunny>caitp: by any change, is ContextifyScript from nodejs implemented for that purpose?
14:25:06  * dpinoquit (Ping timeout: 250 seconds)
14:25:06  <pbunny>to handle uv callbacks
14:25:15  <pbunny>by any chance *
14:25:16  <caitp>heck if I know, I don't work on node :p
14:29:30  * jpderyjoined
14:31:36  * plutoniixjoined
14:32:11  <pbunny>uv callbacks run in different thread, right?
14:34:36  * jmar777joined
14:42:11  * jpderyquit (Quit: Linkinus - http://linkinus.com)
14:49:23  * dpinojoined
14:59:06  * jochen__quit (Remote host closed the connection)
15:04:32  * bnoordhuisjoined
15:11:42  <pbunny>caitp: env->isolate()->GetCurrentContext() is null if called from uv callback
15:11:46  <pbunny>even from same thread
15:12:31  <pbunny>however
15:12:39  <pbunny>if i do Context::Scope context_scope(env->context());
15:12:51  <pbunny>and on next line printf("%p %p\n",*(env->isolate()->GetCurrentContext()),*(env->context()));
15:12:56  <pbunny>i get different addresses o.O
15:13:17  <pbunny>0x7f7c9c043860 0x7f7c9c054730
15:13:36  <pbunny>what can be wrong?
15:18:36  * jmar777quit (Remote host closed the connection)
15:19:53  <pbunny>hmm, solved by entering isolate, handle and context scopes before uv_run()
15:22:08  * jmar777joined
15:27:00  * jmar777quit (Remote host closed the connection)
15:38:32  * jsvkjoined
15:46:12  <bnoordhuis>pbunny: what are you trying to do? are you hacking node core or an addon?
15:48:02  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
15:48:03  <pbunny>developing nodejs-compatible multithreaded sandboxed js-cloud server
15:48:15  <pbunny>well something like that
15:48:49  <bnoordhuis>duly noted. what kind of libuv callback are we talking here?
15:57:52  * jmar777joined
15:58:26  <pbunny>bnoordhuis: solved this issue already, thx
15:58:37  <pbunny>a timer callback
16:00:30  <bnoordhuis>okay, glad you solved it
16:16:03  * plutoniixquit (Quit: จรลี จรลา)
16:21:12  <pbunny>do i need any mutexes if i use v8::Locker everywhere?
16:39:08  * bnoordhuisquit (Ping timeout: 244 seconds)
16:40:02  <trungl-bot>Tree closed by [email protected]: Tree is closed (Automatic: "compile" on http://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/1455 "V8 Linux64 TSAN" from f133ac501b8ae298cc43cf60d840d8bdef46db12: [email protected])
16:42:57  * plutoniixjoined
16:43:51  * bnoordhuisjoined
16:45:54  <bnoordhuis>pbunny: depends but probably not. v8::Locker is itself a mutex
17:02:36  * c4miloquit (Remote host closed the connection)
17:19:57  * plutoniixquit (Ping timeout: 244 seconds)
17:23:35  * plutoniixjoined
17:30:39  * jmar777quit (Remote host closed the connection)
17:36:32  <trungl-bot>Tree opened by [email protected]: Tree is open (reverting)
17:37:33  <trungl-bot>Tree closed by [email protected]: Tree is closed ([email protected] is having problems committing the revert)
17:51:05  * jmar777joined
17:51:10  * jmar777quit (Remote host closed the connection)
18:00:36  * Lethalmanquit (Remote host closed the connection)
18:03:53  <trungl-bot>Tree opened by [email protected]: Tree is open (reverted)
18:07:26  * dpinoquit (Ping timeout: 256 seconds)
18:28:03  * phpnodequit (Read error: Connection reset by peer)
18:51:28  * jmar777joined
18:52:30  * phpnodejoined
18:54:13  <pbunny>bnoordhuis: idk, i started getting tons of conflicting loads after adding Locker
18:54:39  <pbunny>they go away if i add global mutex around Locker line
18:58:19  * muelli_quit (Ping timeout: 265 seconds)
18:58:33  <pbunny>or may valgrind --tool=drd be wrong
18:58:35  <pbunny>?
19:03:57  <pbunny>commented out all Locker lines, no conflicts anymore
19:04:16  <pbunny>just have own mutexes around v8::initialize and some other calls
19:28:33  * jochen__joined
19:28:50  <trungl-bot>Tree opened by [email protected]: Tree is open (will fix test driver)
19:33:48  * jmar777quit (Remote host closed the connection)
19:35:58  * jmar777joined
19:36:12  * jmar777quit (Remote host closed the connection)
19:36:19  * jmar777joined
19:45:08  * rendarquit (Ping timeout: 244 seconds)
19:51:56  * rendarjoined
20:16:42  * jmar777quit (Remote host closed the connection)
20:19:47  * dpinojoined
20:21:18  * jmar777joined
20:39:26  * caitp-joined
20:40:19  * caitpquit (Ping timeout: 255 seconds)
21:02:00  * c4milojoined
21:27:06  * rosseauxquit (Excess Flood)
21:27:35  * rosseauxjoined
21:28:19  * rosseauxquit (Excess Flood)
21:28:41  * rosseauxjoined
21:32:32  * rosseauxquit (Excess Flood)
21:33:07  * jmar777quit (Remote host closed the connection)
21:59:17  * c4miloquit (Remote host closed the connection)
22:02:37  * dpinoquit (Ping timeout: 272 seconds)
22:10:04  * plutoniixquit (Quit: จรลี จรลา)
22:27:39  * RT|Chatzillajoined
22:38:26  * c4milojoined
22:50:18  * c4miloquit (Remote host closed the connection)
22:56:40  * c4milojoined
23:07:35  * jsvkquit (Quit: Leaving.)
23:14:18  * jmar777joined
23:22:12  * lamefunjoined
23:22:23  * lamefunpart
23:31:55  * rendarquit