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-9879] Sourcekitd crashed making a CursorInfo request #52285

Closed
SlaunchaMan opened this issue Feb 7, 2019 · 3 comments
Closed

[SR-9879] Sourcekitd crashed making a CursorInfo request #52285

SlaunchaMan opened this issue Feb 7, 2019 · 3 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself found by stress tester Flag: An issue found by the SourceKit stress tester

Comments

@SlaunchaMan
Copy link
Contributor

Previous ID SR-9879
Radar rdar://problem/48088046
Original Reporter @SlaunchaMan
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Environment

macOS 10.14.3 (18D42)
Xcode Version 10.1 (10B61)
Toolchain: Swift Development Snapshot 2019-02-03 (a)

Additional Detail from JIRA
Votes 0
Component/s Compiler, Source Tooling
Labels Bug, FoundByStressTester
Assignee None
Priority Medium

md5: 41d4944eb56f952abfc105de067c12e1

duplicates:

  • SR-9889 Assertion hit in type-checking when applying @IBOutlet to a non-optional weak var

Issue Description:

Detected unexpected failure: SourceKit crashed
  request: CursorInfo in /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/In-Workout/ActiveWorkoutInterfaceController.swift (modified: concurrent) at offset 331 with args: -incremental -module-name TapALap_WatchKit_Extension -Onone -enable-batch-mode -enforce-exclusivity=checked -DDEBUG -sdk /Applications/Xcode.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator5.1.sdk -target i386-apple-watchos2.0-simulator -g -module-cache-path /Users/jeff/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -application-extension -enable-testing -warnings-as-errors -index-store-path /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Index/DataStore -swift-version 4.2 -I /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Products/Debug-watchsimulator -F /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Products/Debug-watchsimulator -c -j12 /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/watchOS Integration/ExtensionDelegate.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/WorkoutManager.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/In-Workout/ActiveWorkoutInterfaceController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/Pre-Workout/NewTrackInterfaceController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/Formatting.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/Algorithms.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/Pre-Workout/WorkoutConfigurationInterfaceController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/Protocols/HealthKitAuthorization.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/HeartRateMeasurement.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/Protocols/WorkoutConfiguration.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/Pre-Workout/NewTrackViewModel.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/Logging.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/watchOS Integration/ComplicationController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/In-Workout/NowPlayingInterfaceController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/Pre-Workout/TrackSelectionInterfaceController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/FatalErrorWrapper.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/Protocols/WorkoutManaging.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Track Data/Track.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/Legacy/AddWorkoutSamplesOperation.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/FlowController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Track Data/TrackListViewModel.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/Protocols/WorkoutSession.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Workout Data/Legacy/LegacyWorkoutManager.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Managing Track Data/TrackManager.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/Result.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Interface Controllers/In-Workout/WorkoutActionsInterfaceController.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/AsyncOperation.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/InterfaceUtilities.swift /Users/jeff/Projects/TapALap/TapALap WatchKit Extension/Utilities/CLLocation+Conformances.swift -output-file-map /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/Objects-normal/i386/TapALap WatchKit Extension-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/Objects-normal/i386/TapALap_WatchKit_Extension.swiftmodule -Xcc -I/Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/TapALap WatchKit Extension-generated-files.hmap -Xcc -I/Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/TapALap WatchKit Extension-own-target-headers.hmap -Xcc -I/Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/TapALap WatchKit Extension-all-target-headers.hmap -Xcc -iquote -Xcc /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/TapALap WatchKit Extension-project-headers.hmap -Xcc -I/Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Products/Debug-watchsimulator/include -Xcc -I/Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/DerivedSources/i386 -Xcc -I/Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/DerivedSources -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/jeff/Library/Developer/Xcode/DerivedData/TapALap-evttezomvnkzagdvgljcqmzyqkli/Build/Intermediates.noindex/TapALap.build/Debug-watchsimulator/TapALap WatchKit Extension.build/Objects-normal/i386/TapALap_WatchKit_Extension-Swift.h -Xcc -working-directory/Users/jeff/Projects/TapALap
-- begin file content --------
//
//  ActiveWorkoutInterfaceController.swift
//  TapALap WatchKit Extension
//
//  Created by Jeff Kelley on 6/17/18.
//  Copyright © 2018 Jeff Kelley. All rights reserved.
//

import WatchKit
import Foundation


final class ActiveWorkoutInterfaceController: WKInterfaceController {
    
    @IBOutlet weak var elapsedTimeTimer: <cursor-offset>WKInterfaceTimer

extension ActiveWorkoutInterfaceController: StoryboardIdentifiable {
    static var storyboardIdentifier: String { return 
-- end file content ----------
@belkadan
Copy link
Contributor

belkadan commented Feb 7, 2019

cc @nkcsgexi

@nathawes
Copy link
Collaborator

The compiler hits the same assertion compiling the below:

class Bar {}

final class Foo {
 @IBOutlet weak var something: Bar

@nathawes
Copy link
Collaborator

Actually, it looks like this is the same issue as https://bugs.swift.org/browse/SR-9889

@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 found by stress tester Flag: An issue found by the SourceKit stress tester
Projects
None yet
Development

No branches or pull requests

3 participants