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-12794] Repl emitting warning: "adding which has a base that is less than the function's low PC" #4427

Closed
augusto2112 opened this issue May 12, 2020 · 2 comments
Labels
bug Something isn't working LLDB for Swift

Comments

@augusto2112
Copy link

Previous ID SR-12794
Radar None
Original Reporter @augusto2112
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee None
Priority Medium

md5: b2329291ac6e740507bd61476c3c44b0

duplicates:

  • SR-8690 swift REPL error: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC

Issue Description:

Starting the repl emits the warning:

error: ld-2.27.so 0x7fffffff0005c564: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message
error: ld-2.27.so 0x7fffffff0005c564: adding range [0x146d0-0x146d6) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message
error: ld-2.27.so 0x7fffffff0005c5c5: adding range [0x1464a-0x146ba) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message
error: ld-2.27.so 0x7fffffff0005c5c5: adding range [0x146d0-0x146d6) which has a base that is less than the function's low PC 0x14dc0. Please file a bug and attach the file at the start of this error message 

Which is emitted in the function SymbolFileDWARF::ParseBlocksRecursive.

This warning is already present in the latest release of Swift for Ubuntu (April 29th).

@adrian-prantl @vedantk

@vedantk
Copy link
Member

vedantk commented May 12, 2020

This might be a bug in whichever compiler built ld.so. Can you get lldb to dump out the pretty-printed DIE and tag for the function it’s complaining about, so we can be sure?

@swift-ci
Copy link

Comment by Owen Voorhees (JIRA)

I think this may be a duplicate of SR-8690, which has some additional info

@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
This issue was closed.
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