Skip to content

Compilation of helloworld gives error #11103

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

Closed
DartBot opened this issue Jun 5, 2013 · 11 comments
Closed

Compilation of helloworld gives error #11103

DartBot opened this issue Jun 5, 2013 · 11 comments
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io
Milestone

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2013

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. Enter program:
    void main() {
      print("Hello, World!");
    }
  2. Click green circle with arrowhead
  3. Observe error message: <hello_world.dart> exit code=-1073741819

What is the expected output? What do you see instead?
Didn't know exactly what to expect. Saw a cryptic error message.

What version of the product are you using? On what operating system?
Dart Editor version 0.5.11_r23200
Dart SDK version 0.5.11.1_r23200
Windows 7 & cygwin

Please provide any additional information below.
At some point in digging I was lead to https://pub.dartlang.org/packages/browser, which recommended editing a pubspec.yaml file (didn't say where) and running pub install. I created a pubspec.yaml based on those in subdirectories of dart, then ran pub install from the editor. It told me an error occurred and I should run from the command line with the --trace option, which I did. The output is attached.


Attachment:
pub.out (5.75 KB)

@kasperl
Copy link

kasperl commented Jun 6, 2013

Assigning to Area-Editor even though the issue may certainly be somewhere else.


Added Area-Editor, Triaged labels.

@clayberg
Copy link

clayberg commented Jun 6, 2013

Removed Priority-Unassigned label.
Added Priority-Medium label.

@clayberg
Copy link

clayberg commented Jun 6, 2013

Set owner to @keertip.
Added this to the M6 milestone.

@keertip
Copy link
Contributor

keertip commented Jun 10, 2013

@bob, looks like an error on pub install


Set owner to @munificent.
Removed Area-Editor label.
Added Area-Pub label.

@munificent
Copy link
Member

Error 11003 (strangely close to this bug number!) is WSANO_RECOVERY, coming from the WinAPI. So this error is coming from dart:io. Søren, is this an error that is supposed to get passed to applications? Should we catch this in pub?


Set owner to @sgjesse.
Removed Area-Pub label.
Added Area-IO label.

@sgjesse
Copy link
Contributor

sgjesse commented Jun 11, 2013

As the error indicate then error 11003 is unrecoverable. It seems to be caused by the DNS lookup of pub.dartlang.org when trying to establish the HTTPS connection for https://pub.dartlang.org. If this is the case terminating pub is the only option.

robert.weiss could you try the following:

nslookup pub.dartlang.org

What result do you get?

I get the following:

Non-authoritative answer:
Name: ghs-svc-https-c1043.ghs-ssl.googlehosted.com
Address: 72.14.249.27
Aliases: pub.dartlang.org

If this returns a personable response could you try to add it to the hosts file (%WINDIR%\System32\drivers\etc\hosts)? Adding a line like this:

72.14.249.27 pub.dartlang.org


Added NeedsInfo label.

@sgjesse
Copy link
Contributor

sgjesse commented Jun 19, 2013

When connecting to a secure site using a proxy server there was two DNS lookups. One from Dart code and one from NSS C++ code. This is fixed in https://code.google.com/p/dart/source/detail?r=24174 where a HTTPS connection through a HTTP proxy only requires DNS lookup of the proxy server host.


Added Fixed label.

@DartBot
Copy link
Author

DartBot commented Jun 19, 2013

This comment was originally written by [email protected]


I downloaded and unpacked a fresh version of the Dart editor/compiler/whatever from dartlang.org.

nslookup pub.dartlang.org (under Windows 7 and cygwin) gives:
Non-authoritative answer:
Server: pdc2.dcxchol.com
Address: 10.1.0.3

Name: ghs-svc-https-c1043.ghs-ssl.googlehosted.com
Address: 72.14.249.27
Aliases: pub.dartlang.org

When I try to compile helloworld the same error occurs:
<hello_world.dart> exit code=-1073741819

Plus, my browser can find pub.dartlang.org

I didn't add the line to hosts because I don't have privilege, the admin doesn't like Dart, and it didn't seem necessary.

@sgjesse
Copy link
Contributor

sgjesse commented Jun 19, 2013

The fix is not yet in the downloadable Dart package from dartlang.org.

@sgjesse
Copy link
Contributor

sgjesse commented Jun 19, 2013

Issue #11353 has been merged into this issue.

@kevmoo
Copy link
Member

kevmoo commented May 14, 2014

Removed Area-IO label.
Added Area-Library, Library-IO labels.

@DartBot DartBot added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io labels May 14, 2014
@DartBot DartBot added this to the M6 milestone May 14, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io
Projects
None yet
Development

No branches or pull requests

7 participants