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

New issue 4080 by [email protected]: nosnap failure in test-mark-sweep/NoPromotion on x64 linux gcc 4.9.2
https://code.google.com/p/v8/issues/detail?id=4080

cctest/test-mark-sweep/NoPromotion fails for me in master. Allocating the fixed array results in a retry; details below. Assigning to hpayer but really I have no idea whose area this is :)

wingo@rusty:~/src/v8$ make clang=0 snapshot=off x64.debug
make[1]: Entering directory '/hack/v8/out'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/hack/v8/out'
wingo@rusty:~/src/v8$ gdb --args /hack/v8/out/x64.debug/cctest --random-seed=1522981423 test-mark-compact/NoPromotion --nohard-abort --nodead-code-elimination --nofold-constants --enable-slow-asserts --debug-code --verify-heap --testing_serialization_file=/hack/v8/out/.serdes/serdes_NoPromotion
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /hack/v8/out/x64.debug/cctest...done.
(gdb) r
Starting program: /hack/v8/out/x64.debug/cctest --random-seed=1522981423 test-mark-compact/NoPromotion --nohard-abort --nodead-code-elimination --nofold-constants --enable-slow-asserts --debug-code --verify-heap --testing_serialization_file=/hack/v8/out/.serdes/serdes_NoPromotion
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6b77700 (LWP 20710)]
[New Thread 0x7ffff6376700 (LWP 20711)]
[New Thread 0x7ffff5b75700 (LWP 20712)]
[New Thread 0x7ffff5374700 (LWP 20713)]


#
# Fatal error in .././src/heap/spaces.h, line 1621
# Check failed: !IsRetry().
#

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

 1: V8_Fatal
 2: v8::internal::AllocationResult::ToObjectChecked()
 3: 0xf10ec8
 4: CcTest::Run()
 5: main
 6: __libc_start_main
 7: 0xc46c99

Program received signal SIGABRT, Aborted.
0x00007ffff6bad107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff6bad107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6bae4e8 in __GI_abort () at abort.c:89
#2 0x0000000001019bb0 in v8::base::OS::Abort () at ../src/base/platform/platform-posix.cc:232 #3 0x0000000001014e79 in V8_Fatal (file=0x2510fe2 ".././src/heap/spaces.h", line=1621, format=0x2510ec8 "Check failed: %s.") at ../src/base/logging.cc:116 #4 0x0000000000d3d38d in v8::internal::AllocationResult::ToObjectChecked (this=0x7fffffffde60) at .././src/heap/spaces.h:1621 #5 0x0000000000f10ec8 in TestNoPromotion () at ../test/cctest/test-mark-compact.cc:114 #6 0x0000000000d34e57 in CcTest::Run (this=0x34bda40 <register_test_NoPromotion>) at ../test/cctest/cctest.cc:98 #7 0x0000000000d353a5 in main (argc=2, argv=0x7fffffffe168) at ../test/cctest/cctest.cc:213
(gdb) fr 5
#5 0x0000000000f10ec8 in TestNoPromotion () at ../test/cctest/test-mark-compact.cc:114 114 Object* obj = heap->AllocateFixedArray(array_length).ToObjectChecked();
(gdb) l
109     
110       // Allocate a big fixed array in the new space.
111       int array_length =
112           (Page::kMaxRegularHeapObjectSize - FixedArray::kHeaderSize) /
113           (2 * kPointerSize);
114 Object* obj = heap->AllocateFixedArray(array_length).ToObjectChecked();
115       Handle<FixedArray> array(FixedArray::cast(obj));
116     
117       // Array should be in the new space.
118       CHECK(heap->InSpace(*array, NEW_SPACE));
(gdb) quit


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