Status: New
Owner: ----

New issue 3465 by [email protected]: test-serialize/SerializeToplevelIsolates crashes
http://code.google.com/p/v8/issues/detail?id=3465

test-serialize/SerializeToplevelIsolates crashes in release mode and fails an assertion in debug mode:
#
# Fatal error in v8::HandleScope::CreateHandle()
# Cannot create a handle without a HandleScope
#

The problem was exposed by https://codereview.chromium.org/411293002/

To reproduce:
compile with a debug build with snapshot=off
out/ia32.debug/cctest --random-seed=-934767939 --stress-opt --always-opt test-serialize/SerializeToplevelIsolates --nohard-abort --nodead-code-elimination --nofold-constants --testing_serialization_file=out/.serdes/serdes_SerializeToplevelIsolates__stress_opt__always_opt

Stack trace:
Program received signal SIGABRT, Aborted.
0xf7fdb430 in __kernel_vsyscall ()
(gdb) bt
#0  0xf7fdb430 in __kernel_vsyscall ()
#1  0xf7ce81df in raise () from /lib/i386-linux-gnu/libc.so.6
#2  0xf7ceb825 in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x086ae060 in v8::base::OS::Abort () at ../src/base/platform/platform-posix.cc:282 #4 0x086c0183 in v8::Utils::ReportApiFailure (location=0x96c40ac "v8::HandleScope::CreateHandle()", message=0x96c407c "Cannot create a handle without a HandleScope") at ../src/api.cc:180 #5 0x086be81e in v8::Utils::ApiCheck (condition=false, location=0x96c40ac "v8::HandleScope::CreateHandle()", message=0x96c407c "Cannot create a handle without a HandleScope") at .././src/api.h:179 #6 0x087e7a90 in v8::internal::HandleScope::Extend (isolate=0xa3dacc8) at ../src/handles.cc:32 #7 0x0857d0f2 in v8::internal::HandleScope::CreateHandle<v8::internal::GlobalObject> (isolate=0xa3dacc8, value=0x5fd0dfdd)
    at .././src/handles-inl.h:143
#8 0x0857cdd0 in v8::internal::Handle<v8::internal::GlobalObject>::Handle (this=0xffffca58, obj=0x5fd0dfdd) at .././src/handles-inl.h:19 #9 0x0857a23e in v8::internal::Isolate::global_object (this=0xa3b10d0) at .././src/isolate.h:656 #10 0x089c5188 in v8::internal::__RT_impl_Runtime_DeclareGlobals (args=..., isolate=0xa3b10d0) at ../src/runtime.cc:2186 #11 0x089c5121 in v8::internal::Runtime_DeclareGlobals (args_length=3, args_object=0xffffcb20, isolate=0xa3b10d0)
    at ../src/runtime.cc:2183
#12 0x4467c356 in ?? ()
#13 0x4467c257 in ?? ()
#14 0x4461ee55 in ?? ()
#15 0x4461e14a in ?? ()
#16 0x087a1766 in v8::internal::Invoke (is_construct=false, function=..., receiver=..., argc=0, args=0x0) at ../src/execution.cc:91 #17 0x087a1af0 in v8::internal::Execution::Call (isolate=0xa3dacc8, callable=..., receiver=..., argc=0, argv=0x0, convert_receiver=false)
    at ../src/execution.cc:141
#18 0x086c560d in v8::Script::Run (this=0xa3cf51c) at ../src/api.cc:1685
#19 0x086458f5 in TestSerializeToplevelIsolates () at ../test/cctest/test-serialize.cc:842 #20 0x08485862 in CcTest::Run (this=0xa396ef8 <register_test_SerializeToplevelIsolates>) at ../test/cctest/cctest.cc:84 #21 0x08485ed3 in main (argc=3, argv=0xffffcf94) at ../test/cctest/cctest.cc:184


--
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