Opened 15 months ago
Closed 14 months ago
#11567 closed defect (fixed)
FATE test ffprobe_xsd fails
| Reported by: | Marcus B Spencer | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | fate |
| Version: | git-master | Keywords: | xmllint |
| Cc: | Marcus B Spencer | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug:
When running FATE, the ffprobe_xsd test fails with:
--- ./tests/ref/fate/ffprobe_xsd 2025-04-30 12:06:47.800514802 -0500
+++ tests/data/fate/ffprobe_xsd 2025-04-30 15:13:35.099352118 -0500
@@ -36,7 +36,7 @@
<disposition default="0" dub="0" original="0" comment="0" lyrics="0" karaoke="0" forced="0" hearing_impaired="0" visual_impaired="0" clean_effects="0" attached_pic="0" timed_thumbnails="0" non_diegetic="0" captions="0" descriptions="0" metadata="0" dependent="0" still_image="0" multilayer="0"/>
<tags>
<tag key="encoder" value="Lavc pcm_s16le"/>
- <tag key="E" value="mc²"/>
+ <tag key="E" value="mc²"/>
</tags>
</stream>
<stream index="1" codec_name="rawvideo" codec_type="video" codec_tag_string="RGB[24]" codec_tag="0x18424752" width="320" height="240" coded_width="320" coded_height="240" has_b_frames="0" sample_aspect_ratio="1:1" display_aspect_ratio="4:3" pix_fmt="rgb24" level="-99" refs="1" r_frame_rate="25/1" avg_frame_rate="25/1" time_base="1/51200" start_pts="0" start_time="0.000000" nb_read_frames="4" nb_read_packets="4">
@@ -59,7 +59,7 @@
<tags>
<tag key="title" value="ffprobe test file"/>
<tag key="comment" value="'A comment with CSV, XML & JSON special chars': <tag value="x">"/>
- <tag key="comment2" value="I ♥ Üñîçød€"/>
+ <tag key="comment2" value="I ♥ Üñîçød€"/>
</tags>
</format>
</ffprobe:ffprobe>
Test ffprobe_xsd failed. Look at tests/data/fate/ffprobe_xsd.err for details.
make: *** [tests/Makefile:316: fate-ffprobe_xsd] Error 1
tests/data/fate/ffprobe_xsd.err:
ffprobe version N-119396-g48c0dba23b Copyright (c) 2007-2025 the FFmpeg developers
built with gcc 15.1.1 (GCC) 20250425
configuration: --samples=../ffmpeg-samples --enable-gpl --cc=gcc
libavutil 60. 2.100 / 60. 2.100
libavcodec 62. 1.102 / 62. 1.102
libavformat 62. 0.102 / 62. 0.102
libavdevice 62. 0.100 / 62. 0.100
libavfilter 11. 0.100 / 11. 0.100
libswscale 9. 0.100 / 9. 0.100
libswresample 6. 0.100 / 6. 0.100
libpostproc 59. 1.100 / 59. 1.100
Input #0, nut, from '/home/marcus/Downloads/ffmpeg-stuff/ffmpeg/tests/data/ffprobe-test.nut':
Metadata:
title : ffprobe test file
comment : 'A comment with CSV, XML & JSON special chars': <tag value="x">
comment2 : I ♥ Üñîçød€
Duration: 00:00:00.12, start: 0.000000, bitrate: 70243 kb/s
Stream #0:0: Audio: pcm_s16le (PSD[16] / 0x10445350), 44100 Hz, 1 channels, s16, 705 kb/s
Metadata:
encoder : Lavc pcm_s16le
E : mc²
Stream #0:1: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 51200 tbn (default)
Metadata:
encoder : Lavc rawvideo
title : foobar
duration_ts : field-and-tags-conflict-attempt
Stream #0:2: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 100x100, SAR 1:1 DAR 1:1, 25 fps, 25 tbr, 51200 tbn
Metadata:
encoder : Lavc rawvideo
- validates
threads=1
How to reproduce:
Go into a git tree of current master and run (this will destroy previous build configuration):
make distclean ./configure --samples=../ffmpeg-samples --enable-gpl --cc=gcc make fate-rsync make -j8 make fate
Change History (2)
comment:1 by , 14 months ago
| Component: | undetermined → fate |
|---|---|
| Keywords: | xmllint added |
comment:2 by , 14 months ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
xmllint --version:
xmllint: using libxml version 21403-GITv2.14.3 compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 HTTP DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Regexps Automata RelaxNG Schemas Schematron Modules Debug Zlib Lzma
System is Arch Linux with multilib and testing repositories enabled.
Although this info probably doesn't matter anymore since an update (probably libxml2 2.14.3-1) made the problem go away.
Note:
See TracTickets
for help on using tickets.



This is likely an issue with your version of xmllint which for some reason escapes unicode chars even if the used encoding is UTF-8. Not sure what can be done about this. Can you provide information about your system (OS version) and xmllint --version ?