Skip to content

Using Server Socket Reference causes SEGFAULT in eventhandler #21384

Closed
@mkustermann

Description

@mkustermann

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) ....

Metadata

Metadata

Assignees

Labels

area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions