Bug 246668 - [GTK4] Crash when pressing F7
Summary: [GTK4] Crash when pressing F7
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: GTK4
  Show dependency treegraph
 
Reported: 2022-10-17 18:49 PDT by Alice Mikhaylenko
Modified: 2023-01-27 22:17 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alice Mikhaylenko 2022-10-17 18:49:45 PDT
Gtk:ERROR:../gtk/gtktextview.c:6153:blink_cb: assertion failed: (cursor_visible (text_view))

The backtrace is not very useful, but there's only one place where GtkTextView is used.

#0  0x00007ffff6f3b184 in __pthread_kill_implementation () at /usr/lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff6ee900e in raise () at /usr/lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff6ed27fc in abort () at /usr/lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff7c98e48 in g_assertion_message_expr[cold] () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff7cfcc67 in g_assertion_message_expr () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff74bda7e in blink_cb () at /usr/lib/x86_64-linux-gnu/libgtk-4.so.1
#6  0x00007ffff74e00a5 in gtk_widget_on_frame_clock_update () at /usr/lib/x86_64-linux-gnu/libgtk-4.so.1
#7  0x00007ffff7dce4d2 in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff7de31c8 in signal_emit_unlocked_R.isra.0 () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff7dea135 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff7dea303 in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff768749d in _gdk_frame_clock_emit_update () at /usr/lib/x86_64-linux-gnu/libgtk-4.so.1
#12 0x00007ffff76881d9 in gdk_frame_clock_paint_idle () at /usr/lib/x86_64-linux-gnu/libgtk-4.so.1
#13 0x00007ffff768839c in gdk_frame_clock_flush_idle () at /usr/lib/x86_64-linux-gnu/libgtk-4.so.1
#14 0x00007ffff7cd237f in g_timeout_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff7cd1681 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff7cd1bd8 in g_main_context_iterate.constprop () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff7cd1c73 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff7b77bad in g_application_run () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x000055555555b295 in main (argc=1, argv=0x7fffffffe3e8) at ../../../../../../../../../Projects/epiphany/s
Comment 1 Alice Mikhaylenko 2022-11-29 03:44:14 PST
Ok, so it's not the actof toggling caret browsing, it's F7 specifically.

Or rather, https://docs.gtk.org/gtk4/signal.TextView.toggle-cursor-visible.html

Now, the real question is why it crashes. Quite possible that we have yet another GTK bug.
Comment 2 Michael Catanzaro 2023-01-27 09:10:34 PST
Can't reproduce this.
Comment 3 Alice Mikhaylenko 2023-01-27 22:17:06 PST
Indeed, looks like it's been fixed in the meanwhile. Probably in GTK.