Skip to content

[SR-10210] Swift 5 Foundation URLSession crash on Linux #3505

Open
@mxcl

Description

@mxcl
Previous ID SR-10210
Radar None
Original Reporter @mxcl
Type Bug
Environment
  • Ubuntu 16.04

  • Swift 5.0.0

  • cURL 7.61.0

  • AWS t3.nano instance

Additional Detail from JIRA
Votes 2
Component/s Foundation
Labels Bug, 5.0Regression
Assignee None
Priority Medium

md5: 54801e544c0d154f93c41690a150a82e

Issue Description:

Hey people, sorry to report I got this crasher in my server app with Swift 5.0.0:

“Fatal error: Trying to remove task, but it's not in the registry.: file /home/buildnode/jenkins/workspace/oss-swift-5.0-package-linux-ubuntu-16_04/swift-corelibs-foundation/Foundation/URLSession/TaskRegistry.swift, line 76”

I cannot offer more info right now, but will attempt to trace it better and supplement the report.

Never saw it with 4.x (was running with 4.x for ~5 months), and I did update to Swift 5 on Monday, so it seems Swift 5, but you will know better.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions