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-4338] Swift REPL crashes on launch if ~/.lldb/lldb-repl-history contains emoji #4392

Open
norio-nomura opened this issue Mar 24, 2017 · 3 comments
Labels
bug Something isn't working LLDB for Swift

Comments

@norio-nomura
Copy link

Previous ID SR-4338
Radar None
Original Reporter @norio-nomura
Type Bug
Environment

swift-DEVELOPMENT-SNAPSHOT-2017-03-23-a
swift-3.1-DEVELOPMENT-SNAPSHOT-2017-03-19-a
swift-3.0.2-RELEASE

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

md5: 962f652679b98813c1861c3609d2062c

Issue Description:

Reproducing step is posted at https://gist.github.com/norio-nomura/7630c2c50ff8cf1e3fe232e86f251e32 since JIRA does not accept description containing Emoji.

@belkadan
Copy link

That's bizarre. jingham@apple.com (JIRA User), any idea why that might be a problem?

@swift-ci
Copy link

Comment by Jim Ingham (JIRA)

This is a bug in libedit when reading history files with some non-ascii characters. libedit is not a part of lldb, but is an OS component, so the fix will have to wait for an OS update.

@belkadan
Copy link

Is there any way to recover in the meantime? (For example, prescanning the history file before providing it to libedit.)

@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 LLDB for Swift
Projects
None yet
Development

No branches or pull requests

3 participants