I've tried to reproduce the issue with evince 3.36.5 that has just been release into focal. The bug seems to be gone, at least as far as the two PDF files from the internet (mentioned above) are concerned.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/1867209 Title: evince crashes on searching in a PDF file Status in evince package in Ubuntu: Fix Released Bug description: Package: evince Version: 3.34.1-1 In the up-to-date Ubuntu 19.10 "eoan", Evince crashes when searching in a particular long PDF file. I open the file, press Ctrl+F to open a search string box, and type in some string that occurs in the document. Then, Evince starts searching, jumps to the first occurrence, and displays a thin progress bar while continuing searching. Evince doesn't terminate: about the middle of the search process, evince crashes: $ evince <filename>.pdf munmap_chunk(): invalid pointer Abgebrochen (Speicherabzug geschrieben) Unfortunately, I cannot share my PDF file due to legal reasons. However, the two files mentioned in https://gitlab.gnome.org/GNOME/evince/issues/1250 would do: - https://www.jaapsch.net/psion/pdffiles/hd6301-3_handbook.pdf - https://www.people.vcu.edu/~rhammack/BookOfProof/Main.pdf Searching for "the" (without the quotation marks) in any of these documents reproducibly crashes them. Here is the xterm contents on these occasions: $ export EV_DEBUG_JOBS=1 $ export G_MESSAGES_DEBUG=all $ evince Main.pdf (evince:8410): GLib-GIO-DEBUG: 21:40:47.788: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’ (evince:8410): Gtk-DEBUG: 21:40:47.860: Connecting to session manager (evince:8410): GLib-GIO-DEBUG: 21:40:47.869: desktop_file_dirs_lock: Resetting desktop app info dirs from (null) to /home/malkis/.config (evince:8410): GLib-GIO-DEBUG: 21:40:47.926: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’ (evince:8410): dconf-DEBUG: 21:40:47.926: watch_fast: "/org/gnome/evince/" (establishing: 0, active: 0) (evince:8410): dconf-DEBUG: 21:40:47.927: watch_established: "/org/gnome/evince/" (establishing: 1) (evince:8410): dconf-DEBUG: 21:40:47.951: watch_fast: "/org/gnome/evince/default/" (establishing: 0, active: 0) (evince:8410): dconf-DEBUG: 21:40:47.951: watch_established: "/org/gnome/evince/default/" (establishing: 1) (evince:8410): dconf-DEBUG: 21:40:48.028: watch_fast: "/org/gnome/desktop/lockdown/" (establishing: 0, active: 0) (evince:8410): dconf-DEBUG: 21:40:48.029: watch_established: "/org/gnome/desktop/lockdown/" (establishing: 1) ** (evince:8410): WARNING **: 21:40:50.284: No offset found for match "t" at page 9 after processing 55 results ** (evince:8410): WARNING **: 21:40:50.551: No offset found for match "the" at page 9 after processing 8 results munmap_chunk(): invalid pointer Abgebrochen (Speicherabzug geschrieben) $ evince hd6301-3_handbook.pdf (evince:8440): GLib-GIO-DEBUG: 21:41:26.259: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’ (evince:8440): Gtk-DEBUG: 21:41:26.332: Connecting to session manager (evince:8440): GLib-GIO-DEBUG: 21:41:26.340: desktop_file_dirs_lock: Resetting desktop app info dirs from (null) to /home/malkis/.config (evince:8440): GLib-GIO-DEBUG: 21:41:26.400: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’ (evince:8440): dconf-DEBUG: 21:41:26.400: watch_fast: "/org/gnome/evince/" (establishing: 0, active: 0) (evince:8440): dconf-DEBUG: 21:41:26.401: watch_established: "/org/gnome/evince/" (establishing: 1) (evince:8440): dconf-DEBUG: 21:41:26.424: watch_fast: "/org/gnome/evince/default/" (establishing: 0, active: 0) (evince:8440): dconf-DEBUG: 21:41:26.424: watch_established: "/org/gnome/evince/default/" (establishing: 1) (evince:8440): dconf-DEBUG: 21:41:26.596: watch_fast: "/org/gnome/desktop/lockdown/" (establishing: 0, active: 0) (evince:8440): dconf-DEBUG: 21:41:26.597: watch_established: "/org/gnome/desktop/lockdown/" (establishing: 1) free(): invalid next size (fast) Abgebrochen (Speicherabzug geschrieben) $ I cannot debug Evince myself (and a package such as evince-dbg seems to be unavailable anyway) and would therefore kindly ask the Ubuntu folks to attract the attention of the developers to this issue (or bugfix it or update Evince if a solution is already available). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1867209/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp