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-3939] REPL segmentation fault on Linux From Scratch #4639

Closed
swift-ci opened this issue Feb 11, 2017 · 1 comment
Closed

[SR-3939] REPL segmentation fault on Linux From Scratch #4639

swift-ci opened this issue Feb 11, 2017 · 1 comment
Labels

Comments

@swift-ci
Copy link

Previous ID SR-3939
Radar None
Original Reporter Vladislav (JIRA User)
Type Bug
Status Closed
Resolution Cannot Reproduce
Environment

Linux ved-hp-lfs6 4.9.9 #1 SMP Thu Feb 9 19:33:01 MSK 2017 x86_64 GNU/Linux

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

md5: 6c3db793e2644050d0b9b674efb2eb09

Issue Description:

Simple test:

ved [ ~ ]$ swift
Welcome to Swift version 3.1-dev (LLVM 1426389d65, Clang 35f595f847, Swift 006a423). Type :help for assistance.
1> 2 + 5
Segmentation fault (core dumped)
ved [ ~ ]$

journalctl output:

Feb 11 17:26:13 ved-hp-lfs6 systemd-coredump[21326]: Process 21272 (lldb) of user 1000 dumped core.
Feb 11 17:29:13 ved-hp-lfs6 kernel: io-handler[21366]: segfault at 1 ip 00007f361dbba596 sp 00007f36095bb748 error 4 in libc-2.24.so[7f361db3a000+194000]
Feb 11 17:29:13 ved-hp-lfs6 systemd[1]: Started Process Core Dump (PID 21409/UID 0).
Feb 11 17:29:13 ved-hp-lfs6 kernel: traps: repl_swift[21362] trap int3 ip:400961 sp:7fffffffed58 error:0
Feb 11 17:29:13 ved-hp-lfs6 kernel: in repl_swift[400000+1000]
Feb 11 17:29:13 ved-hp-lfs6 systemd[1]: Started Process Core Dump (PID 21411/UID 0).
Feb 11 17:29:13 ved-hp-lfs6 systemd-coredump[21412]: Process 21362 (repl_swift) of user 1000 dumped core.
Feb 11 17:29:44 ved-hp-lfs6 systemd-coredump[21410]: Process 21351 (lldb) of user 1000 dumped core.

@swift-ci
Copy link
Author

Comment by Vladislav Dembskiy (JIRA)

With latest swift checkout REPL is working.
swift --version
Swift version 3.1-dev (LLVM 6aad022362, Clang 61cb7f096c, Swift f76790e)
Target: x86_64-unknown-linux-gnu

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant