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

Stack overflow issue after heavy-duty use #70

Closed
isoos opened this issue Mar 19, 2017 · 2 comments
Closed

Stack overflow issue after heavy-duty use #70

isoos opened this issue Mar 19, 2017 · 2 comments
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@isoos
Copy link

isoos commented Mar 19, 2017

After roughly 10k requests (short lived, one after another) I've got this exception:

Unhandled exception:
Stack Overflow
#0      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398)
#1      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
#2      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)
#5      _HttpClient._connectionClosed (dart:io/http_impl.dart:1916)
#6      _ConnectionTarget.close (dart:io/http_impl.dart:1477)
#7      _HttpClient._closeConnections (dart:io/http_impl.dart:1922)
#8      _HttpClient._connectionClosed (dart:io/http_impl.dart:1916)
#9      _ConnectionTarget.close (dart:io/http_impl.dart:1477)
#10     _HttpClient._closeConnections (dart:io/http_impl.dart:1922)
...
...
#13831  _RootZone.runGuarded (dart:async/zone.dart)
#13832  _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:384)
#13833  _BufferingStreamSubscription._close (dart:async/stream_impl.dart:278)
#13834  _RootZone.runGuarded (dart:async/zone.dart)
#13835  _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:384)
#13836  _StreamImplEvents.handleNext (dart:async/stream_impl.dart:609)
#13837  _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:666)
#13838  _startMicrotaskLoop (dart:async/schedule_microtask.dart)
#13839  _Timer._runTimers (dart:isolate-patch/timer_impl.dart)
#13840  _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:414)
#13841  _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart)

Process finished with exit code 255
@nex3
Copy link
Member

nex3 commented May 15, 2017

Can you provide a standalone example script that reproduces this?

It seems like this must be a language bug—as long as you're invoking http separately each time, there's no way it should be able to build a stack like that unless something unexpected is happening at the language level.

@nex3 nex3 added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) needs info labels May 15, 2017
@isoos
Copy link
Author

isoos commented Mar 15, 2018

obsolete?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants