Bug#948543: gnome-logs: Unable to start gnome-logs due to Segmentation fault

Bernhard Übelacker bernhardu at mailbox.org
Sun Jan 12 18:47:13 GMT 2020


Dear Maintainer,
I could reproduce this issue.

Upstream fixed this crash with this upstream commit:
    https://gitlab.gnome.org/GNOME/gnome-logs/commit/7d0062a4ab36d457b74fe17b8d494570d4a0334b

A package build with this patch applied still crashes,
which got fixed in this upstream commit:
    https://gitlab.gnome.org/GNOME/gnome-logs/commit/86ae341d6837e7b6b36bd8e0c65be0211ef37eba

With both patches applied it does not crash
(and shows no logs as expected as non-root user).

Both patches seem to be already contained in
gnome-logs 3.34.0-1 currently in testing, therefore
this issue should just affect Buster or older.

Kind regards,
Bernhard


(gdb) bt
#0  0x000055a9d5e79b4f in gl_journal_update_latest_timestamp (journal=0x55a9d6de69e0) at ../src/gl-journal.c:98
#1  gl_journal_get_boot_time (journal=0x55a9d6de69e0, boot_match=0x0) at ../src/gl-journal.c:127
#2  0x000055a9d5e7b4c9 in gl_journal_model_get_boot_time (model=<optimized out>, boot_match=<optimized out>) at ../src/gl-journal-model.c:1158
#3  0x000055a9d5e756b0 in gl_event_view_list_get_boot_time (view=view at entry=0x55a9d6ce53c0, boot_match=<optimized out>) at ../src/gl-eventviewlist.c:402
#4  0x000055a9d5e7d721 in on_category_list_changed (list=<optimized out>, pspec=<optimized out>, user_data=<optimized out>) at ../src/gl-window.c:252
#5  0x00007f2ddab5fc8d in g_closure_invoke (closure=0x55a9d70b8ba0, return_value=0x0, n_param_values=2, param_values=0x7ffec12b7ee0, invocation_hint=0x7ffec12b7e60) at ../../../gobject/gclosure.c:810
...
#57 0x000055a9d5e7155c in main (argc=1, argv=0x7ffec12b9858) at ../src/gl-main.c:39
(gdb)
-------------- next part --------------

# Buster/stable amd64 qemu VM 2020-01-12

apt update
apt dist-upgrade

apt install systemd-coredump gnome
apt build-dep gnome-logs



mkdir /home/benutzer/source/gnome-logs/orig -p
cd    /home/benutzer/source/gnome-logs/orig
apt source gnome-logs
cd 



benutzer at debian:~$ export DISPLAY=:0
benutzer at debian:~$ gnome-logs 

** (gnome-logs:3016): WARNING **: 19:13:04.073: Error retrieving the sender timestamps: Die angeforderte Adresse kann nicht zugewiesen werden
Speicherzugriffsfehler (Speicherabzug geschrieben)



dmesg:
[  121.990363] gnome-logs[3016]: segfault at 17fffffff8 ip 000055a9d5e79b4f sp 00007ffec12b7cc0 error 4 in gnome-logs[55a9d5e70000+e000]
[  121.990370] Code: 43 18 48 8b 3b 48 89 e6 8b 50 08 48 8b 00 83 ea 01 48 8d 14 52 4c 8d 24 d0 e8 4d 6b ff ff 85 c0 0f 88 fd 00 00 00 48 8b 04 24 <49> 39 44 24 10 0f 82 8e 00 00 00 48 8b 3b e8 5e 70 ff ff 85 c0 0f



root at debian:~# coredumpctl list
TIME                            PID   UID   GID SIG COREFILE  EXE
Sun 2020-01-12 19:13:04 CET    3016  1000  1000  11 present   /usr/bin/gnome-logs



root at debian:~# coredumpctl gdb 3016
           PID: 3016 (gnome-logs)
           UID: 1000 (benutzer)
           GID: 1000 (benutzer)
        Signal: 11 (SEGV)
     Timestamp: Sun 2020-01-12 19:13:04 CET (1min 13s ago)
  Command Line: gnome-logs
    Executable: /usr/bin/gnome-logs
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (benutzer)
       Boot ID: 31e1a4dac60f43c3b142249a971244a8
    Machine ID: 33f18f39d2a9438eb75b0ed52848afcd
      Hostname: debian
       Storage: /var/lib/systemd/coredump/core.gnome-logs.1000.31e1a4dac60f43c3b142249a971244a8.3016.1578852784000000.lz4
       Message: Process 3016 (gnome-logs) of user 1000 dumped core.
                
                Stack trace of thread 3016:
                #0  0x000055a9d5e79b4f n/a (gnome-logs)
                #1  0x000055a9d5e7d721 n/a (gnome-logs)
                #2  0x00007f2ddab5fc8d g_closure_invoke (libgobject-2.0.so.0)
                #3  0x00007f2ddab73365 n/a (libgobject-2.0.so.0)
                #4  0x00007f2ddab7c2be g_signal_emit_valist (libgobject-2.0.so.0)
                #5  0x00007f2ddab7c97f g_signal_emit (libgobject-2.0.so.0)
                #6  0x00007f2ddab64364 n/a (libgobject-2.0.so.0)
                #7  0x00007f2ddab66921 g_object_notify_by_pspec (libgobject-2.0.so.0)
                #8  0x000055a9d5e72691 n/a (gnome-logs)
                #9  0x00007f2ddab5fc8d g_closure_invoke (libgobject-2.0.so.0)
                #10 0x00007f2ddab73365 n/a (libgobject-2.0.so.0)
                #11 0x00007f2ddab7c2be g_signal_emit_valist (libgobject-2.0.so.0)
                #12 0x00007f2ddab7c97f g_signal_emit (libgobject-2.0.so.0)
                #13 0x00007f2dda56f735 n/a (libgtk-3.so.0)
                #14 0x00007f2dda573192 n/a (libgtk-3.so.0)
                #15 0x00007f2dda573280 n/a (libgtk-3.so.0)
                #16 0x00007f2dd9aa38ee ffi_call_unix64 (libffi.so.6)
                #17 0x00007f2dd9aa32bf ffi_call (libffi.so.6)
                #18 0x00007f2ddab60906 g_cclosure_marshal_generic_va (libgobject-2.0.so.0)
                #19 0x00007f2ddab5fec6 n/a (libgobject-2.0.so.0)
                #20 0x00007f2ddab7c38d g_signal_emit_valist (libgobject-2.0.so.0)
                #21 0x00007f2ddab7c97f g_signal_emit (libgobject-2.0.so.0)
                #22 0x00007f2dda5322e4 n/a (libgtk-3.so.0)
                #23 0x00007f2ddab62d02 g_cclosure_marshal_VOID__BOXEDv (libgobject-2.0.so.0)
                #24 0x00007f2ddab5fec6 n/a (libgobject-2.0.so.0)
                #25 0x00007f2ddab7c38d g_signal_emit_valist (libgobject-2.0.so.0)
                #26 0x00007f2ddab7c97f g_signal_emit (libgobject-2.0.so.0)
                #27 0x00007f2dda52f4c2 n/a (libgtk-3.so.0)
                #28 0x00007f2dda530a8b n/a (libgtk-3.so.0)
                #29 0x00007f2dda533886 n/a (libgtk-3.so.0)
                #30 0x00007f2dda4fc44c gtk_event_controller_handle_event (libgtk-3.so.0)
                #31 0x00007f2dda6b607b n/a (libgtk-3.so.0)
                #32 0x00007f2dda70a274 n/a (libgtk-3.so.0)
                #33 0x00007f2ddab5fec6 n/a (libgobject-2.0.so.0)
                #34 0x00007f2ddab7bd74 g_signal_emit_valist (libgobject-2.0.so.0)
                #35 0x00007f2ddab7c97f g_signal_emit (libgobject-2.0.so.0)
                #36 0x00007f2dda6b8324 n/a (libgtk-3.so.0)
                #37 0x00007f2dda578976 n/a (libgtk-3.so.0)
                #38 0x00007f2dda57aa83 gtk_main_do_event (libgtk-3.so.0)
                #39 0x00007f2dda27c465 n/a (libgdk-3.so.0)
                #40 0x00007f2dda2d75b2 n/a (libgdk-3.so.0)
                #41 0x00007f2ddaa7df2e g_main_context_dispatch (libglib-2.0.so.0)
                #42 0x00007f2ddaa7e1c8 n/a (libglib-2.0.so.0)
                #43 0x00007f2ddaa7e25c g_main_context_iteration (libglib-2.0.so.0)
                #44 0x00007f2ddac70a2d g_application_run (libgio-2.0.so.0)
                #45 0x000055a9d5e7155c n/a (gnome-logs)
                #46 0x00007f2dd9fb809b __libc_start_main (libc.so.6)
                #47 0x000055a9d5e7159a n/a (gnome-logs)
                
                Stack trace of thread 3020:
                #0  0x00007f2dda082819 __poll (libc.so.6)
                #1  0x00007f2ddaa7e136 n/a (libglib-2.0.so.0)
                #2  0x00007f2ddaa7e4c2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007f2ddacaa266 n/a (libgio-2.0.so.0)
                #4  0x00007f2ddaaa6415 n/a (libglib-2.0.so.0)
                #5  0x00007f2dd9aaefa3 start_thread (libpthread.so.0)
                #6  0x00007f2dda08d4cf __clone (libc.so.6)
                
                Stack trace of thread 3018:
                #0  0x00007f2dda082819 __poll (libc.so.6)
                #1  0x00007f2ddaa7e136 n/a (libglib-2.0.so.0)
                #2  0x00007f2ddaa7e25c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f2ddaa7e2a1 n/a (libglib-2.0.so.0)
                #4  0x00007f2ddaaa6415 n/a (libglib-2.0.so.0)
                #5  0x00007f2dd9aaefa3 start_thread (libpthread.so.0)
                #6  0x00007f2dda08d4cf __clone (libc.so.6)
                
                Stack trace of thread 3021:
                #0  0x00007f2dda087f59 syscall (libc.so.6)
                #1  0x00007f2ddaac80ba g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007f2ddaa50091 n/a (libglib-2.0.so.0)
                #3  0x00007f2ddaa50651 g_async_queue_timeout_pop (libglib-2.0.so.0)
                #4  0x00007f2ddaaa6e51 n/a (libglib-2.0.so.0)
                #5  0x00007f2ddaaa6415 n/a (libglib-2.0.so.0)
                #6  0x00007f2dd9aaefa3 start_thread (libpthread.so.0)
                #7  0x00007f2dda08d4cf __clone (libc.so.6)
                
                Stack trace of thread 3019:
                #0  0x00007f2dda082819 __poll (libc.so.6)
                #1  0x00007f2ddaa7e136 n/a (libglib-2.0.so.0)
                #2  0x00007f2ddaa7e25c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007f2dd7cfdffd n/a (libdconfsettings.so)
                #4  0x00007f2ddaaa6415 n/a (libglib-2.0.so.0)
                #5  0x00007f2dd9aaefa3 start_thread (libpthread.so.0)
                #6  0x00007f2dda08d4cf __clone (libc.so.6)

GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-logs...(no debugging symbols found)...done.
[New LWP 3016]
[New LWP 3020]
[New LWP 3018]
[New LWP 3021]
[New LWP 3019]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gnome-logs'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055a9d5e79b4f in ?? ()
[Current thread is 1 (Thread 0x7f2dd7d37a80 (LWP 3016))]
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0  0x000055a9d5e79b4f in ?? ()
#1  0x000055a9d5e7d721 in ?? ()
#2  0x00007f2ddab5fc8d in g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007f2ddab73365 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007f2ddab7c2be in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007f2ddab7c97f in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007f2ddab64364 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007f2ddab66921 in g_object_notify_by_pspec () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x000055a9d5e72691 in ?? ()
#9  0x00007f2ddab5fc8d in g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007f2ddab73365 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007f2ddab7c2be in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007f2ddab7c97f in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007f2dda56f735 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#14 0x00007f2dda573192 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007f2dda573280 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007f2dd9aa38ee in ffi_call_unix64 () from /lib/x86_64-linux-gnu/libffi.so.6
#17 0x00007f2dd9aa32bf in ffi_call () from /lib/x86_64-linux-gnu/libffi.so.6
#18 0x00007f2ddab60906 in g_cclosure_marshal_generic_va () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007f2ddab5fec6 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007f2ddab7c38d in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007f2ddab7c97f in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007f2dda5322e4 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00007f2ddab62d02 in g_cclosure_marshal_VOID__BOXEDv () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007f2ddab5fec6 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007f2ddab7c38d in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007f2ddab7c97f in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007f2dda52f4c2 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#28 0x00007f2dda530a8b in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x00007f2dda533886 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007f2dda4fc44c in gtk_event_controller_handle_event () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007f2dda6b607b in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#32 0x00007f2dda70a274 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#33 0x00007f2ddab5fec6 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#34 0x00007f2ddab7bd74 in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#35 0x00007f2ddab7c97f in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#36 0x00007f2dda6b8324 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007f2dda578976 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#38 0x00007f2dda57aa83 in gtk_main_do_event () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#39 0x00007f2dda27c465 in ?? () from /lib/x86_64-linux-gnu/libgdk-3.so.0
#40 0x00007f2dda2d75b2 in ?? () from /lib/x86_64-linux-gnu/libgdk-3.so.0
#41 0x00007f2ddaa7df2e in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f2ddaa7e1c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f2ddaa7e25c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f2ddac70a2d in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#45 0x000055a9d5e7155c in ?? ()
#46 0x00007f2dd9fb809b in __libc_start_main (main=0x55a9d5e714f0, argc=1, argv=0x7ffec12b9858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffec12b9848) at ../csu/libc-start.c:308
#47 0x000055a9d5e7159a in ?? ()





Core was generated by `gnome-logs'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055a9d5e79b4f in gl_journal_update_latest_timestamp (journal=0x55a9d6de69e0) at ../src/gl-journal.c:98
98      ../src/gl-journal.c: Datei oder Verzeichnis nicht gefunden.
[Current thread is 1 (Thread 0x7f2dd7d37a80 (LWP 3016))]
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0  0x000055a9d5e79b4f in gl_journal_update_latest_timestamp (journal=0x55a9d6de69e0) at ../src/gl-journal.c:98
#1  gl_journal_get_boot_time (journal=0x55a9d6de69e0, boot_match=0x0) at ../src/gl-journal.c:127
#2  0x000055a9d5e7b4c9 in gl_journal_model_get_boot_time (model=<optimized out>, boot_match=<optimized out>) at ../src/gl-journal-model.c:1158
#3  0x000055a9d5e756b0 in gl_event_view_list_get_boot_time (view=view at entry=0x55a9d6ce53c0, boot_match=<optimized out>) at ../src/gl-eventviewlist.c:402
#4  0x000055a9d5e7d721 in on_category_list_changed (list=<optimized out>, pspec=<optimized out>, user_data=<optimized out>) at ../src/gl-window.c:252
#5  0x00007f2ddab5fc8d in g_closure_invoke (closure=0x55a9d70b8ba0, return_value=0x0, n_param_values=2, param_values=0x7ffec12b7ee0, invocation_hint=0x7ffec12b7e60) at ../../../gobject/gclosure.c:810
#6  0x00007f2ddab73365 in signal_emit_unlocked_R (node=node at entry=0x55a9d6cae940, detail=detail at entry=1490, instance=instance at entry=0x55a9d6fce3c0, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7ffec12b7ee0) at ../../../gobject/gsignal.c:3635
#7  0x00007f2ddab7c2be in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7ffec12b80b0) at ../../../gobject/gsignal.c:3391
#8  0x00007f2ddab7c97f in g_signal_emit (instance=instance at entry=0x55a9d6fce3c0, signal_id=<optimized out>, detail=<optimized out>) at ../../../gobject/gsignal.c:3447
#9  0x00007f2ddab64364 in g_object_dispatch_properties_changed (object=0x55a9d6fce3c0, n_pspecs=<optimized out>, pspecs=<optimized out>) at ../../../gobject/gobject.c:1088
#10 0x00007f2ddab66921 in g_object_notify_by_spec_internal (pspec=0x55a9d6fce3c0, object=0x55a9d6fce3c0) at ../../../gobject/gobject.c:1181
#11 g_object_notify_by_pspec (object=0x55a9d6fce3c0, pspec=pspec at entry=0x55a9d6f703d0) at ../../../gobject/gobject.c:1291
#12 0x000055a9d5e72691 in on_gl_category_list_row_selected (listbox=0x55a9d6fce3c0, row=0x55a9d6fcda80, user_data=<optimized out>) at ../src/gl-categorylist.c:143
#13 0x00007f2ddab5fc8d in g_closure_invoke (closure=0x55a9d6d9e6e0, return_value=0x0, n_param_values=2, param_values=0x7ffec12b83e0, invocation_hint=0x7ffec12b8360) at ../../../gobject/gclosure.c:810
#14 0x00007f2ddab73365 in signal_emit_unlocked_R (node=node at entry=0x55a9d6e26360, detail=detail at entry=0, instance=instance at entry=0x55a9d6fce3c0, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7ffec12b83e0) at ../../../gobject/gsignal.c:3635
#15 0x00007f2ddab7c2be in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7ffec12b85b0) at ../../../gobject/gsignal.c:3391
#16 0x00007f2ddab7c97f in g_signal_emit (instance=instance at entry=0x55a9d6fce3c0, signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3447
#17 0x00007f2dda56f735 in gtk_list_box_select_row_internal (row=0x55a9d6fcda80, box=0x55a9d6fce3c0) at ../../../../gtk/gtklistbox.c:1658
#18 gtk_list_box_select_row_internal (box=0x55a9d6fce3c0, row=0x55a9d6fcda80) at ../../../../gtk/gtklistbox.c:1640
#19 0x00007f2dda573192 in gtk_list_box_select_and_activate_full (box=0x55a9d6fce3c0, row=0x55a9d6fcda80, grab_focus=1) at ../../../../gtk/gtklistbox.c:1807
#20 0x00007f2dda573280 in gtk_list_box_select_and_activate_full (grab_focus=1, row=<optimized out>, box=0x55a9d6fce3c0) at ../../../../gtk/gtklistbox.c:1805
#21 gtk_list_box_multipress_gesture_released (gesture=0x7f2dc801eb70, n_press=1, x=<optimized out>, y=<optimized out>, box=0x55a9d6fce3c0) at ../../../../gtk/gtklistbox.c:2005
#22 0x00007f2dd9aa38ee in ffi_call_unix64 () at ../src/x86/unix64.S:76
#23 0x00007f2dd9aa32bf in ffi_call (cif=cif at entry=0x7ffec12b8920, fn=fn at entry=0x7f2dda5731b0 <gtk_list_box_multipress_gesture_released>, rvalue=<optimized out>, avalue=avalue at entry=0x7ffec12b8830) at ../src/x86/ffi64.c:525
#24 0x00007f2ddab60906 in g_cclosure_marshal_generic_va (closure=0x55a9d6db70d0, return_value=0x0, instance=<optimized out>, args_list=<optimized out>, marshal_data=<optimized out>, n_params=3, param_types=0x55a9d6d91410) at ../../../gobject/gclosure.c:1610
#25 0x00007f2ddab5fec6 in _g_closure_invoke_va (closure=0x55a9d6db70d0, return_value=0x0, instance=0x7f2dc801eb70, args=0x7ffec12b8bc0, n_params=3, param_types=0x55a9d6d91410) at ../../../gobject/gclosure.c:873
#26 0x00007f2ddab7c38d in g_signal_emit_valist (instance=0x7f2dc801eb70, signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7ffec12b8bc0) at ../../../gobject/gsignal.c:3300
#27 0x00007f2ddab7c97f in g_signal_emit (instance=instance at entry=0x7f2dc801eb70, signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3447
#28 0x00007f2dda5322e4 in gtk_gesture_multi_press_end (gesture=0x7f2dc801eb70, sequence=<optimized out>) at ../../../../gtk/gtkgesturemultipress.c:286
#29 0x00007f2ddab62d02 in g_cclosure_marshal_VOID__BOXEDv (closure=0x55a9d6e28550, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x55a9d6e28580) at ../../../gobject/gmarshal.c:1950
#30 0x00007f2ddab5fec6 in _g_closure_invoke_va (closure=0x55a9d6e28550, return_value=0x0, instance=0x7f2dc801eb70, args=0x7ffec12b8f70, n_params=1, param_types=0x55a9d6e28580) at ../../../gobject/gclosure.c:873
#31 0x00007f2ddab7c38d in g_signal_emit_valist (instance=0x7f2dc801eb70, signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7ffec12b8f70) at ../../../gobject/gsignal.c:3300
#32 0x00007f2ddab7c97f in g_signal_emit (instance=instance at entry=0x7f2dc801eb70, signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3447
#33 0x00007f2dda52f4c2 in _gtk_gesture_set_recognized (sequence=0x0, recognized=0, gesture=0x7f2dc801eb70) at ../../../../gtk/gtkgesture.c:345
#34 _gtk_gesture_check_recognized (gesture=gesture at entry=0x7f2dc801eb70, sequence=sequence at entry=0x0) at ../../../../gtk/gtkgesture.c:386
#35 0x00007f2dda530a8b in gtk_gesture_handle_event (event=0x55a9d6cc9320, controller=0x7f2dc801eb70) at ../../../../gtk/gtkgesture.c:814
#36 gtk_gesture_handle_event (controller=0x7f2dc801eb70, event=0x55a9d6cc9320) at ../../../../gtk/gtkgesture.c:712
#37 0x00007f2dda533886 in gtk_gesture_single_handle_event (controller=0x7f2dc801eb70, event=0x55a9d6cc9320) at ../../../../gtk/gtkgesturesingle.c:222
#38 0x00007f2dda4fc44c in gtk_event_controller_handle_event (controller=0x7f2dc801eb70, event=event at entry=0x55a9d6cc9320) at ../../../../gtk/gtkeventcontroller.c:230
#39 0x00007f2dda6b607b in _gtk_widget_run_controllers (widget=0x55a9d6fce3c0, event=0x55a9d6cc9320, phase=GTK_PHASE_BUBBLE) at ../../../../gtk/gtkwidget.c:7379
#40 0x00007f2dda70a274 in _gtk_marshal_BOOLEAN__BOXEDv (closure=0x55a9d6d229c0, return_value=0x7ffec12b9310, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x55a9d6d31d50) at ../../../../gtk/gtkmarshalers.c:129
#41 0x00007f2ddab5fec6 in _g_closure_invoke_va (closure=0x55a9d6d229c0, return_value=0x7ffec12b9310, instance=0x55a9d6fce3c0, args=0x7ffec12b93e0, n_params=1, param_types=0x55a9d6d31d50) at ../../../gobject/gclosure.c:873
#42 0x00007f2ddab7bd74 in g_signal_emit_valist (instance=0x55a9d6fce3c0, signal_id=<optimized out>, detail=0, var_args=var_args at entry=0x7ffec12b93e0) at ../../../gobject/gsignal.c:3300
#43 0x00007f2ddab7c97f in g_signal_emit (instance=instance at entry=0x55a9d6fce3c0, signal_id=<optimized out>, detail=detail at entry=0) at ../../../gobject/gsignal.c:3447
#44 0x00007f2dda6b8324 in gtk_widget_event_internal (widget=widget at entry=0x55a9d6fce3c0, event=event at entry=0x55a9d6cc9320) at ../../../../gtk/gtkwidget.c:7744
#45 0x00007f2dda6ba43a in gtk_widget_event (widget=widget at entry=0x55a9d6fce3c0, event=event at entry=0x55a9d6cc9320) at ../../../../gtk/gtkwidget.c:7314
#46 0x00007f2dda578976 in propagate_event_up (topmost=<optimized out>, event=<optimized out>, widget=0x55a9d6fce3c0) at ../../../../gtk/gtkmain.c:2592
#47 propagate_event (widget=<optimized out>, event=0x55a9d6cc9320, captured=<optimized out>, topmost=0x0) at ../../../../gtk/gtkmain.c:2695
#48 0x00007f2dda57aa83 in gtk_main_do_event (event=0x55a9d6cc9320) at ../../../../gtk/gtkmain.c:1915
#49 gtk_main_do_event (event=<optimized out>) at ../../../../gtk/gtkmain.c:1685
#50 0x00007f2dda27c465 in _gdk_event_emit (event=event at entry=0x55a9d6cc9320) at ../../../../gdk/gdkevents.c:73
#51 0x00007f2dda2d75b2 in gdk_event_source_dispatch (base=<optimized out>, callback=<optimized out>, data=<optimized out>) at ../../../../../gdk/wayland/gdkeventsource.c:124
#52 0x00007f2ddaa7df2e in g_main_dispatch (context=0x55a9d6cc1b10) at ../../../glib/gmain.c:3182
#53 g_main_context_dispatch (context=context at entry=0x55a9d6cc1b10) at ../../../glib/gmain.c:3847
#54 0x00007f2ddaa7e1c8 in g_main_context_iterate (context=context at entry=0x55a9d6cc1b10, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:3920
#55 0x00007f2ddaa7e25c in g_main_context_iteration (context=context at entry=0x55a9d6cc1b10, may_block=may_block at entry=1) at ../../../glib/gmain.c:3981
#56 0x00007f2ddac70a2d in g_application_run (application=0x55a9d6cbe100, argc=<optimized out>, argv=0x7ffec12b9858) at ../../../gio/gapplication.c:2470
#57 0x000055a9d5e7155c in main (argc=1, argv=0x7ffec12b9858) at ../src/gl-main.c:39
(gdb) info reg
rax            0x55a9d6e7fc40      94187943361600
rbx            0x55a9d6de69c0      94187942734272
rcx            0x55a9d6ca5010      94187941416976
rdx            0x55a9d6d9da80      94187942435456
rsi            0x5                 5
rdi            0x5                 5
rbp            0x55a9d6de69e0      0x55a9d6de69e0
rsp            0x7ffec12b7cc0      0x7ffec12b7cc0
r8             0x5f                95
r9             0x55a9d6d0ee20      94187941850656
r10            0x4                 4
r11            0x0                 0
r12            0x17ffffffe8        103079215080
r13            0x0                 0
r14            0x7ffec12b7e60      140732139273824
r15            0x7f2ddab62a30      139834919627312
rip            0x55a9d5e79b4f      0x55a9d5e79b4f <gl_journal_get_boot_time+143>
eflags         0x10206             [ PF IF RF ]
cs             0x33                51
ss             0x2b                43
ds             0x0                 0
es             0x0                 0
fs             0x0                 0
gs             0x0                 0
(gdb) display/i $pc
1: x/i $pc
=> 0x55a9d5e79b4f <gl_journal_get_boot_time+143>:       cmp    %rax,0x10(%r12)
(gdb) print $r12
$1 = 103079215080
(gdb) print/x $r12
$2 = 0x17ffffffe8




https://sources.debian.org/src/gnome-logs/3.30.0-2/src/gl-journal.c/#L98
https://gitlab.gnome.org/GNOME/gnome-logs/blob/master/src/gl-journal.c#L97

https://gitlab.gnome.org/GNOME/gnome-logs/commit/7d0062a4ab36d457b74fe17b8d494570d4a0334b
https://bugzilla.redhat.com/show_bug.cgi?id=1652642




cd /home/benutzer/source/gnome-logs
cp orig try1 -a
cd try1/gnome-logs-3.30.0
wget https://gitlab.gnome.org/GNOME/gnome-logs/commit/7d0062a4ab36d457b74fe17b8d494570d4a0334b.patch -O debian/patches/7d0062a4ab36d457b74fe17b8d494570d4a0334b.patch
echo 7d0062a4ab36d457b74fe17b8d494570d4a0334b.patch >> debian/patches/series
wget https://gitlab.gnome.org/GNOME/gnome-logs/commit/86ae341d6837e7b6b36bd8e0c65be0211ef37eba.patch -O debian/patches/86ae341d6837e7b6b36bd8e0c65be0211ef37eba.patch
echo 86ae341d6837e7b6b36bd8e0c65be0211ef37eba.patch >> debian/patches/series
dpkg-buildpackage -uc

dpkg -i /home/benutzer/source/gnome-logs/try1/*.deb



set width 0
set pagination off




More information about the pkg-gnome-maintainers mailing list