Skip to content

Uncatchable crash setDataSource code -1 (SI_QUEUE) #272

@cmunaro

Description

@cmunaro

Every video taken from a Galaxy S10 updated to the latest Android version, makes the app crash even if the code is inside a try-catch, on other devices seems to work.
The trigger is the second line of this code:

        val mmr = FFmpegMediaMetadataRetriever()
        mmr.setDataSource(application, uri)

logs:

2023-01-18 10:05:46.827 23358-23608 libc      com.REDACTED.dev    A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 23608 (DefaultDispatch), pid 23358 (ile.android.dev)
2023-01-18 10:05:47.319 23778-23778 DEBUG     crash_dump64        A  Cmdline: com.REDACTED.dev
2023-01-18 10:05:47.319 23778-23778 DEBUG     crash_dump64        A  pid: 23358, tid: 23608, name: DefaultDispatch  >>> com.REDACTED.dev <<<
2023-01-18 10:05:47.320 23778-23778 DEBUG     crash_dump64        A  #01 pc 0000000000031e04  /data/app/~~sJ0p01rG0e-CDIudrR-s4g==/com.REDACTED.dev-W-4DixQ74bmb1Arcvt2v9w==/base.apk!libswscale.so (sws_setColorspaceDetails+1772)

Sample: https://user-images.githubusercontent.com/16867697/213127265-8e2d79b3-e06a-4c9a-8240-75009227bf37.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions