invalid cast from 'PSDocument' to 'EvDocumentAnnotations'
When viewing a ps document, hitting 's' for an annotation and clicking the document causes the following stderr:
$ EV_DEBUG_JOBS=1 evince [file]
(evince:443612): GLib-GObject-WARNING **: 20:41:21.266: invalid cast from 'PSDocument' to 'EvDocumentAnnotations'
Segmentation fault
$ evince --version
GNOME Document Viewer 3.38.2
$ apt-cache policy libglib2.0-0
libglib2.0-0:
Installed: 2.66.8-1
Candidate: 2.66.8-1
Version table:
*** 2.66.8-1 500
500 http://deb.debian.org/debian testing/main amd64 Packages
100 /var/lib/dpkg/status
(the above versions are actually evince in a schroot w/ preserve-environment=true, but the same happens outside with evince version 3.30.2 and glib version 2.58.3-2+deb10u3. If somehow this bug only manifests in more recent versions of evince inside a chroot, my apologies for the noise)
edit: formatting and removed link to particular ps document since this applies to any non annotateable document
Edited by Johnson He