Skip to content

[SR-5414] ImageInspectionELF.cpp:getSectionInfo crashes on Android #47988

Closed
@johnno1962

Description

@johnno1962
Previous ID SR-5414
Radar None
Original Reporter @johnno1962
Type Bug
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, Android, Runtime
Assignee None
Priority Medium

md5: eeaeadc9273523842bc94cdc82be6101

relates to:

  • SR-5438 Something is up with do/try/catch on the port to Android

Issue Description:

Due to dladdr() not returning the full path to an executable upstream when swift is running on Android calls to getSectionInfo() in stdlib/public/runtime/ImageInspectionELF.cpp fail when it tries to perform a dlopen(imageName, RTLD_LAZY | RTLD_NOLOAD). This description is out of date - see below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidPlatform: AndroidbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.runtimeThe Swift Runtimestandard libraryArea: Standard library umbrella

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions