libgstreamer.so segfault when MP3 tag "date" field is -1
Happens with gstreamer 1.16.0-1 as currently shipped by Arch Linux.
It crashes immediately when clicking Play in clementine and the UI goes with it. dmesg says:
[ 506.144878] id3demux0:sink: segfault at 48 ip 00007ffab75c8e5c sp 00007ffa3b7fd860 error 6 in libgstreamer-1.0.so.0.1600.0[7ffab7561000+92000]
As stated in the title: I narrowed it down to the ID3 'date' field by looking with
I can half-reproduce it by editing the tags with clementine: setting 'Year' to 0 removes the 'date' field, then the file plays. Also setting 'Year' to some positive value makes the file playable.
I can't make clementine set the field to -1 and do not know why I have .mp3 files with -1 in 'date', but it should not segfault on them. Also some of these files have other fields set to -1, such as 'track'.