Skip to content
New issue

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

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

Already on GitHub? # to your account

Crash when step over the last statement in main. #3299

Closed
DartBot opened this issue May 29, 2012 · 2 comments
Closed

Crash when step over the last statement in main. #3299

DartBot opened this issue May 29, 2012 · 2 comments
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Comments

@DartBot
Copy link

DartBot commented May 29, 2012

This issue was originally filed by podivilov@google.com


import('dart:html');

main() {
  print('main');
}

  1. Set breakpoint on "print('main');"
  2. Reload the page
  3. Hit "step over"
  4. Renderer crashes

­0 0xf082a430 in __kernel_vsyscall ()

­1 0xef73d921 in *__GI_raise (sig=6)

    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

­2 0xef740d52 in *__GI_abort () at abort.c:92

­3 0xf5103564 in dart::DynamicAssertionHelper::Fail (this=0xffff9dc4, format=

    0xf7cd9869 "expected: %s") at dart/runtime/platform/assert.cc:41

­4 0xf5019a9b in dart::RawFunction::ptr (this=0xf86723c0)

    at dart/runtime/vm/raw_object.h:545

­5 0xf501b9f7 in dart::Function::raw_ptr (this=0xffffa494)

    at dart/runtime/vm/object.h:1492

­6 0xf503fe24 in dart::Function::HasCode (this=0xffffa494)

    at dart/runtime/vm/object.h:4911

­7 0xf5047cd4 in dart::Debugger::InstrumentForStepping (this=0xf866eea0,

    target_function=...) at dart/runtime/vm/debugger.cc:567

­8 0xf504945b in dart::Debugger::BreakpointCallback (this=0xf866eea0)

    at dart/runtime/vm/debugger.cc:997

­9 0xf511a73c in dart::DRT_HelperBreakpointStaticHandler (isolate=0xf867f600,

    arguments=...) at dart/runtime/vm/code_generator.cc:875

­10 0xf511a609 in dart::DRT_BreakpointStaticHandler (arguments=...)

    at dart/runtime/vm/code_generator.cc:871

­11 0xeb3c0052 in ?? ()

­12 0xeb3c05d9 in ?? ()

­13 0xe86c044c in ?? ()

­14 0xe86c006d in ?? ()

­15 0xf50447ca in dart::DartEntry::InvokeStatic (function=..., arguments=...,

    optional_arguments_names=...) at dart/runtime/vm/dart_entry.cc:82

­16 0xf501277a in dart::Dart_Invoke (target=0xf85b0430, name=0xf85b0428,

    number_of_arguments=0, arguments=0x0)
    at dart/runtime/vm/dart_api_impl.cc:2546

­17 0xf3757954 in WebCore::DartApplicationLoader::callEntryPoint (this=

    0xf85aa930)
    at third_party/WebKit/Source/WebCore/bindings/dart/DartApplicationLoader.cpp:240

@DartBot
Copy link
Author

DartBot commented May 30, 2012

This comment was originally written by @mhausner


I cannot reproduce this in the standalone debugger.

Q: Does "reload page" cause the creation of a new isolate, loding the source, and setting the breakpoint before main is called? Could the Dartium debugger refer to a VM object that gets destroyed as part of the page reload?

@DartBot
Copy link
Author

DartBot commented Jun 1, 2012

This comment was originally written by podivilov@google.com


I couldn't reproduce it anymore, most probably fixed by recent changes in debugger.


Added Fixed label.

@DartBot DartBot added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Jun 1, 2012
copybara-service bot pushed a commit that referenced this issue Jan 26, 2023
Revisions updated by `dart tools/rev_sdk_deps.dart`.

args (https://github.com/dart-lang/args/compare/04c9346..a23ea85):
  a23ea85  2023-01-25  Devon Carew  update the publishing script (#232)

dartdoc (https://github.com/dart-lang/dartdoc/compare/ed56883..99df16a):
  99df16a0  2023-01-24  Parker Lougheed  Use a sun for light theme toggle instead of moon (#3309)
  758e1851  2023-01-24  Parker Lougheed  Switch dart:js and some dart:js_util usages to use static interop (#3299)
  9735d895  2023-01-24  dependabot[bot]  Bump github/codeql-action from 2.1.38 to 2.1.39 (#3306)
  f6cd8eb9  2023-01-23  Sam Rawlins  Fix various bits in testing code to comply with new warnings (#3307)

http (https://github.com/dart-lang/http/compare/57c53b0..092bb2d):
  092bb2d  2023-01-25  Brian Quinlan  Create a `package:cronet_http/cronet_http.dart` import (#859)
  a62f5b3  2023-01-24  Brian Quinlan  Create a single top-level lib file. (#858)

intl (https://github.com/dart-lang/intl/compare/3fcc810..946c34c):
  946c34c  2023-01-25  Copybara-Service  Merge pull request #533 from dart-lang:updateVersion
  19b6785  2023-01-20  Moritz  Append `-dev` to current version

sse (https://github.com/dart-lang/sse/compare/be426a2..4e63b08):
  4e63b08  2023-01-25  Kevin Moore  Fix deprecated import to webdriver library (#76)

webdev (https://github.com/dart-lang/webdev/compare/f978b90..a347fa0):
  a347fa0  2023-01-25  Anna Gringauze  Update vm_service to version 10.0.0 (#1917)
  4dd29a5  2023-01-24  Anna Gringauze  Allow dart SDK <4.0.0 (#1913)
  b3db2c9  2023-01-24  Anna Gringauze  Prepare for dart 3.0 alpha changes: Handle SDK layout update (#1907)

Change-Id: I84d827db044f5b0af49b0454fd1d69b0d2ddf692
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279901
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Auto-Submit: Devon Carew <devoncarew@google.com>
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Projects
None yet
Development

No branches or pull requests

1 participant