Status: Assigned
Owner: [email protected]
CC: [email protected]
Labels: Type-Bug Priority-Medium

New issue 4279 by [email protected]: Check failed: 0 == result in v8::base::DestroyNativeHandle
https://code.google.com/p/v8/issues/detail?id=4279

Version: aaa457b
OS: Ubuntu 15.04
Architecture: x64

What steps will reproduce the problem?
1. Load this with debug v8:

try {
    new Function(new Worker("55"));
} catch(err) {}

quit();



Backtrace:

#
# Fatal error in ../src/base/platform/mutex.cc, line 51
# Check failed: 0 == result (0 vs. 16).
#

==== C stack trace ===============================

 1: V8_Fatal
 2: 0x1439c77
 3: v8::base::Mutex::~Mutex()
 4: 0x7ffff6bf1d32
 5: 0x7ffff6bf1d85
 6: 0xae3a68
7: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 8: 0xba7cd9
 9: 0xbb3e9c
10: 0xba82c0
11: 0xb8e98609b7b
[New Thread 0x7ffff4bb3700 (LWP 15730)]
[New Thread 0x7ffff53b4700 (LWP 15729)]
[New Thread 0x7ffff5bb5700 (LWP 15728)]
[New Thread 0x7ffff63b6700 (LWP 15727)]
[New Thread 0x7ffff6bb7700 (LWP 15726)]

Program received signal SIGILL, Illegal instruction.
v8::base::OS::Abort () at ../src/base/platform/platform-posix.cc:229
229     V8_IMMEDIATE_CRASH();
(gdb) bt
#0  v8::base::OS::Abort () at ../src/base/platform/platform-posix.cc:229
#1 0x0000000001437a93 in V8_Fatal (file=0x16ed249 "../src/base/platform/mutex.cc", line=51, format=0x16755e0 "Check failed: %s.")
    at ../src/base/logging.cc:116
#2 0x0000000001439c77 in v8::base::DestroyNativeHandle (mutex=0x23efc88 <v8::Shell::context_mutex_>) at ../src/base/platform/mutex.cc:51 #3 0x0000000001439b89 in v8::base::Mutex::~Mutex (this=0x23efc88 <v8::Shell::context_mutex_>) at ../src/base/platform/mutex.cc:122 #4 0x00007ffff6bf1d32 in __run_exit_handlers (status=0, listp=0x7ffff6f7c698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#5  0x00007ffff6bf1d85 in __GI_exit (status=<optimized out>) at exit.c:104
#6  0x0000000000ae3a68 in v8::Shell::Quit (args=...) at ../src/d8.cc:814
#7 0x000000000118225c in v8::internal::FunctionCallbackArguments::Call (this=0x7fffffffcb58, f=0xae3a20 <v8::Shell::Quit(v8::FunctionCallbackInfo<v8::Value> const&)>) at ../src/arguments.cc:33 #8 0x0000000000ba7cd9 in v8::internal::HandleApiCallHelper<false> (isolate=0x23fe040, args=...) at ../src/builtins.cc:1092 #9 0x0000000000bb3e9c in v8::internal::Builtin_Impl_HandleApiCall (args=..., isolate=0x23fe040) at ../src/builtins.cc:1115 #10 0x0000000000ba82c0 in v8::internal::Builtin_HandleApiCall (args_length=2, args_object=0x7fffffffcd78, isolate=0x23fe040) at ../src/builtins.cc:1111
#11 0x00000b8e98609b7b in ?? ()
#12 0x00000b8e98609ac1 in ?? ()
#13 0x00007fffffffcd50 in ?? ()
#14 0x00007fffffffcda0 in ?? ()
#15 0x00000b8e9863a5ae in ?? ()
#16 0x00002f3aedc29109 in ?? ()
#17 0x000006bb1400c791 in ?? ()
#18 0x00002f3aedc29109 in ?? ()
#19 0x000030a3f62041b9 in ?? ()
#20 0x00002f3aedc2c859 in ?? ()
#21 0x00002f3aedc04101 in ?? ()
#22 0x00007fffffffcdd8 in ?? ()
#23 0x00000b8e98631abd in ?? ()
#24 0x000006bb1400c791 in ?? ()
#25 0x00002f3aedc2c859 in ?? ()
#26 0x00000b8e986319c1 in ?? ()
#27 0x0000000800000000 in ?? ()
#28 0x0000000000000000 in ?? ()

Attachments:
        crash.js  66 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to