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

[SR-4775] SwiftPM is hitting Assertion `object->refCounts.isDeiniting() #47352

Closed
aciidb0mb3r opened this issue May 2, 2017 · 6 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself runtime The Swift Runtime

Comments

@aciidb0mb3r
Copy link
Member

Previous ID SR-4775
Radar rdar://problem/31957108
Original Reporter @aciidb0mb3r
Type Bug
Status Closed
Resolution Duplicate
Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug, Runtime
Assignee None
Priority Medium

md5: 3ec934e54d2e26907d51e910404e1db3

duplicates:

  • SR-6268 Possible incorrect memory management for boxed types

Issue Description:

SwiftPM seems to be hitting this compiler assertion:

https://ci.swift.org/job/swift-package-manager-Linux-smoke-test/218/console

**** FAILURE EXECUTING SUBPROCESS ****
command: /home/buildnode/disk2/workspace/swift-package-manager-Linux-smoke-test/build/Ninja-ReleaseAssert/swiftpm-linux-x86_64/release/swift-package --chdir /tmp/DependencyResolution_External_Simple.q4hg2R/Bar fetch
SWIFT_EXEC: /home/buildnode/disk2/workspace/swift-package-manager-Linux-smoke-test/build/Ninja-ReleaseAssert/swiftpm-linux-x86_64/release/swiftc
output: Fetching /tmp/DependencyResolution_External_Simple.q4hg2R/Foo

**** FAILURE EXECUTING SUBPROCESS ****
output: Fetching /tmp/DependencyResolution_External_Simple.q4hg2R/Foo

stderr: swift-package: /home/buildnode/disk2/workspace/swift-package-manager-Linux-smoke-test/swift/stdlib/public/runtime/HeapObject.cpp:686: void swift::swift_deallocObject(swift::HeapObject *, size_t, size_t): Assertion `object->refCounts.isDeiniting()' failed.
@belkadan
Copy link
Contributor

belkadan commented May 2, 2017

cc @gparker42

@aciidb0mb3r
Copy link
Member Author

@tkremenek
Copy link
Member

@swift-ci create

@weissi
Copy link
Member

weissi commented Feb 7, 2018

this looks like a dupe of SR-6268 which seems fixed on the 4.1 branch

@bob-wilson
Copy link

Ankit, can you confirm that it is a duplicate?

@aciidb0mb3r
Copy link
Member Author

Confirmed!

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself runtime The Swift Runtime
Projects
None yet
Development

No branches or pull requests

5 participants