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-8922] repl trap when printing Foundation.DateFormatter #4361

Open
kevints mannequin opened this issue Oct 5, 2018 · 0 comments
Open

[SR-8922] repl trap when printing Foundation.DateFormatter #4361

kevints mannequin opened this issue Oct 5, 2018 · 0 comments
Labels
bug Something isn't working Linux LLDB for Swift

Comments

@kevints
Copy link
Mannequin

kevints mannequin commented Oct 5, 2018

Previous ID SR-8922
Radar None
Original Reporter @kevints
Type Bug
Environment

Swift 4.2-RELEASE
Ubuntu 14.04

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug, Linux
Assignee None
Priority Medium

md5: 76cd071fc69695a5b9a342462e93a6a0

Issue Description:

Crash in swift`apinotes_main

root@c33411474ab4:/code# ./releases/swift-4.2-RELEASE-ubuntu14.04/usr/bin/swift
Welcome to Swift version 4.2 (swift-4.2-RELEASE). Type :help for assistance.
  1> import Foundation
  2> let df = DateFormatter()
df: Foundation.DateFormatter = {
  Foundation.Formatter = {
    Foundation.NSObject = {}
  }
  __cfObject =Segmentation fault (core dumped)

Backtrace:

./releases/swift-4.2-RELEASE-ubuntu14.04/usr/bin/lldb ./releases/swift-4.2-RELEASE-ubuntu14.04/usr/bin/swift -c core
(lldb) target create "./releases/swift-4.2-RELEASE-ubuntu14.04/usr/bin/swift" --core "core"
Core file '/code/core' (x86_64) was loaded.
(lldb) bt
* thread #​1, name = 'repl_swift', stop reason = signal SIGTRAP
  * frame #&#8203;0: 0x00000000004006c1 swift`apinotes_main(llvm::ArrayRef<char const*>)
    frame #&#8203;1: 0x00000000004006e7 swift`apinotes_main(llvm::ArrayRef<char const*>) + 38
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Linux LLDB for Swift
Projects
None yet
Development

No branches or pull requests

0 participants