00:22:00  * rendarquit (Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!)
00:31:28  * evanlucasquit (Read error: Connection reset by peer)
00:32:04  * evanlucasjoined
00:32:42  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:04:43  * jugglinmike1quit (Ping timeout: 265 seconds)
01:14:54  * plutoniixjoined
01:20:20  * C-Manquit (Quit: Connection reset by beer)
01:24:25  * plutoniixquit (Read error: Connection reset by peer)
01:24:48  * plutoniixjoined
01:59:06  * ofrobotsjoined
02:18:04  * xaxxonjoined
02:19:58  <xaxxon>anyone know if any of the class wrapper libraries out there are up to date? i've written my own and I don't know if it's worth polishing and publisizing or if I just re-invented the wheel. Things like cvv8 or whatever.. but the ones I'm seeing don't seem to be active or working with the current API
02:35:39  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
02:45:21  * jgiquit (Quit: jgi)
02:45:57  * evanluca_joined
02:46:06  * evanlucasquit (Read error: Connection reset by peer)
02:59:50  * Bob_Gneujoined
02:59:54  * BobGneuquit (Ping timeout: 250 seconds)
03:55:54  * ofrobotsjoined
04:00:14  * ofrobotsquit (Client Quit)
04:05:59  * ofrobotsjoined
04:40:51  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:03:58  * plutoniixquit (Read error: Connection reset by peer)
05:08:30  * plutoniixjoined
06:26:06  * plutoniixquit (Ping timeout: 272 seconds)
06:27:46  * plutoniixjoined
07:07:00  * ofrobotsjoined
07:21:36  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
08:00:03  * rendarjoined
08:13:44  * plutoniixquit (Quit: จรลี จรลา)
08:16:59  * plutoniixjoined
08:27:39  * mounibecjoined
08:29:58  * mounibecquit (Client Quit)
08:36:45  * mounibecjoined
08:41:20  * mounibecquit (Client Quit)
08:45:50  * mounibecjoined
08:47:40  * mounibecquit (Client Quit)
08:56:24  * mounibecjoined
09:14:37  * mounibecquit (Quit: My Mac has gone to sleep. ZZZzzz…)
09:15:36  * mounibecjoined
09:19:02  <trungl-bot`>Tree closed by [email protected]: closed (internal bot_update failures)
09:30:47  * Net147quit (Ping timeout: 264 seconds)
09:36:57  * Net147joined
09:42:11  * Net147quit (Ping timeout: 264 seconds)
09:44:17  <trungl-bot`>Tree closed by [email protected]: closed (crbug.com/581633)
09:45:49  * Net147joined
10:04:03  * xaxxonquit (Quit: Leaving)
10:31:59  * Net147quit (Ping timeout: 264 seconds)
10:35:31  * Net147joined
10:50:43  <trungl-bot`>Tree closed by [email protected]: closed ( crbug.com/581633 )
10:51:35  * Net147quit (Ping timeout: 240 seconds)
10:53:30  * Net147joined
11:03:48  <trungl-bot`>Tree opened by [email protected]: open
11:13:05  * plutoniixquit (Quit: จรลี จรลา)
11:31:06  * mounibecquit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:47:19  <trungl-bot`>Tree closed by [email protected]: Tree is closed (Automatic: "Mjsunit" on http://build.chromium.org/p/client.v8/builders/V8%20Mac%20GC%20Stress/builds/3967 "V8 Mac GC Stress" from 95bec7e7b1789d7903c4812c51716e09fe241a90: [email protected])
11:51:25  <trungl-bot`>Tree opened by [email protected]: open
11:51:41  * evanluca_changed nick to evanlucas
11:55:26  <trungl-bot`>Tree closed by [email protected]: closed ( crbug.com/581633 )
11:57:27  <trungl-bot`>Tree opened by [email protected]: open
12:08:44  * xaxxonjoined
12:09:35  <xaxxon>i'm trying to run some javascript in a std::async, but I keep getting v8 javascript compilation errors. I do the exact same thing but remove the std:;async and it works as expected.
12:10:09  <xaxxon>I'm otherwise single threaded and have no handle/isolate/context scopes around when I spawn the thread
12:10:14  <xaxxon>or, the async
12:10:17  * seventhjoined
12:10:18  <xaxxon>not thread
12:20:25  <xaxxon>do you have to do the isolate locking thing? or is that just a safebuard?
12:21:53  <xaxxon>hrmm, I guess I'll try using some locker/unlocker... but I don't know why
12:33:14  <xaxxon>oh, that did it. but damn.. a compilation error instead of "you need to use locker fo rrunning this on another thread" ... v8 api misuse communication is awful :(
12:43:39  <xaxxon>missing a scope of some sort? random crash
12:43:47  <xaxxon>look at v8 sideways? crash
12:45:44  <caitp>if it were possible to do most of it with static assertions, I bet that would happen
12:46:26  <caitp>unfortunately C++ isn't that good at that
12:46:48  <xaxxon>sure. I'd love to see a bunch of slow run-time things that were enabled during debug builds
12:47:02  <xaxxon>a bunch of things that checked for required state
12:47:23  <xaxxon>instead of assuming (or at least that's how it seems).. I'm mostly just venting because I fought wit hthis for a logn time
12:48:10  <xaxxon>caitp, and I mean "v8 was reporting my javascript wouldn't compile" is the error I got when I didn't use Locker to lock an isolate to a thread
12:48:21  <xaxxon>not "I'd like my c++ to fail to compile if I do something wrong"
12:48:43  <caitp>mm
12:49:18  <caitp>that could probably improve
12:50:48  <xaxxon>but the error message from the trycatch was NULL, so it probably isn't intentional... it's just where it happens to fail
12:58:36  * seventhquit (Ping timeout: 265 seconds)
13:00:17  * davijoined
13:00:17  * daviquit (Changing host)
13:00:17  * davijoined
13:07:29  * mounibecjoined
13:15:58  * ofrobotsjoined
13:27:43  <xaxxon>can I have a handlescope open across threads? can I return a local value from a thread and use it in another thread smoehow?
13:28:56  <xaxxon>or do I have to move it out to a global to transfer it across?
13:52:26  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
13:57:56  * ofrobotsjoined
14:01:21  * mounibecquit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:22:03  * plutoniixjoined
14:26:17  * jugglinmikejoined
14:39:25  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
14:40:33  * ofrobotsjoined
14:44:37  * ofrobotsquit (Client Quit)
14:49:13  * ofrobotsjoined
14:51:18  * ofrobotsquit (Client Quit)
14:57:10  * mounibecjoined
15:12:29  * bradleymeckjoined
15:16:49  * bradleymeckquit (Read error: Connection reset by peer)
15:32:22  * jugglinmike1joined
15:32:22  * jugglinmikequit (Read error: Connection reset by peer)
16:08:27  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
16:24:24  * saperquit (Read error: Connection reset by peer)
16:27:46  * saperjoined
16:58:24  * jgijoined
17:07:40  * xaxxonquit (Quit: This computer has gone to sleep)
17:08:37  * xaxxonjoined
17:18:50  * C-Manjoined
17:19:07  * ofrobotsjoined
17:41:55  * jgiquit (Quit: jgi)
17:48:57  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
17:58:11  * jgijoined
18:04:37  * ofrobotsjoined
18:15:31  * seventhjoined
18:17:52  * zvquit (Ping timeout: 256 seconds)
18:23:17  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
18:25:38  * ofrobotsjoined
18:35:31  * daviquit (Ping timeout: 245 seconds)
18:36:47  * Net147quit (Ping timeout: 264 seconds)
18:38:51  * Net147joined
18:40:24  * jgiquit (Quit: jgi)
18:47:13  * davijoined
18:54:38  * mounibecquit (Quit: My Mac has gone to sleep. ZZZzzz…)
19:09:06  * jgijoined
19:26:11  * jgiquit (Quit: jgi)
19:29:37  <trungl-bot`>Tree closed by [email protected]: Tree is closed (Automatic: "Check" on http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20sim%20-%20nosnap%20-%20debug/builds/1183 "V8 Linux - arm64 - sim - nosnap - debug" from 4a2f3ee8002d2b062efaf2ff05ad0d6f3e819cb3: [email protected],[email protected] (:jochen__),[email protected])
19:35:03  * jgijoined
19:41:43  * daviquit (Ping timeout: 250 seconds)
19:49:41  * saperquit (Changing host)
19:49:41  * saperjoined
19:49:43  <trungl-bot`>Tree opened by [email protected]: open
19:59:42  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
20:03:44  * rendarquit (Ping timeout: 272 seconds)
20:09:26  * rendarjoined
20:11:00  * ofrobotsjoined
20:12:05  * xaxxonquit (Ping timeout: 260 seconds)
20:20:57  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
20:20:59  * xaxxonjoined
20:21:14  * ofrobotsjoined
20:21:43  <xaxxon>I'm creating a local in a std::async and turning it into a global that is returned from the async. But when I try to turn that global back into a local in another thread using the same isolate, I'm getting crashes. any idea?
20:21:57  <xaxxon>what's wrong or what to do to try to debug this?
20:23:25  <xaxxon>creating the local isn't crashing, but this does: v8::String::Utf8Value utf8value(future.get().Get(*isolate));
20:24:06  <xaxxon> frame #0: 0x0000000100360952 thread_sample`v8::internal::JSReceiver::ToPrimitive(v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::ToPrimitiveHint) [inlined] v8::internal::MemoryChunk::heap(this=0x1baddead0ba00000) const at spaces.h:677 [opt]
20:24:45  <xaxxon>is at the bottom of my stack when it crashes...
20:25:09  <xaxxon>the call is wrapped in a handle, isoalte, and context scope at the time
20:28:48  <xaxxon>is there any way to look at a global or a local and see if it's.. valid-ish?
20:28:51  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
20:30:38  <xaxxon>I'm printing out the value when I get it back from local_script->Run(context.Get(isolate)); by turning it into a v8::String::Utf8Value utf8(result); and that works... but then turning it into a global in a thread, passing it out via a future, and then turning it back into a local in the main thread is making something change
20:35:52  <xaxxon>I may be doing some sort of bad rvalue return where my global is being lost, but I don't think so... I take my local and say "return v8::Global<v8::Value>(my_local)"
20:36:03  <xaxxon>if it were trying to make a copy, that would fail at compile, I'm pretty sure
20:36:46  <xaxxon>I don't think I'm taking a reference to anything
20:39:35  <xaxxon>hrmm, narrowed it down to somewhere more understandable
20:40:10  <xaxxon>I bet I'm making a handlescope somewhere deeper and not escapign it
20:40:13  * mounibecjoined
20:41:32  <xaxxon>yeah, pretty sure that is it... weird that it often seems to work, but whatever
20:46:36  * mounibecquit (Quit: My Mac has gone to sleep. ZZZzzz…)
20:46:54  * mounibecjoined
20:48:12  <xaxxon>yeah, that was it
21:03:27  * jgiquit (Quit: jgi)
21:15:37  * mounibecquit (Quit: My Mac has gone to sleep. ZZZzzz…)
21:19:46  * mounibecjoined
21:26:01  * ofrobotsjoined
21:29:46  * bradleymeck_joined
21:30:48  * ofrobotsquit (Ping timeout: 264 seconds)
21:33:46  * ofrobotsjoined
21:41:45  * seventhquit (Ping timeout: 250 seconds)
21:41:46  * jgijoined
21:55:33  * esasjoined
21:58:43  * bradleymeck_changed nick to bradleymeck
22:00:46  * xaxxonquit (Ping timeout: 240 seconds)
22:10:51  * mounibecquit (Quit: My Mac has gone to sleep. ZZZzzz…)
22:32:24  * RT|Chatzillajoined
22:34:35  * Net147quit (Ping timeout: 240 seconds)
22:38:50  * Net147joined
22:48:27  * xaxxonjoined
23:12:21  * ofrobotsquit (Quit: My Mac has gone to sleep. ZZZzzz…)
23:14:20  * C-Manquit (Quit: Connection reset by beer)
23:21:57  * ofrobotsjoined
23:33:45  <xaxxon>I'm passing a const char * to an overloaded method that can take either a std::string or a const v8::Local<v8::Value> the compiler says it's ambiguous which to call... how the heck is it trying to convert a const char * into a const v8::Local<v8::Value>?
23:33:54  <xaxxon>I can't find a constructor or operator char* on local
23:44:04  * bradleymeckquit (Quit: bradleymeck)
23:52:33  <xaxxon>but it seems a const char * can be implicitly turned into a Local<Anything>
23:52:45  <xaxxon>or I'm doing something really weird
23:56:50  * rendarquit (Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!)