New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes in the dart::Scavenger::VisitObjects on SIM* bots #34750

Closed
a-siva opened this Issue Oct 11, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@a-siva
Contributor

a-siva commented Oct 11, 2018

Saw two instances of crashes in the scaveger:

--- Command "vm" (took 242ms):
  DART_CONFIGURATION=ReleaseSIMDBC64 out/ReleaseSIMDBC64/dart --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseSIMDBC64/generated_compilations/dartk/tests_co19_2_src_LanguageFeatures_Subtyping_static_generated_positional_function_types_arguments_binding_A04_t02/out.dill
  exit code:
  -6
  stderr:
  ===== CRASH =====
  version=2.1.0-edge.e70a7aab8a60a18947c68b95189632ab6420d83a (Wed Oct 10 23:19:24 2018 +0000) on "linux_dbc"
  si_signo=Segmentation fault(11), si_code=1, si_addr=0x8
  Dumping native stack trace for thread 546e
    [0x0000556657e99f0b] dart::Scavenger::VisitObjects(dart::ObjectVisitor*) const
    [0x0000556657e99f0b] dart::Scavenger::VisitObjects(dart::ObjectVisitor*) const
    [0x00007feb3947bd90] Unknown symbol
    [0x0000556659f56900] Unknown symbol
  -- End of DumpStackTrace
  --- Re-run this test:
  python tools/test.py -m release -a simdbc64 -n dartk-linux-release-simdbc64 --output-directory /b/s/w/ioEVMCh4 co19_2/LanguageFeatures/Subtyping/static/generated/positional_function_types_arguments_binding_A04_t02
 
--- Command "vm" (took 49.000184s):
  DART_CONFIGURATION=DebugIA32 out/DebugIA32/dart --no-background-compilation --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/lib_2/isolate/mandel_isolate_test.dart
  exit code:
  -6
  stderr:
  ../../runtime/vm/class_table.h: 109: error: expected: old_external_size >= 0
  Dumping native stack trace for thread 2023
    [0x0149ccbc] dart::Profiler::DumpStackTrace(void*)
    [0x0149ccbc] dart::Profiler::DumpStackTrace(void*)
    [0x0171b394] Dart_DumpNativeStackTrace
    [0x0171cc2b] dart::Assert::Fail(char const*, ...)
    [0x013198c5] Unknown symbol
    [0x01319590] dart::ClassHeapStats::ResetAtNewGC()
    [0x0131a73d] dart::ClassTable::ResetCountersNew()
    [0x016df6a1] dart::Scavenger::Prologue(dart::Isolate*)
    [0x016e1134] dart::Scavenger::Scavenge()
    [0x016cf197] dart::Heap::CollectNewSpaceGarbage(dart::Thread*, dart::Heap::GCReason)
    [0x016cd5b9] dart::Heap::AllocateNew(int)
    [0x013d07fb] Unknown symbol
    [0x013d3d72] dart::Object::Allocate(int, int, dart::Heap::Space)
    [0x0144ae03] dart::Instance::New(dart::Class const&, dart::Heap::Space)
    [0x014f6025] dart::DRT_AllocateObject(dart::NativeArguments)
    [0xf71005d6] Unknown symbol
    [0xf447a3d2] Unknown symbol
    [0xf5539984] Unknown symbol
    [0xf24b88dc] Unknown symbol
    [0xf228e198] Unknown symbol
    [0xecafed88] Unknown symbol
    [0xef8839be] Unknown symbol
    [0xf447564d] Unknown symbol
    [0xf4ece7e0] Unknown symbol
    [0xef8839be] Unknown symbol
    [0xf4ece283] Unknown symbol
    [0xf4ecdbdb] Unknown symbol
    [0xf2292e2f] Unknown symbol
    [0xf4be4bfc] Unknown symbol
    [0xecaed0ae] Unknown symbol
    [0xf4f9add8] Unknown symbol
    [0xecad31d1] Unknown symbol
    [0xf20ba08d] Unknown symbol
    [0xecacac71] Unknown symbol
    [0xecaf1d4e] Unknown symbol
    [0xf553f1bf] Unknown symbol
    [0xf42ca5bd] Unknown symbol
    [0xf4ecee1b] Unknown symbol
    [0xf2292e2f] Unknown symbol
    [0xf4be4bfc] Unknown symbol
    [0xecaed0ae] Unknown symbol
    [0xf4f9add8] Unknown symbol
    [0xecad31d1] Unknown symbol
    [0xf20ba08d] Unknown symbol
    [0xecacac71] Unknown symbol
    [0xecaf1d4e] Unknown symbol
    [0xecaff93c] Unknown symbol
    [0xf4be1908] Unknown symbol
    [0xecaeeee0] Unknown symbol
    [0xf523f6bb] Unknown symbol
    [0xf42d8816] Unknown symbol
    [0xf4bc8b27] Unknown symbol
    [0xf4fbfd6d] Unknown symbol
    [0xf4be12d9] Unknown symbol
    [0xf4be11bf] Unknown symbol
    [0xf4ed83b8] Unknown symbol
    [0xf71009d0] Unknown symbol
    [0x01355e33] dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned int)
    [0x01355aa0] dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&)
    [0x01358d6a] dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)
    [0x0139126f] dart::IsolateMessageHandler::HandleMessage(dart::Message*)
    [0x013c9191] dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)
    [0x013c9ee0] dart::MessageHandler::TaskCallback()
    [0x013cb6dc] Unknown symbol
    [0x0154cd47] dart::ThreadPool::Worker::Loop()
    [0x0154c8d7] dart::ThreadPool::Worker::Main(unsigned int)
    [0x01496ffd] Unknown symbol
    [0xf7758f72] Unknown symbol
  -- End of DumpStackTrace

@a-siva a-siva added the area-vm label Oct 11, 2018

@a-siva

This comment has been minimized.

Show comment
Hide comment
@a-siva
Contributor

a-siva commented Oct 11, 2018

@a-siva

This comment has been minimized.

Show comment
Hide comment
@a-siva

a-siva Oct 11, 2018

Contributor

Another crasher seen today in the buildbot

--- Command "vm" (took 261ms):
  DART_CONFIGURATION=ReleaseSIMARM64 out/ReleaseSIMARM64/dart --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk/multitest_language_2_const_constructor_test_none/out.dill
  exit code:
  -6
  stderr:
  ===== CRASH =====
  version=2.1.0-edge.9f98f5f44c401553de3b50d26c50bd55779ca07a (Thu Oct 11 22:55:59 2018 +0000) on "linux_simarm64"
  si_signo=Segmentation fault(11), si_code=1, si_addr=0x8
  Dumping native stack trace for thread f68
    [0x0000565262c9b37b] dart::Scavenger::VisitObjects(dart::ObjectVisitor*) const
    [0x0000565262c9b37b] dart::Scavenger::VisitObjects(dart::ObjectVisitor*) const
    [0x0000565262c914bf] dart::Heap::CreateAllocatedObjectSet(dart::Zone*, dart::MarkExpectation) const
    [0x0000565262c915c7] dart::Heap::VerifyGC(dart::MarkExpectation) const
    [0x0000565262c9153e] dart::Heap::Verify(dart::MarkExpectation) const
    [0x0000565262a16e79] dart::Object::Init(dart::Isolate*, unsigned char const*, long)
    [0x00005652629969e9] dart::Dart::InitializeIsolate(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, long, void*)
    [0x0000565262cb09ce] Unknown symbol
    [0x0000565262cb0c12] Dart_CreateIsolateFromKernel
    [0x0000565262776b29] Unknown symbol
    [0x00005652629f5083] Unknown symbol
    [0x0000565262b56bcd] dart::ThreadPool::Worker::Loop()
    [0x0000565262b56a64] dart::ThreadPool::Worker::Main(unsigned long)
    [0x0000565262aac009] Unknown symbol
  -- End of DumpStackTrace
Contributor

a-siva commented Oct 11, 2018

Another crasher seen today in the buildbot

--- Command "vm" (took 261ms):
  DART_CONFIGURATION=ReleaseSIMARM64 out/ReleaseSIMARM64/dart --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseSIMARM64/generated_compilations/dartk/multitest_language_2_const_constructor_test_none/out.dill
  exit code:
  -6
  stderr:
  ===== CRASH =====
  version=2.1.0-edge.9f98f5f44c401553de3b50d26c50bd55779ca07a (Thu Oct 11 22:55:59 2018 +0000) on "linux_simarm64"
  si_signo=Segmentation fault(11), si_code=1, si_addr=0x8
  Dumping native stack trace for thread f68
    [0x0000565262c9b37b] dart::Scavenger::VisitObjects(dart::ObjectVisitor*) const
    [0x0000565262c9b37b] dart::Scavenger::VisitObjects(dart::ObjectVisitor*) const
    [0x0000565262c914bf] dart::Heap::CreateAllocatedObjectSet(dart::Zone*, dart::MarkExpectation) const
    [0x0000565262c915c7] dart::Heap::VerifyGC(dart::MarkExpectation) const
    [0x0000565262c9153e] dart::Heap::Verify(dart::MarkExpectation) const
    [0x0000565262a16e79] dart::Object::Init(dart::Isolate*, unsigned char const*, long)
    [0x00005652629969e9] dart::Dart::InitializeIsolate(unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, unsigned char const*, long, void*)
    [0x0000565262cb09ce] Unknown symbol
    [0x0000565262cb0c12] Dart_CreateIsolateFromKernel
    [0x0000565262776b29] Unknown symbol
    [0x00005652629f5083] Unknown symbol
    [0x0000565262b56bcd] dart::ThreadPool::Worker::Loop()
    [0x0000565262b56a64] dart::ThreadPool::Worker::Main(unsigned long)
    [0x0000565262aac009] Unknown symbol
  -- End of DumpStackTrace

@a-siva a-siva added the crash label Oct 11, 2018

@mraleph mraleph changed the title from Crashes in the scavenger to Crashes in the dart::Scavenger::VisitObjects on SIM* bots Oct 17, 2018

@mraleph

This comment has been minimized.

Show comment
Hide comment
@mraleph

mraleph Oct 17, 2018

Contributor

I have figured out crashes on SIMARM and SIMDBC64 in dart::Scavenger::VisitObjects. This is a race between starting the kernel service isolate and Dart_Cleanup.

The crash on DebugIA32 that we see above is something else - we should file a separate issue for that.

Contributor

mraleph commented Oct 17, 2018

I have figured out crashes on SIMARM and SIMDBC64 in dart::Scavenger::VisitObjects. This is a race between starting the kernel service isolate and Dart_Cleanup.

The crash on DebugIA32 that we see above is something else - we should file a separate issue for that.

@dart-bot dart-bot closed this in 5d4ce27 Oct 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment