Skip to content

[SR-5757] Android: SwiftRuntime dlopen() failed on `/system/lib/libcutils.so #48327

Closed
@swift-ci

Description

@swift-ci
Previous ID SR-5757
Radar None
Original Reporter amraboelela (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

Android

Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, Android
Assignee amraboelela (JIRA)
Priority Medium

md5: a52dc7b4e60f4e341cdcf24421b2bba6

Issue Description:

08-23 11:58:59.438 25922-25922/com.example.addswift A/SwiftRuntime: dlopen() failed on `/system/lib/libcutils.so': dlopen failed: library "/system/lib/libcutils.so" wasn't loaded and RTLD_NOLOAD prevented it

                  • beginning of crash
                    08-23 11:58:59.448 25922-25922/com.example.addswift A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 25922 (xample.addswift)

[ 08-23 11:58:59.451 645: 645 W/ ]
debuggerd: handling request: pid=25922 uid=10061 gid=10061 tid=25922
08-23 11:58:59.671 25957-25957/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-23 11:58:59.672 25957-25957/? A/DEBUG: Build fingerprint: 'Android/sdk_phone_armv7/generic:7.0/NYC/3245079:userdebug/test-keys'
08-23 11:58:59.672 25957-25957/? A/DEBUG: Revision: '0'
08-23 11:58:59.672 25957-25957/? A/DEBUG: ABI: 'arm'
08-23 11:58:59.673 25957-25957/? A/DEBUG: pid: 25922, tid: 25922, name: xample.addswift >>> com.example.addswift <<<
08-23 11:58:59.673 25957-25957/? A/DEBUG: signal 6 (SIGABRT), code 6 (SI_TKILL), fault addr -------
08-23 11:58:59.693 25957-25957/? A/DEBUG: Abort message: 'dlopen() failed on `/system/lib/libcutils.so': dlopen failed: library "/system/lib/libcutils.so" wasn't loaded and RTLD_NOLOAD prevented it'
08-23 11:58:59.694 25957-25957/? A/DEBUG: r0 00000000 r1 00006542 r2 00000006 r3 00000008
08-23 11:58:59.694 25957-25957/? A/DEBUG: r4 ad71c584 r5 00000006 r6 ad71c52c r7 0000010c
08-23 11:58:59.695 25957-25957/? A/DEBUG: r8 92565cb0 r9 bef4f2e8 sl 925f31ac fp bef4f218
08-23 11:58:59.695 25957-25957/? A/DEBUG: ip 00000058 sp bef4f1c0 lr ace2932f pc ace2bb7c cpsr 20000010
08-23 11:58:59.730 25957-25957/? A/DEBUG: backtrace:
08-23 11:58:59.730 25957-25957/? A/DEBUG: #00 pc 00048b7c /system/lib/libc.so (tgkill+12)
08-23 11:58:59.731 25957-25957/? A/DEBUG: #1 pc 0004632b /system/lib/libc.so (pthread_kill+34)
08-23 11:58:59.731 25957-25957/? A/DEBUG: #2 pc 0001c6d5 /system/lib/libc.so (raise+10)
08-23 11:58:59.731 25957-25957/? A/DEBUG: #3 pc 00018237 /system/lib/libc.so (__libc_android_abort+34)
08-23 11:58:59.732 25957-25957/? A/DEBUG: #4 pc 00017770 /system/lib/libc.so (abort+4)
08-23 11:58:59.732 25957-25957/? A/DEBUG: #5 pc 004de804 /data/app/com.example.addswift-2/lib/arm/libswiftCore.so

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions