Comment #1 on issue 2049 by [email protected]:
TerminateMultipleV8ThreadsDefaultIsolate test crashes on Mac and Linux
http://code.google.com/p/v8/issues/detail?id=2049
Caught it in gdb:
(gdb) bt
#0 0x00000000005c1853 in v8::internal::ExecutionAccess::Unlock
(isolate=0x19b3070) at ../src/isolate.h:1340
#1 0x00000000005c1807 in v8::internal::ExecutionAccess::~ExecutionAccess
(this=0x7ffff708de20, __in_chrg=<optimized out>) at ../src/isolate.h:1337
#2 0x00000000005bf1e0 in v8::internal::StackGuard::Preempt
(this=0x19b4290) at ../src/execution.cc:407
#3 0x0000000000806dbe in v8::internal::ContextSwitcher::Run
(this=0x19fd870) at ../src/v8threads.cc:458
#4 0x00000000008d5760 in v8::internal::ThreadEntry (arg=0x19fd870)
at ../src/platform-linux.cc:762
#5 0x00007ffff74189ca in start_thread (arg=<optimized out>) at
pthread_create.c:300
#6 0x00007ffff7175cdd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
(gdb) list
1335 Lock(isolate);
1336 }
1337 ~ExecutionAccess() { Unlock(isolate_); }
1338
1339 static void Lock(Isolate* isolate) { isolate->break_access_->Lock();
}
1340 static void Unlock(Isolate* isolate) {
isolate->break_access_->Unlock(); }
1341
1342 static bool TryLock(Isolate* isolate) {
1343 return isolate->break_access_->TryLock();
1344 }
(gdb) p isolate->break_access_
$2 = (v8::internal::Mutex *) 0x0
(gdb)
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev