Skip to content
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

Crash in hot-reload mode on bots (does not reproduce locally) #35948

Closed
mkustermann opened this issue Feb 14, 2019 · 2 comments
Closed

Crash in hot-reload mode on bots (does not reproduce locally) #35948

mkustermann opened this issue Feb 14, 2019 · 2 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. gardening

Comments

@mkustermann
Copy link
Member

From this log

FAILED: dartk-vm debug_x64 lib_2/convert/base64_test/01
Expected: Pass
Actual: Crash

--- Command "vm" (took 07.000287s):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart --no-background-compilation --hot-reload-test-mode --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/DebugX64/generated_tests/lib_2/convert/base64_test_01.dart

exit code:
-6

stderr:
===== CRASH =====
version=2.2.0-edge.8333c8a4d0cfa0e3b905f2546a15c911ad52f2d4 (Thu Feb 14 13:58:48 2019 +0000) on "linux_x64"
si_signo=Trace/breakpoint trap(5), si_code=128, si_addr=(nil) thread=3666, isolate=kernel-service(0x5567c4097200)
  [0x00007fadd6d92d95] Unknown symbol
  [0x00007fadd6d92d95] Unknown symbol
  [0x00007fadd68fc55c] Unknown symbol
  [0x00007fadd68fff73] Unknown symbol

  [0x00007fadd68b96fc] Unknown symbol
  [0x00007fadd6ed3013] Unknown symbol
  [0x00007fadd938153a] Unknown symbol
  [0x00005567c14090e3] dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)
  [0x00005567c140c311] dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)
  [0x00005567c144ccae] dart::IsolateMessageHandler::HandleMessage(dart::Message*)
  [0x00005567c148c3c8] dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)
  [0x00005567c148d136] dart::MessageHandler::TaskCallback()
  [0x00005567c161ff5c] dart::ThreadPool::Worker::Loop()
  [0x00005567c161fa3b] dart::ThreadPool::Worker::Main(unsigned long)
  [0x00005567c1563bc5] Unknown symbol
-- End of DumpStackTrace

--- Re-run this test:
python tools/test.py -n dartk-reload-linux-debug-x64 lib_2/convert/base64_test/01

/cc @rmacnak-google

This might have to do with app-jit training: It happens in the kernel-service. I am working on cl/93220 which should archive the corresponding kerne-service from the bot.

@mkustermann mkustermann added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. gardening labels Feb 14, 2019
dart-bot pushed a commit that referenced this issue Feb 14, 2019
Issue #35948

Change-Id: Ib0358706e96ceda5d49d7a3496354eb903d8a40d
Reviewed-on: https://dart-review.googlesource.com/c/93223
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Auto-Submit: Martin Kustermann <kustermann@google.com>
@aam
Copy link
Contributor

aam commented Feb 19, 2019

Not sure it's kernel service specific - I saw very similar crash in analysis_server.dart.snapshot running in IJ Dart plugin (build at c92d5ca revision of dart sdk)

===== CRASH =====
version=2.2.0-edge.c2ad4665b70d3a2bac65b579d351a60549f2235d (Wed Feb 13 22:34:40 2019 -0800) on "linux_x64"
si_signo=Segmentation fault(11), si_code=2, si_addr=0x7f22e79b7cf1
thread=153436, isolate=analysis_server.dart.snapshot:main()(0x562a70a86900)
  [0x00007f22e79b7cf1] Unknown symbol
  [0x00007f22e79b7cf1] Unknown symbol
  [0x00007f22e777ac2f] Unknown symbol
  [0x00007f22d9f68f0f] Unknown symbol
  [0x00007f22ecf0146c] Unknown symbol
  [0x0000562a6e042367] dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)
  [0x0000562a6e045736] dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)
  [0x0000562a6e0765ce] dart::IsolateMessageHandler::HandleMessage(dart::Message*)
  [0x0000562a6e0a7a4e] dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)
  [0x0000562a6e0a8096] dart::MessageHandler::TaskCallback()
  [0x0000562a6e1d5f87] dart::ThreadPool::Worker::Loop()
  [0x0000562a6e1d5e14] dart::ThreadPool::Worker::Main(unsigned long)
  [0x0000562a6e143ea9] Unknown symbol
-- End of DumpStackTrace

@mkustermann
Copy link
Member Author

Duplicate of #36011

@mkustermann mkustermann marked this as a duplicate of #36011 Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. gardening
Projects
None yet
Development

No branches or pull requests

2 participants