Bug#1056630: evince crashes with sigsegv

Jörg Sommer joerg at jo-so.de
Fri Nov 24 06:10:04 GMT 2023


Package: evince
Version: 45.0-1
Severity: normal
File: /usr/bin/evince

Hi,

yesterday, my evince crashed, and I thought it was related to full-screen
mode (F5) and updating the PDF file (with latex) at the same time. But I
can't reproduce the crash. I only have the backtrace, and maybe, it is
helpful and you can track down the bug.

```text
           PID: 197951 (evince)
           UID: 1000 (joerg)
           GID: 1000 (joerg)
        Signal: 11 (SEGV)
     Timestamp: Thu 2023-11-23 18:59:49 CET (11h ago)
  Command Line: evince
    Executable: /usr/bin/evince
 Control Group: /user.slice/user-1000.slice/user at 1000.service/app.slice/app-gnome-rofi-197905.scope
          Unit: user at 1000.service
     User Unit: app-gnome-rofi-197905.scope
         Slice: user-1000.slice
     Owner UID: 1000 (joerg)
       Boot ID: 3f9715ead70d409f9fb5ed3b9353d33c
    Machine ID: 523cb54753234ed08c13ec497d0d3b64
      Hostname: zenbook
       Storage: /var/lib/systemd/coredump/core.evince.1000.3f9715ead70d409f9fb5ed3b9353d33c.197951.1700762389000000.zst (present)
  Size on Disk: 7.8M
       Message: Process 197951 (evince) of user 1000 dumped core.


warning: Can't open file /memfd:gdk-wayland (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
[New LWP 197951]
[New LWP 197955]
[New LWP 197956]
[New LWP 197959]
[New LWP 197958]
[New LWP 197973]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `evince'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  g_type_check_instance (type_instance=type_instance at entry=0x5deb90d1f420) at ../../../gobject/gtype.c:4292
Download failed: Das Argument ist ungültig.  Continuing without source file ./debian/build/deb/../../../gobject/gtype.c.
4292	../../../gobject/gtype.c: Unpassender IOCTL (I/O-Control) für das Gerät.
[Current thread is 1 (Thread 0x7d7c5e20af80 (LWP 197951))]
#0  g_type_check_instance (type_instance=type_instance at entry=0x5deb90d1f420) at ../../../gobject/gtype.c:4292
        node = 0x4800
#1  0x00007d7c628a3a08 in g_signal_handlers_disconnect_matched (instance=instance at entry=0x5deb90d1f420, mask=mask at entry=(G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), signal_id=signal_id at entry=0, detail=detail at entry=0, closure=closure at entry=0x0, func=func at entry=0x7d7c62979ad0 <job_finished_cb>, data=0x5deb96ee4f20) at ../../../gobject/gsignal.c:3085
        _g_boolean_var_95 = <optimized out>
        n_handlers = 0
        __func__ = "g_signal_handlers_disconnect_matched"
#2  0x00007d7c6297a0d5 in ev_view_presentation_delete_job (job=0x5deb90d1f420, pview=0x5deb96ee4f20 [EvViewPresentation]) at ../libview/ev-view-presentation.c:405
#3  ev_view_presentation_delete_job (job=0x5deb90d1f420, pview=0x5deb96ee4f20 [EvViewPresentation]) at ../libview/ev-view-presentation.c:399
#4  ev_view_presentation_reset_jobs (pview=0x5deb96ee4f20 [EvViewPresentation]) at ../libview/ev-view-presentation.c:413
#5  0x00007d7c6297a1e0 in ev_view_presentation_dispose (object=0x5deb96ee4f20 [EvViewPresentation]) at ../libview/ev-view-presentation.c:972
        pview = 0x5deb96ee4f20 [EvViewPresentation]
#6  0x00007d7c6288e9c0 in g_object_unref (_object=0x5deb96ee4f20) at ../../../gobject/gobject.c:3894
        weak_locations = <optimized out>
        nqueue = 0x5deb91278c50
        old_ref = <optimized out>
        __func__ = "g_object_unref"
        object = 0x5deb96ee4f20 [EvViewPresentation]
        __func__ = "g_object_unref"
#7  g_object_unref (_object=0x5deb96ee4f20) at ../../../gobject/gobject.c:3805
        object = 0x5deb96ee4f20 [EvViewPresentation]
        __func__ = "g_object_unref"
#8  0x00005deb8fc9ca9f in ev_window_set_document (document=0x7d7c16c1ba40 [PdfDocument], ev_window=0x5deb90fa8050 [EvWindow]) at ../shell/ev-window.c:1771
        _pp = 0x5deb90fa7bb8
        _ptr = <optimized out>
        current_page = 4
        priv = 0x5deb90fa7b60
#9  ev_window_document_changed_cb (model=<optimized out>, pspec=<optimized out>, ev_window=0x5deb90fa8050 [EvWindow]) at ../shell/ev-window.c:5247
#14 0x00007d7c628a4243 in <emit signal 'notify:document' on instance 0x5deb90fa78f0 [EvDocumentModel]> (instance=instance at entry=0x5deb90fa78f0, signal_id=<optimized out>, detail=<optimized out>) at ../../../gobject/gsignal.c:3675
        var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffdec200d90, reg_save_area = 0x7ffdec200cd0}}
    #10 0x00007d7c62889540 in g_closure_invoke (closure=0x5deb91115280, return_value=0x0, n_param_values=2, param_values=0x7ffdec200a80, invocation_hint=0x7ffdec2009d0) at ../../../gobject/gclosure.c:832
                marshal = 0x7d7c6288c6d0 <g_cclosure_marshal_VOID__PARAM>
                marshal_data = 0x0
                in_marshal = 0
                real_closure = 0x5deb91115260
                __func__ = "g_closure_invoke"
    #11 0x00007d7c6289cafc in signal_emit_unlocked_R (node=node at entry=0x7ffdec200b50, detail=detail at entry=1341, instance=instance at entry=0x5deb90fa78f0, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7ffdec200a80) at ../../../gobject/gsignal.c:3980
                tmp = <optimized out>
                handler = 0x5deb91115220
                accumulator = <optimized out>
                emission = {next = 0x7ffdec200f20, instance = 0x5deb90fa78f0, ihint = {signal_id = 1, detail = 1341, run_type = (G_SIGNAL_RUN_FIRST | G_SIGNAL_ACCUMULATOR_FIRST_RUN)}, state = EMISSION_RUN, chain_type = 0x4 [void]}
                hlist = <optimized out>
                handler_list = 0x5deb91126640
                return_accu = <optimized out>
                accu = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
                signal_id = <optimized out>
                max_sequential_handler_number = <optimized out>
                return_value_altered = <optimized out>
                n_params = <optimized out>
                __func__ = "signal_emit_unlocked_R"
    #12 0x00007d7c6289e501 in signal_emit_valist_unlocked (instance=instance at entry=0x5deb90fa78f0, signal_id=signal_id at entry=1, detail=detail at entry=1341, var_args=var_args at entry=0x7ffdec200cb0) at ../../../gobject/gsignal.c:3612
                instance_and_params = 0x7ffdec200a80
                param_values = 0x7ffdec200a98
                node = <optimized out>
                i = <optimized out>
                __func__ = "signal_emit_valist_unlocked"
                node_copy = {signal_id = 1, itype = 0x50 [GObject], name = 0x7d7c628b8bc7 "notify", destroyed = 0, flags = 121, n_params = 1, single_va_closure_is_valid = 1, single_va_closure_is_after = 0, param_types = 0x5deb90cf71e0, return_type = 0x4 [void], class_closure_bsa = 0x5deb90cf7270, accumulator = 0x0, c_marshaller = 0x7d7c6288c6d0 <g_cclosure_marshal_VOID__PARAM>, va_marshaller = 0x7d7c6288c760 <g_cclosure_marshal_VOID__PARAMv>, emission_hooks = 0x0, single_va_closure = 0x5deb90cf71b0}
    #13 0x00007d7c628a4186 in g_signal_emit_valist (instance=0x5deb90fa78f0, signal_id=1, detail=1341, var_args=0x7ffdec200cb0) at ../../../gobject/gsignal.c:3355
#15 0x00007d7c6288d734 in g_object_dispatch_properties_changed (object=0x5deb90fa78f0 [EvDocumentModel], n_pspecs=<optimized out>, pspecs=<optimized out>) at ../../../gobject/gobject.c:1427
        i = <optimized out>
#16 0x00007d7c628906ae in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0x5deb90fa78f0 [EvDocumentModel]) at ../../../gobject/gobject.c:1551
        nqueue = <optimized out>
        need_thaw = <optimized out>
        object_flags = <optimized out>
        needs_notify = 1
        in_init = <optimized out>
        pspec = <optimized out>
        __func__ = "g_object_notify"
#17 g_object_notify (object=0x5deb90fa78f0 [EvDocumentModel], property_name=property_name at entry=0x7d7c6297d52d "document") at ../../../gobject/gobject.c:1601
        pspec = <optimized out>
        __func__ = "g_object_notify"
#18 0x00007d7c62950472 in ev_document_model_set_document (model=<optimized out>, document=<optimized out>) at ../libview/ev-document-model.c:384
        __func__ = "ev_document_model_set_document"
#19 0x00005deb8fc95251 in ev_window_reload_job_cb (job=0x5deb914724f0 [EvJobLoad], ev_window=0x5deb90fa8050 [EvWindow]) at ../shell/ev-window.c:2018
        priv = 0x5deb90fa7b60
#24 0x00007d7c628a4243 in <emit signal 'finished' on instance 0x5deb914724f0 [EvJobLoad]> (instance=<optimized out>, signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3675
        var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7ffdec2012d0, reg_save_area = 0x7ffdec201210}}
    #20 0x00007d7c62889540 in g_closure_invoke (closure=0x5deb91408230, return_value=0x0, n_param_values=1, param_values=0x7ffdec200fe0, invocation_hint=0x7ffdec200f30) at ../../../gobject/gclosure.c:832
                marshal = 0x7d7c6288b8e0 <g_cclosure_marshal_VOID__VOID>
                marshal_data = 0x0
                in_marshal = 0
                real_closure = 0x5deb91408210
                __func__ = "g_closure_invoke"
    #21 0x00007d7c6289cafc in signal_emit_unlocked_R (node=node at entry=0x7ffdec201090, detail=detail at entry=0, instance=instance at entry=0x5deb914724f0, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7ffdec200fe0) at ../../../gobject/gsignal.c:3980
                tmp = <optimized out>
                handler = 0x5deb96f31500
                accumulator = <optimized out>
                emission = {next = 0x0, instance = 0x5deb914724f0, ihint = {signal_id = 399, detail = 0, run_type = (G_SIGNAL_RUN_FIRST | G_SIGNAL_ACCUMULATOR_FIRST_RUN)}, state = EMISSION_RUN, chain_type = 0x4 [void]}
                hlist = <optimized out>
                handler_list = 0x5deb96f31500
                return_accu = <optimized out>
                accu = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
                signal_id = <optimized out>
                max_sequential_handler_number = <optimized out>
                return_value_altered = <optimized out>
                n_params = <optimized out>
                __func__ = "signal_emit_unlocked_R"
    #22 0x00007d7c6289e501 in signal_emit_valist_unlocked (instance=instance at entry=0x5deb914724f0, signal_id=signal_id at entry=399, detail=detail at entry=0, var_args=var_args at entry=0x7ffdec2011f0) at ../../../gobject/gsignal.c:3612
                instance_and_params = 0x7ffdec200fe0
                param_values = 0x7ffdec200ff8
                node = <optimized out>
                i = <optimized out>
                __func__ = "signal_emit_valist_unlocked"
                node_copy = {signal_id = 399, itype = 0x5deb9101f5a0 [EvJob], name = 0x5deb90ede862 "finished", destroyed = 0, flags = 1, n_params = 0, single_va_closure_is_valid = 1, single_va_closure_is_after = 0, param_types = 0x0, return_type = 0x4 [void], class_closure_bsa = 0x5deb90d40c50, accumulator = 0x0, c_marshaller = 0x7d7c6288b8e0 <g_cclosure_marshal_VOID__VOID>, va_marshaller = 0x0, emission_hooks = 0x0, single_va_closure = 0x5deb90d3ed80}
    #23 0x00007d7c628a4186 in g_signal_emit_valist (instance=0x5deb914724f0, signal_id=399, detail=0, var_args=0x7ffdec2011f0) at ../../../gobject/gsignal.c:3355
#25 0x00007d7c629532ab in emit_finished (job=<optimized out>) at ../libview/ev-jobs.c:178
#26 emit_finished (job=<optimized out>) at ../libview/ev-jobs.c:168
#27 0x00007d7c627840d9 in g_main_dispatch (context=context at entry=0x5deb90d0bee0) at ../../../glib/gmain.c:3476
        dispatch = 0x7d7c62783520 <g_idle_dispatch>
        prev_source = 0x0
        begin_time_nsec = 0
        was_in_call = 0
        user_data = 0x5deb914724f0
        callback = 0x7d7c62953280 <emit_finished>
        cb_funcs = <optimized out>
        cb_data = 0x7d7c17416cc0
        need_destroy = <optimized out>
        source = 0x7d7c16d7bc80
        current = 0x5deb90d0c110
        i = 0
        __func__ = "g_main_dispatch"
#28 0x00007d7c62787317 in g_main_context_dispatch_unlocked (context=0x5deb90d0bee0) at ../../../glib/gmain.c:4284
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 2
        fds = 0x5deb9136d420
#29 g_main_context_iterate_unlocked (context=context at entry=0x5deb90d0bee0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 2
        fds = 0x5deb9136d420
#30 0x00007d7c62787930 in g_main_context_iteration (context=context at entry=0x5deb90d0bee0, may_block=may_block at entry=1) at ../../../glib/gmain.c:4414
        retval = <optimized out>
#31 0x00007d7c61b04b7d in g_application_run (application=application at entry=0x5deb90dcfa60 [EvApplication], argc=argc at entry=0, argv=argv at entry=0x0) at ../../../gio/gapplication.c:2577
        arguments = 0x5deb90f15170
        status = 0
        context = 0x5deb90d0bee0
        acquired_context = <optimized out>
        __func__ = "g_application_run"
#32 0x00005deb8fc84053 in main (argc=<optimized out>, argv=<optimized out>) at ../shell/main.c:318
        application = 0x5deb90dcfa60 [EvApplication]
        context = <optimized out>
        error = 0x0
        status = <optimized out>
--- END ---
```

Regards Jörg

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages evince depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.40.0-4
ii  evince-common                                45.0-1
ii  gsettings-desktop-schemas                    45.0-2
ii  libatk1.0-0                                  2.50.0-1
ii  libc6                                        2.37-12
ii  libcairo-gobject2                            1.18.0-1
ii  libcairo2                                    1.18.0-1
ii  libevdocument3-4                             45.0-1
ii  libevview3-3                                 45.0-1
ii  libgdk-pixbuf-2.0-0                          2.42.10+dfsg-3
ii  libglib2.0-0                                 2.78.1-4
ii  libgnome-desktop-3-20                        44.0-2
ii  libgtk-3-0                                   3.24.38-6
ii  libhandy-1-0                                 1.8.2-3
ii  libpango-1.0-0                               1.51.0+ds-3
ii  libpangocairo-1.0-0                          1.51.0+ds-3
ii  libsecret-1-0                                0.21.1-1
ii  shared-mime-info                             2.2-1

Versions of packages evince recommends:
ii  dbus-user-session [default-dbus-session-bus]  1.15.8-3
ii  dbus-x11 [dbus-session-bus]                   1.15.8-3

Versions of packages evince suggests:
pn  gvfs             <none>
pn  nautilus-sendto  <none>
ii  poppler-data     0.4.12-1
ii  unrar            1:7.0.3-1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 269 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20231124/9fdd6ec5/attachment.sig>


More information about the pkg-gnome-maintainers mailing list