#11236: dashdec.c CRASH xmlCleanupParser
-------------------------------------+-------------------------------------
Reporter: | Type: defect
gorilla.maguila |
Status: new | Priority: normal
Component: avformat | Version: git-
| master
Keywords: dashdec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
We have developed an android app that uses FFmpeg's libraries in a multi
threaded app and dashdec.c crashes with the following stacktrace:
{{{
2024-10-09 15:51:53.490 25707-25707 DEBUG crash_dump64
A Cmdline: com.example.android
2024-10-09 15:51:53.490 25707-25707 DEBUG crash_dump64
A pid: 23648, tid: 24220, name: pool-7-thread-2 >>> com.example.android
<<<
2024-10-09 15:51:53.490 25707-25707 DEBUG crash_dump64
A #04 pc 00000000002b21c8 /data/app/~~3LOJM6as2DkI6XF-
fC26qw==/com.example.android-
dKKUeHjMMTlapfexrVoEMQ==/lib/arm64/libavformat.so (xmlCleanupParser+44)
2024-10-09 15:51:53.490 25707-25707 DEBUG crash_dump64
A #05 pc 00000000001703e8 /data/app/~~3LOJM6as2DkI6XF-
fC26qw==/com.example.android-
dKKUeHjMMTlapfexrVoEMQ==/lib/arm64/libavformat.so (parse_manifest+416)
2024-10-09 15:51:53.490 25707-25707 DEBUG crash_dump64
A #06 pc 000000000016faf0 /data/app/~~3LOJM6as2DkI6XF-
fC26qw==/com.example.android-
dKKUeHjMMTlapfexrVoEMQ==/lib/arm64/libavformat.so (dash_read_header+64)
2024-10-09 15:51:53.490 25707-25707 DEBUG crash_dump64
A #07 pc 00000000001747f8 /data/app/~~3LOJM6as2DkI6XF-
fC26qw==/com.example.android-
dKKUeHjMMTlapfexrVoEMQ==/lib/arm64/libavformat.so
(avformat_open_input+396)
}}}
It seems that xmlCleanupParser is not thread safe.
[https://mail.gnome.org/archives/xml/2012-October/msg00044.html]
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11236>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".