Bug#1052172: gnome-terminal: crash during scroll-up

Patrice Duroux patrice.duroux at gmail.com
Thu Sep 21 18:04:22 BST 2023


Hi,

I have installed your packages and here is the result after reproducing a crash:

#coredumpctl debug
           PID: 6255 (gnome-terminal-)
           UID: 1001 (patrice)
           GID: 1001 (patrice)
        Signal: 11 (SEGV)
     Timestamp: Thu 2023-09-21 18:59:03 CEST (1min 4s ago)
  Command Line: /usr/libexec/gnome-terminal-server
    Executable: /usr/libexec/gnome-terminal-server
 Control Group:
/user.slice/user-1001.slice/user at 1001.service/app.slice/app-org.gnome.Terminal.slice/gnome-terminal-server.service
          Unit: user at 1001.service
     User Unit: gnome-terminal-server.service
         Slice: user-1001.slice
     Owner UID: 1001 (patrice)
       Boot ID: 0888970f49044cfbac6fd735e69b0268
    Machine ID: be351e757dc049ffa300ddbaf0f4856a
      Hostname: kos-moceratops
       Storage:
/var/lib/systemd/coredump/core.gnome-terminal-.1001.0888970f49044cfbac6fd735e69b0268.6255.1695315543000000.zst
(present)
  Size on Disk: 2.0M
       Message: Process 6255 (gnome-terminal-) of user 1001 dumped core.

                Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2.amd64
                Module libsystemd.so.0 from deb systemd-254.4-1.amd64
                Stack trace of thread 6255:
                #0  0x00007f48f0a0eb30 g_utf8_pointer_to_offset
(libglib-2.0.so.0 + 0x91b30)
                #1  0x00007f48eff1f0e6 emit_text_changed_insert
(libvte-2.91.so.0 + 0x670e6)
                #2  0x00007f48efeed03f
_ZN3vte8terminal8Terminal18emit_text_scrolledEl (libvte-2.91.so.0 +
0x3503f)
                #3  0x00007f48eff15265
_ZN3vte8platform6Widget25vadjustment_value_changedEv (libvte-2.91.so.0
+ 0x5d265)
                #4  0x00007f48f0ad9540 g_closure_invoke
(libgobject-2.0.so.0 + 0x16540)
                #5  0x00007f48f0aecafc signal_emit_unlocked_R
(libgobject-2.0.so.0 + 0x29afc)
                #6  0x00007f48f0aee501 signal_emit_valist_unlocked
(libgobject-2.0.so.0 + 0x2b501)
                #7  0x00007f48f0af4186 g_signal_emit_valist
(libgobject-2.0.so.0 + 0x31186)
                #8  0x00007f48f0af4243 g_signal_emit
(libgobject-2.0.so.0 + 0x31243)
                #9  0x00007f48f00b4297 emit_value_changed
(libgtk-3.so.0 + 0xb4297)
                #10 0x00007f48f025e152 gtk_range_real_change_value
(libgtk-3.so.0 + 0x25e152)
                #11 0x00007f48f00915ce
_gtk_marshal_BOOLEAN__ENUM_DOUBLE (libgtk-3.so.0 + 0x915ce)
                #12 0x00007f48f0ad9540 g_closure_invoke
(libgobject-2.0.so.0 + 0x16540)
                #13 0x00007f48f0aed188 signal_emit_unlocked_R
(libgobject-2.0.so.0 + 0x2a188)
                #14 0x00007f48f0aedd51 signal_emit_valist_unlocked
(libgobject-2.0.so.0 + 0x2ad51)
                #15 0x00007f48f0af4186 g_signal_emit_valist
(libgobject-2.0.so.0 + 0x31186)
                #16 0x00007f48f0af4243 g_signal_emit
(libgobject-2.0.so.0 + 0x31243)
                #17 0x00007f48f025c46c update_slider_position
(libgtk-3.so.0 + 0x25c46c)
                #18 0x00007f48f025f75c gtk_range_drag_gesture_update
(libgtk-3.so.0 + 0x25f75c)
                #19 0x00007f48f0094e20
_gtk_marshal_VOID__DOUBLE_DOUBLEv (libgtk-3.so.0 + 0x94e20)
                #20 0x00007f48f0ad9749 _g_closure_invoke_va
(libgobject-2.0.so.0 + 0x16749)
                #21 0x00007f48f0aee5bf signal_emit_valist_unlocked
(libgobject-2.0.so.0 + 0x2b5bf)
                #22 0x00007f48f0af4186 g_signal_emit_valist
(libgobject-2.0.so.0 + 0x31186)
                #23 0x00007f48f0af4243 g_signal_emit
(libgobject-2.0.so.0 + 0x31243)
                #24 0x00007f48f0adc986 g_cclosure_marshal_VOID__BOXEDv
(libgobject-2.0.so.0 + 0x19986)
                #25 0x00007f48f0ad9749 _g_closure_invoke_va
(libgobject-2.0.so.0 + 0x16749)
                #26 0x00007f48f0aee5bf signal_emit_valist_unlocked
(libgobject-2.0.so.0 + 0x2b5bf)
                #27 0x00007f48f0af4186 g_signal_emit_valist
(libgobject-2.0.so.0 + 0x31186)
                #28 0x00007f48f0af4243 g_signal_emit
(libgobject-2.0.so.0 + 0x31243)
                #29 0x00007f48f01b1912 gtk_gesture_handle_event
(libgtk-3.so.0 + 0x1b1912)
                #30 0x00007f48f01b4c32 gtk_gesture_single_handle_event
(libgtk-3.so.0 + 0x1b4c32)
                #31 0x00007f48f0179541
gtk_event_controller_handle_event (libgtk-3.so.0 + 0x179541)
                #32 0x00007f48f0348a7d _gtk_widget_run_controllers
(libgtk-3.so.0 + 0x348a7d)
                #33 0x00007f48f0090d98 _gtk_marshal_BOOLEAN__BOXEDv
(libgtk-3.so.0 + 0x90d98)
                #34 0x00007f48f0ad9749 _g_closure_invoke_va
(libgobject-2.0.so.0 + 0x16749)
                #35 0x00007f48f0aed913 signal_emit_valist_unlocked
(libgobject-2.0.so.0 + 0x2a913)
                #36 0x00007f48f0af4186 g_signal_emit_valist
(libgobject-2.0.so.0 + 0x31186)
                #37 0x00007f48f0af4243 g_signal_emit
(libgobject-2.0.so.0 + 0x31243)
                #38 0x00007f48f034a4d4 gtk_widget_event_internal
(libgtk-3.so.0 + 0x34a4d4)
                #39 0x00007f48f01fca5e propagate_event_up
(libgtk-3.so.0 + 0x1fca5e)
                #40 0x00007f48f01fe6ce gtk_main_do_event
(libgtk-3.so.0 + 0x1fe6ce)
                #41 0x00007f48f08b9a49 _gdk_event_emit (libgdk-3.so.0 + 0x3ba49)
                #42 0x00007f48f08ed276 gdk_event_source_dispatch
(libgdk-3.so.0 + 0x6f276)
                #43 0x00007f48f09d41b4 g_main_dispatch
(libglib-2.0.so.0 + 0x571b4)
                #44 0x00007f48f09d72d7
g_main_context_dispatch_unlocked (libglib-2.0.so.0 + 0x5a2d7)
                #45 0x00007f48f09d78f0 g_main_context_iteration
(libglib-2.0.so.0 + 0x5a8f0)
                #46 0x00007f48f0c09b5d g_application_run
(libgio-2.0.so.0 + 0xe5b5d)
                #47 0x0000563a13b34cb6 n/a (gnome-terminal-server + 0x18cb6)
                #48 0x00007f48ef8456ca __libc_start_call_main
(libc.so.6 + 0x276ca)
                #49 0x00007f48ef845785 __libc_start_main_impl
(libc.so.6 + 0x27785)
                #50 0x0000563a13b34e11 n/a (gnome-terminal-server + 0x18e11)

                Stack trace of thread 6256:
                #0  0x00007f48ef91eec9 syscall (libc.so.6 + 0x100ec9)
                #1  0x00007f48f0a329a4 g_cond_wait (libglib-2.0.so.0 + 0xb59a4)
                #2  0x00007f48f09a115b
g_async_queue_pop_intern_unlocked (libglib-2.0.so.0 + 0x2415b)
                #3  0x00007f48f0a0506a g_thread_pool_spawn_thread
(libglib-2.0.so.0 + 0x8806a)
                #4  0x00007f48f0a049e1 g_thread_proxy
(libglib-2.0.so.0 + 0x879e1)
                #5  0x00007f48ef8a63ec start_thread (libc.so.6 + 0x883ec)
                #6  0x00007f48ef926a2c __clone3 (libc.so.6 + 0x108a2c)

                Stack trace of thread 6257:
                #0  0x00007f48ef9199ff __GI___poll (libc.so.6 + 0xfb9ff)
                #1  0x00007f48f09d7237 g_main_context_poll_unlocked
(libglib-2.0.so.0 + 0x5a237)
                #2  0x00007f48f09d78f0 g_main_context_iteration
(libglib-2.0.so.0 + 0x5a8f0)
                #3  0x00007f48f09d7941 glib_worker_main
(libglib-2.0.so.0 + 0x5a941)
                #4  0x00007f48f0a049e1 g_thread_proxy
(libglib-2.0.so.0 + 0x879e1)
                #5  0x00007f48ef8a63ec start_thread (libc.so.6 + 0x883ec)
                #6  0x00007f48ef926a2c __clone3 (libc.so.6 + 0x108a2c)

                Stack trace of thread 6259:
                #0  0x00007f48ef9199ff __GI___poll (libc.so.6 + 0xfb9ff)
                #1  0x00007f48f09d7237 g_main_context_poll_unlocked
(libglib-2.0.so.0 + 0x5a237)
                #2  0x00007f48f09d7bdf g_main_loop_run
(libglib-2.0.so.0 + 0x5abdf)
                #3  0x00007f48f0c46dfa gdbus_shared_thread_func
(libgio-2.0.so.0 + 0x122dfa)
                #4  0x00007f48f0a049e1 g_thread_proxy
(libglib-2.0.so.0 + 0x879e1)
                #5  0x00007f48ef8a63ec start_thread (libc.so.6 + 0x883ec)
                #6  0x00007f48ef926a2c __clone3 (libc.so.6 + 0x108a2c)

                Stack trace of thread 6260:
                #0  0x00007f48ef9199ff __GI___poll (libc.so.6 + 0xfb9ff)
                #1  0x00007f48f09d7237 g_main_context_poll_unlocked
(libglib-2.0.so.0 + 0x5a237)
                #2  0x00007f48f09d78f0 g_main_context_iteration
(libglib-2.0.so.0 + 0x5a8f0)
                #3  0x00007f48ebf8b4bd n/a (libdconfsettings.so + 0xb4bd)
                #4  0x00007f48f0a049e1 g_thread_proxy
(libglib-2.0.so.0 + 0x879e1)
                #5  0x00007f48ef8a63ec start_thread (libc.so.6 + 0x883ec)
                #6  0x00007f48ef926a2c __clone3 (libc.so.6 + 0x108a2c)
                ELF object binary architecture: AMD x86-64

GNU gdb (Debian 13.2-1) 13.2
Copyright (C) 2023 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:
<https://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/libexec/gnome-terminal-server...
(No debugging symbols found in /usr/libexec/gnome-terminal-server)

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 6255]
[New LWP 6256]
[New LWP 6257]
[New LWP 6259]
[New LWP 6260]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/libexec/gnome-terminal-server'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  g_utf8_pointer_to_offset (str=<optimized out>, pos=<optimized
out>) at ../../../glib/gutf8.c:423
423    ../../../glib/gutf8.c: Aucun fichier ou dossier de ce type.
[Current thread is 1 (Thread 0x7f48ec2dad00 (LWP 6255))]
(gdb)


Is this interesting enough?

Regards,
Patrice

Le jeu. 21 sept. 2023 à 02:22, Samuel Thibault <sthibault at debian.org> a écrit :
>
> Hello,
>
> Could people who manage to reproduce the crash please give a try at the
> vte packages from
>
> https://people.debian.org/~sthibault/tmp/bookworm-tmp/
>
> ? I have pushed a small fix there that could possibly help fix crashes
> in some odd cases.
>
> Ideally, you'd have the libvte-2.91-0-dbgsym:amd64
> libvte-2.91-common-dbgsym packages installed and get the output of
>
> bt full
>
> from gdb, so we get to know how it actually crashes.
>
> Samuel



More information about the pkg-gnome-maintainers mailing list