entries for http_parser and http_impl do not show up as being in dart:io in stack traces #17083
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
import 'dart:io';
void main() {
HttpServer.bind('localhost', 8181).then((server) {
server.listen((request) {
throw 'foo!';
});
});
}
Connect to localhost:8181 with a browser
Look at the stack trace (see bottom)
Lines #9, #10 refer to http_impl
Lines #19, #20 refer to http_parser
No dart:* library is part of the path. Should be dart:io.
0 main.<anonymous closure>.<anonymous closure> (file:///Users/kevmoo/source/github/shelf.dart/test/foo.dart:11:7)
1 _rootRunUnary (dart:async/zone.dart:717)
2 _RootZone.runUnary (dart:async/zone.dart:854)
3 _BaseZone.runUnaryGuarded (dart:async/zone.dart:569)
4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
5 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
6 _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
7 _StreamController._add (dart:async/stream_controller.dart:438)
8 _StreamController.add (dart:async/stream_controller.dart:395)
9 _HttpServer._handleRequest (http_impl.dart:2116)
10 _HttpConnection._HttpConnection.<anonymous closure> (http_impl.dart:1954)
11 _rootRunUnary (dart:async/zone.dart:717)
12 _RootZone.runUnary (dart:async/zone.dart:854)
13 _BaseZone.runUnaryGuarded (dart:async/zone.dart:569)
14 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
15 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
16 _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
17 _StreamController._add (dart:async/stream_controller.dart:438)
18 _StreamController.add (dart:async/stream_controller.dart:395)
19 _HttpParser._doParse (http_parser.dart:687)
20 _HttpParser._parse (http_parser.dart:343)
21 _onData (http_parser.dart:813)
22 _rootRunUnary (dart:async/zone.dart:717)
23 _RootZone.runUnary (dart:async/zone.dart:854)
24 _BaseZone.runUnaryGuarded (dart:async/zone.dart:569)
25 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
26 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
27 _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
28 _StreamController._add (dart:async/stream_controller.dart:438)
29 _StreamController.add (dart:async/stream_controller.dart:395)
30 _onData (dart:io-patch/socket_patch.dart:1356)
31 _rootRunUnary (dart:async/zone.dart:717)
32 _RootZone.runUnary (dart:async/zone.dart:854)
33 _BaseZone.runUnaryGuarded (dart:async/zone.dart:569)
34 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:333)
35 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263)
36 _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:529)
37 _StreamController._add (dart:async/stream_controller.dart:438)
38 _StreamController.add (dart:async/stream_controller.dart:395)
39 _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:948)
40 multiplex (dart:io-patch/socket_patch.dart:604)
41 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:115)
The text was updated successfully, but these errors were encountered: