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
Pub fails due to bad auto-update #20565
Comments
This comment was originally written by Sebastian.Gerske...@gmail.com Correct Build Version of Dart Editor: Dart Editor (DEV) build 39285 |
Zach, can you please work with Sebastian to get the setup which is trying to allocate an array of length -6? Set owner to @zanderso. |
I could not reproduce on Linux. Is it possible to share more detailed reproduction steps, e.g. a project on github or similar, or does this happen with every "pub get" on Windows? Added NeedsInfo label. |
This comment was originally written by Don.J.Olm...@gmail.com It doesn't happen on Linux. It happens in Windows. I'm hitting this same issue and had to downgrade my SDK. |
This comment was originally written by Sebastian.G...@gmail.com It happens on no specific Project. It happens during every Pub operation (Get, Upgrade, Serve). Iam using Windows x64 and a x64 Dart Editor. I Updated to bleeding edge today and it works. |
I've begun investigating on Windows. Added Started label. |
Bernhard, Don, Sebastian, We're having a bit of trouble reproducing on Windows. Would one or more of you be willing to put a different dart.exe in your sdk folder so we can try to get a stack trace? Thanks! |
This comment was originally written by Adam.Kimmorl...@gmail.com I've just started getting this error too after upgrading. I'm on Windows 8 x64 though. I'm happy to put a different dart.exe in my sdk and send you a stack trace if it helps. |
Issue #20588 has been merged into this issue. |
Please try dropping this dart.exe into your sdk bin directory. It should generate a dart stack trace before failing as before. Attachment: |
This comment was originally written by @bp74 Okay done. I don't know if it is good or bad news - but it runs perfectly fine with the new executable. I have reverted the dart.exe and the old one still fails. |
Bernhard, could you try with the latest built bit (not officially released yet) and report? Ideally you can install this one side-by-side with the failing setup. Thanks! Bits are available here: http://gsdview.appspot.com/dart-archive/channels/dev/signed/39442/editor/ |
This comment was originally written by @bp74 Here are the results, i also downloaded 1.6.0-dev.9.5 ... 1.6.0-dev.9.3: CRASH So it seems the error is gone, at least on my PC. |
Bernhard, could you try to collect a core dump for us? Running pub from the command line, after the assertion fails, but before clicking away the crash dialog: Thanks! |
This comment was originally written by @bp74 Here is something very strange! I have downloaded the zip-file of build 39285 which should be 1.6.0-dev.9.3 right? The big surprise is that this one is working too! The dart.exe from the new download is 8462336 bytes in size. To be clear, both versions are 1.6.0-dev.9.3 but the one that is failing was an auto update from 1.6.0-dev.8.0 i think. |
@mit-mit Why did you assign this back to pub? |
Aside: should we remove the label Area-Pub, now that pub has its own repo? |
Yes please! |
I deprecated Area-Tools as it had a bunch of active issues no one was actually paying attention to. The majority of those were infrastructure issues that I moved to Area-Infra, but there were just a few like this that needed to go somewhere else. |
This issue was originally filed by Sebastian.G...@gmail.com
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected:
Working Pub Get
Actual:
Pub get failed, [3] vm\object.cc:17891: error: Fatal error in Array::New: invalid len -6
What version of the product are you using?
On what operating system?
Windows 7 Professional
Attachment:
darteditor.png (5.47 KB)
The text was updated successfully, but these errors were encountered: