Skip to content

Using Server Socket Reference causes SEGFAULT in eventhandler #21384

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
mkustermann opened this issue Oct 21, 2014 · 1 comment
Closed

Using Server Socket Reference causes SEGFAULT in eventhandler #21384

mkustermann opened this issue Oct 21, 2014 · 1 comment
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.

Comments

@mkustermann
Copy link
Member

Reproduction:

  main() {
    ServerSocket.bind('127.0.0.1', 0).then((mainServer) {
      mainServer.reference.create().then((refServer) {
        refServer.listen((_) {});
        Timer.run(() {
          mainServer.close();
          refServer.close();
        });
      });
    });
  }

$ dart repro.dart
zsh: segmentation fault (core dumped) ....

@mkustermann
Copy link
Member Author

Should be fixed in r41276.


Added Fixed label.

@mkustermann mkustermann added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Oct 24, 2014
@mkustermann mkustermann self-assigned this Oct 24, 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.
Projects
None yet
Development

No branches or pull requests

2 participants