<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>246668</bug_id>
          
          <creation_ts>2022-10-17 18:49:45 -0700</creation_ts>
          <short_desc>[GTK4] Crash when pressing F7</short_desc>
          <delta_ts>2023-01-27 22:17:06 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>210100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alice Mikhaylenko">alicem</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1906344</commentid>
    <comment_count>0</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2022-10-17 18:49:45 -0700</bug_when>
    <thetext>Gtk:ERROR:../gtk/gtktextview.c:6153:blink_cb: assertion failed: (cursor_visible (text_view))

The backtrace is not very useful, but there&apos;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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915269</commentid>
    <comment_count>1</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2022-11-29 03:44:14 -0800</bug_when>
    <thetext>Ok, so it&apos;s not the actof toggling caret browsing, it&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1928953</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-01-27 09:10:34 -0800</bug_when>
    <thetext>Can&apos;t reproduce this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1929141</commentid>
    <comment_count>3</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2023-01-27 22:17:06 -0800</bug_when>
    <thetext>Indeed, looks like it&apos;s been fixed in the meanwhile. Probably in GTK.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>