Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code crashes when deleting lines #1443

Open
TomiOhl opened this issue Jun 26, 2024 · 16 comments
Open

Code crashes when deleting lines #1443

TomiOhl opened this issue Jun 26, 2024 · 16 comments

Comments

@TomiOhl
Copy link
Contributor

TomiOhl commented Jun 26, 2024

What Happened?

Sometimes Code crashes when I select multiple lines and press backspace. I have an ocd where I need to keep only useful lines in bash history 😅, so when I'm deleting lines from there, that's when I get it mostly.

Steps to Reproduce

  1. Open a text file with code (e.g. bash history)
  2. Select some lines via the mouse
  3. Press backspace

Expected Behavior

The lines should be deleted and Code should not crash

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

Segmentation fault

Hardware Info

No response

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 2, 2024

I could not reproduce this with the Early Access Elementary ( but only tested briefly). Please indicate whether you have AutoSave switched on and also indicate which extensions are active. If you are able please run Code under gdb in a terminal and when it crashes get a backtrace by typing bt and post the output here.

@TomiOhl
Copy link
Contributor Author

TomiOhl commented Jul 2, 2024

Yes, I have autosave switched on. I have enabled these extensions:

  • Brackets completion
  • Detect indent
  • EditorConfig
  • Highlight word selection
  • Markdown actions
  • Preserve indent

gdb output:

GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 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 io.elementary.code...
(No debugging symbols found in io.elementary.code)
(gdb) run
Starting program: /usr/bin/io.elementary.code 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff2959640 (LWP 568669)]
[New Thread 0x7ffff2158640 (LWP 568670)]
[New Thread 0x7ffff18bc640 (LWP 568671)]
[New Thread 0x7ffff0eaf640 (LWP 568673)]
[Thread 0x7ffff0eaf640 (LWP 568673) exited]
[New Thread 0x7ffff0eaf640 (LWP 568674)]
[New Thread 0x7fffe93ff640 (LWP 568675)]
[Thread 0x7ffff0eaf640 (LWP 568674) exited]
[New Thread 0x7ffff0eaf640 (LWP 568676)]
[Thread 0x7fffe93ff640 (LWP 568675) exited]
[New Thread 0x7fffe93ff640 (LWP 568677)]
[Thread 0x7ffff0eaf640 (LWP 568676) exited]
[Thread 0x7fffe93ff640 (LWP 568677) exited]
[New Thread 0x7fffe93ff640 (LWP 568678)]
[New Thread 0x7ffff0eaf640 (LWP 568679)]
[New Thread 0x7fffe8bfe640 (LWP 568680)]
[Detaching after fork from child process 568682]
[New Thread 0x7fffd73ff640 (LWP 568694)]
[New Thread 0x7fffd6bfe640 (LWP 568695)]
[Thread 0x7fffd73ff640 (LWP 568694) exited]
[New Thread 0x7fffd73ff640 (LWP 568696)]
[New Thread 0x7fffd63fd640 (LWP 568697)]
[Thread 0x7fffd6bfe640 (LWP 568695) exited]
[Thread 0x7fffd63fd640 (LWP 568697) exited]
[Thread 0x7fffd73ff640 (LWP 568696) exited]
[New Thread 0x7fffd63fd640 (LWP 568698)]
[New Thread 0x7fffd73ff640 (LWP 568699)]
[Thread 0x7fffd63fd640 (LWP 568698) exited]
[New Thread 0x7fffd63fd640 (LWP 568700)]
[New Thread 0x7fffd6bfe640 (LWP 568701)]
[Thread 0x7fffd73ff640 (LWP 568699) exited]
[Thread 0x7fffd63fd640 (LWP 568700) exited]
[Thread 0x7fffd6bfe640 (LWP 568701) exited]
[New Thread 0x7fffd6bfe640 (LWP 568702)]
[New Thread 0x7fffd63fd640 (LWP 568703)]
[Thread 0x7fffd6bfe640 (LWP 568702) exited]
[New Thread 0x7fffd6bfe640 (LWP 568704)]
[New Thread 0x7fffd73ff640 (LWP 568705)]
[Thread 0x7fffd63fd640 (LWP 568703) exited]
[Thread 0x7fffd6bfe640 (LWP 568704) exited]
[Thread 0x7fffd73ff640 (LWP 568705) exited]
[New Thread 0x7fffd73ff640 (LWP 568706)]
[New Thread 0x7fffd6bfe640 (LWP 568707)]
[Thread 0x7fffd73ff640 (LWP 568706) exited]
[New Thread 0x7fffd73ff640 (LWP 568708)]
[New Thread 0x7fffd63fd640 (LWP 568709)]
[Thread 0x7fffd6bfe640 (LWP 568707) exited]
[Thread 0x7fffd73ff640 (LWP 568708) exited]
[New Thread 0x7fffd73ff640 (LWP 568710)]
[New Thread 0x7fffd6bfe640 (LWP 568711)]
[Thread 0x7fffd63fd640 (LWP 568709) exited]
[Thread 0x7fffd73ff640 (LWP 568710) exited]
[New Thread 0x7fffd73ff640 (LWP 568712)]
[New Thread 0x7fffd63fd640 (LWP 568713)]
[Thread 0x7fffd6bfe640 (LWP 568711) exited]
[Thread 0x7fffd73ff640 (LWP 568712) exited]
[New Thread 0x7fffd73ff640 (LWP 568714)]
[New Thread 0x7fffd63fd640 (LWP 568715)]
[Thread 0x7fffd63fd640 (LWP 568713) exited]
[Thread 0x7fffd73ff640 (LWP 568714) exited]
[New Thread 0x7fffd73ff640 (LWP 568716)]
[New Thread 0x7fffd6bfe640 (LWP 568717)]
[Thread 0x7fffd63fd640 (LWP 568715) exited]
[Thread 0x7fffd73ff640 (LWP 568716) exited]
[Thread 0x7fffd6bfe640 (LWP 568717) exited]
[New Thread 0x7fffd6bfe640 (LWP 568718)]
[New Thread 0x7fffd73ff640 (LWP 568719)]
[Thread 0x7fffd6bfe640 (LWP 568718) exited]
[New Thread 0x7fffd6bfe640 (LWP 568720)]
[New Thread 0x7fffd63fd640 (LWP 568721)]
[Thread 0x7fffd73ff640 (LWP 568719) exited]
[Thread 0x7fffd6bfe640 (LWP 568720) exited]
[Thread 0x7fffd63fd640 (LWP 568721) exited]
[New Thread 0x7fffd63fd640 (LWP 568722)]
[New Thread 0x7fffd6bfe640 (LWP 568723)]
[Thread 0x7fffd63fd640 (LWP 568722) exited]
[New Thread 0x7fffd63fd640 (LWP 568724)]
[New Thread 0x7fffd73ff640 (LWP 568725)]
[Thread 0x7fffd6bfe640 (LWP 568723) exited]
[Thread 0x7fffd63fd640 (LWP 568724) exited]
[Thread 0x7fffd73ff640 (LWP 568725) exited]
[New Thread 0x7fffd73ff640 (LWP 568726)]
[New Thread 0x7fffd63fd640 (LWP 568727)]
[Thread 0x7fffd73ff640 (LWP 568726) exited]
[New Thread 0x7fffd73ff640 (LWP 568728)]
[New Thread 0x7fffd6bfe640 (LWP 568729)]
[Thread 0x7fffd63fd640 (LWP 568727) exited]
[Thread 0x7fffd73ff640 (LWP 568728) exited]
[Thread 0x7fffd6bfe640 (LWP 568729) exited]
[Thread 0x7ffff0eaf640 (LWP 568679) exited]
[Thread 0x7fffe93ff640 (LWP 568678) exited]

(io.elementary.code:568666): GtkSourceView-CRITICAL **: 01:39:53.208: gtk_source_search_settings_get_regex_enabled: assertion 'GTK_SOURCE_IS_SEARCH_SETTINGS (settings)' failed

(io.elementary.code:568666): GtkSourceView-CRITICAL **: 01:39:53.208: gtk_source_search_settings_get_search_text: assertion 'GTK_SOURCE_IS_SEARCH_SETTINGS (settings)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_buffer_get_tag_table: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_tag_table_get_size: assertion 'GTK_IS_TEXT_TAG_TABLE (table)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_tag_set_priority: assertion 'GTK_IS_TEXT_TAG (tag)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_iter_has_tag: assertion 'GTK_IS_TEXT_TAG (tag)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_iter_has_tag: assertion 'GTK_IS_TEXT_TAG (tag)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_iter_has_tag: assertion 'GTK_IS_TEXT_TAG (tag)' failed

(io.elementary.code:568666): GtkSourceView-CRITICAL **: 01:39:53.208: gtk_source_search_settings_get_at_word_boundaries: assertion 'GTK_SOURCE_IS_SEARCH_SETTINGS (settings)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_iter_has_tag: assertion 'GTK_IS_TEXT_TAG (tag)' failed

(io.elementary.code:568666): GtkSourceView-CRITICAL **: 01:39:53.208: gtk_source_search_settings_get_at_word_boundaries: assertion 'GTK_SOURCE_IS_SEARCH_SETTINGS (settings)' failed

(io.elementary.code:568666): GtkSourceView-CRITICAL **: 01:39:53.208: gtk_source_search_settings_get_search_text: assertion 'GTK_SOURCE_IS_SEARCH_SETTINGS (settings)' failed

(io.elementary.code:568666): Gtk-CRITICAL **: 01:39:53.208: gtk_text_buffer_remove_tag: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(io.elementary.code:568666): GtkSourceView-CRITICAL **: 01:39:53.208: gtk_source_search_settings_get_regex_enabled: assertion 'GTK_SOURCE_IS_SEARCH_SETTINGS (settings)' failed

(io.elementary.code:568666): GLib-GObject-CRITICAL **: 01:39:53.208: g_object_notify: assertion 'G_IS_OBJECT (object)' failed

Thread 1 "io.elementary.c" received signal SIGSEGV, Segmentation fault.
0x00007ffff6fbdefb in ?? () from /lib/x86_64-linux-gnu/libgtksourceview-4.so.0
(gdb) bt
#0  0x00007ffff6fbdefb in  () at /lib/x86_64-linux-gnu/libgtksourceview-4.so.0

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 3, 2024

Thanks, that is helpful. Did you only get one line of output after typing bt? The crash occured in a Gtk library. Ideally we want a full backtrace into the Code code.

@TomiOhl
Copy link
Contributor Author

TomiOhl commented Jul 3, 2024

Yes, sadly only this one line got printed after typing bt.

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 3, 2024

You could try typing t a a bt instead to get a backtrace from all threads I guess but I thought gdb always gave the backtrace from the thread that crashed anyway. Another technique is to type set env G_DEBUG=fatal-criticals before typing run to investigate those critical error messages, which may or may not be related to the crash.

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 3, 2024

I'll see whether I can reproduce the crash using your settings on 7.1.

@TomiOhl
Copy link
Contributor Author

TomiOhl commented Jul 4, 2024

Set the env and also got the output of t a a bt:

Output
Starting program: /usr/bin/io.elementary.code 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff2958640 (LWP 24175)]
[New Thread 0x7ffff2157640 (LWP 24176)]
[New Thread 0x7ffff18cd640 (LWP 24177)]
[New Thread 0x7ffff0eb5640 (LWP 24179)]
[Thread 0x7ffff0eb5640 (LWP 24179) exited]
[New Thread 0x7ffff0eb5640 (LWP 24180)]
[New Thread 0x7fffe93ff640 (LWP 24181)]
[Thread 0x7ffff0eb5640 (LWP 24180) exited]
[New Thread 0x7ffff0eb5640 (LWP 24182)]
[New Thread 0x7fffe8bfe640 (LWP 24183)]
[Thread 0x7fffe93ff640 (LWP 24181) exited]
[Thread 0x7ffff0eb5640 (LWP 24182) exited]
[Thread 0x7fffe8bfe640 (LWP 24183) exited]
[New Thread 0x7fffe8bfe640 (LWP 24184)]
[New Thread 0x7ffff0eb5640 (LWP 24185)]
[New Thread 0x7fffe93ff640 (LWP 24186)]
[Detaching after fork from child process 24188]
[New Thread 0x7fffd73ff640 (LWP 24200)]
[New Thread 0x7fffd6bfe640 (LWP 24201)]
[Thread 0x7fffd73ff640 (LWP 24200) exited]
[Thread 0x7fffd6bfe640 (LWP 24201) exited]
[New Thread 0x7fffd6bfe640 (LWP 24202)]
[New Thread 0x7fffd73ff640 (LWP 24203)]
[Thread 0x7fffd6bfe640 (LWP 24202) exited]
[Thread 0x7fffd73ff640 (LWP 24203) exited]
[New Thread 0x7fffd73ff640 (LWP 24204)]
[New Thread 0x7fffd6bfe640 (LWP 24205)]
[Thread 0x7fffd73ff640 (LWP 24204) exited]
[New Thread 0x7fffd73ff640 (LWP 24206)]
[New Thread 0x7fffd63fd640 (LWP 24207)]
[Thread 0x7fffd6bfe640 (LWP 24205) exited]
[Thread 0x7fffd73ff640 (LWP 24206) exited]
[Thread 0x7fffd63fd640 (LWP 24207) exited]
[New Thread 0x7fffd63fd640 (LWP 24208)]
[New Thread 0x7fffd73ff640 (LWP 24209)]
[Thread 0x7fffd63fd640 (LWP 24208) exited]
[New Thread 0x7fffd63fd640 (LWP 24210)]
[New Thread 0x7fffd6bfe640 (LWP 24211)]
[Thread 0x7fffd73ff640 (LWP 24209) exited]
[Thread 0x7fffd63fd640 (LWP 24210) exited]
[Thread 0x7fffd6bfe640 (LWP 24211) exited]
[New Thread 0x7fffd6bfe640 (LWP 24212)]
[New Thread 0x7fffd63fd640 (LWP 24213)]
[Thread 0x7fffd6bfe640 (LWP 24212) exited]
[New Thread 0x7fffd6bfe640 (LWP 24214)]
[New Thread 0x7fffd73ff640 (LWP 24215)]
[Thread 0x7fffd63fd640 (LWP 24213) exited]
[Thread 0x7fffd6bfe640 (LWP 24214) exited]
[New Thread 0x7fffd6bfe640 (LWP 24216)]
[New Thread 0x7fffd63fd640 (LWP 24217)]
[Thread 0x7fffd73ff640 (LWP 24215) exited]
[Thread 0x7fffd6bfe640 (LWP 24216) exited]
[New Thread 0x7fffd6bfe640 (LWP 24218)]
[New Thread 0x7fffd73ff640 (LWP 24219)]
[Thread 0x7fffd63fd640 (LWP 24217) exited]
[Thread 0x7fffd6bfe640 (LWP 24218) exited]
[New Thread 0x7fffd6bfe640 (LWP 24220)]
[New Thread 0x7fffd63fd640 (LWP 24221)]
[Thread 0x7fffd73ff640 (LWP 24219) exited]
[Thread 0x7fffd6bfe640 (LWP 24220) exited]
[New Thread 0x7fffd6bfe640 (LWP 24222)]
[New Thread 0x7fffd73ff640 (LWP 24223)]
[Thread 0x7fffd63fd640 (LWP 24221) exited]
[Thread 0x7fffd6bfe640 (LWP 24222) exited]
[Thread 0x7fffd73ff640 (LWP 24223) exited]
[New Thread 0x7fffd73ff640 (LWP 24224)]
[New Thread 0x7fffd6bfe640 (LWP 24225)]
[Thread 0x7fffd73ff640 (LWP 24224) exited]
[Thread 0x7fffd6bfe640 (LWP 24225) exited]
[New Thread 0x7fffd73ff640 (LWP 24226)]
[New Thread 0x7fffd6bfe640 (LWP 24227)]
[Thread 0x7fffd73ff640 (LWP 24226) exited]
[New Thread 0x7fffd73ff640 (LWP 24228)]
[New Thread 0x7fffd63fd640 (LWP 24229)]
[Thread 0x7fffd6bfe640 (LWP 24227) exited]
[Thread 0x7fffd73ff640 (LWP 24228) exited]
[New Thread 0x7fffd73ff640 (LWP 24230)]
[New Thread 0x7fffd6bfe640 (LWP 24231)]
[Thread 0x7fffd63fd640 (LWP 24229) exited]
[Thread 0x7fffd73ff640 (LWP 24230) exited]
[Thread 0x7fffd6bfe640 (LWP 24231) exited]
[New Thread 0x7fffd6bfe640 (LWP 24232)]
[New Thread 0x7fffd73ff640 (LWP 24233)]
[Thread 0x7fffd6bfe640 (LWP 24232) exited]
[New Thread 0x7fffd6bfe640 (LWP 24234)]
[New Thread 0x7fffd63fd640 (LWP 24235)]
[Thread 0x7fffd73ff640 (LWP 24233) exited]
[Thread 0x7fffd6bfe640 (LWP 24234) exited]
[Thread 0x7fffd63fd640 (LWP 24235) exited]
[Thread 0x7fffe93ff640 (LWP 24186) exited]
[Thread 0x7ffff0eb5640 (LWP 24185) exited]

Thread 1 "io.elementary.c" received signal SIGSEGV, Segmentation fault.
0x00007ffff6fbdefb in ?? () from /lib/x86_64-linux-gnu/libgtksourceview-4.so.0
(gdb) t a a bt

Thread 10 (Thread 0x7fffe8bfe640 (LWP 24184) "pool-io.element"):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff7f140ac in g_cond_wait_until () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7e943e1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7e94566 in g_async_queue_timeout_pop () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff7ef67b9 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff7ef3ab1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff6a94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7  0x00007ffff6b26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7ffff18cd640 (LWP 24177) "gdbus"):
#0  0x00007ffff6b18bcf in __GI___poll (fds=0x7fffe4017390, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff7f1a256 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7ec42b3 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7daa81a in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff7ef3ab1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6a94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007ffff6b26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7ffff2157640 (LWP 24176) "dconf worker"):
#0  0x00007ffff6b18bcf in __GI___poll (fds=0x555555638b80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff7f1a256 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7ec23e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff29a533d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff7ef3ab1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6a94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007ffff6b26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ffff2958640 (LWP 24175) "gmain"):
#0  0x00007ffff6b18bcf in __GI___poll (fds=0x555555636f00, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff7f1a256 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7ec23e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff7ec2431 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff7ef3ab1 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff6a94ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6  0x00007ffff6b26850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ffff29d8cc0 (LWP 24170) "io.elementary.c"):
#0  0x00007ffff6fbdefb in  () at /lib/x86_64-linux-gnu/libgtksourceview-4.so.0
#1  0x00007ffff7ec4c44 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7f1a2b8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--c
#3  0x00007ffff7ec23e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff7d75fb5 in g_application_run () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x0000555555579c25 in main ()

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 5, 2024

Another thing that may give a clue is to disable extensions, especially the non-default ones to see whether the problem persists.

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 5, 2024

Also give the exact keystrokes that produce the crash and any other features such as whether there are highlighted words and what you did immediately prior to the crash.

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 5, 2024

Just reproduced the crash! Needs using BackSpace - deleting with Enter or <Ctrl>X or <Ctrl>K works OK.

Hmm, now I cannot reproduce it again ☹️

@TomiOhl
Copy link
Contributor Author

TomiOhl commented Jul 5, 2024

Yes, I always select either via the mouse or via Shift + arrows and always use backspace to delete.
Sometimes there are highlighted words, sometimes there aren't when it happens, so I can't confirm if it's related to that feature.
Sometimes it happens as soon as I open the file and do my first deletion. Sometimes it only comes after many deletions.
I can provide a screen recording tomorrow with keystrokes if that helps - although now that you could reproduce the crash at least once it might not be needed

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 5, 2024

OK, I can reproduce it reasonable consistently now by repeating <Shift><Down> followed by BackSpace until it crashes. It seems to be associated with the "Highlight Selection" plugin.

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 5, 2024

@TomiOhl If you are able to try out the PR #1447 to see whether it fixes the issue for you that would be helpful but dont worry if you cannot.

@jeremypw
Copy link
Collaborator

jeremypw commented Jul 5, 2024

Note you would need to install the PR after building it as it modifies a plugin.

@davidak
Copy link

davidak commented Sep 17, 2024

I can't reproduce the original crash. Is there a sample file you can provide that reliably crashes?

@danirabbit i also noticed this issue and can reproduce it consistently with:

  1. Open Code
  2. New Tab
  3. Paste this Text
this is a test
this is also a test
  1. doable click on the word "test" to select it. the other one is highlighted as well
  2. delete the word by hitting backspace
  3. crash 💥

Backtrace:

[davidak@gaming:~]$ gdb io.elementary.code
GNU gdb (GDB) 14.2
...
(gdb) run
Starting program: /nix/store/sz0hxlihpicjwz8i2xwjx4g5kcxrnc7f-system-path/bin/io.elementary.code 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/r8qsxm85rlxzdac7988psm7gimg4dl3q-glibc-2.39-52/lib/libthread_db.so.1".
process 692665 is executing new program: /nix/store/b98bfb01galyw2126k3zg69z7lb58j34-elementary-code-7.2.0/bin/.io.elementary.code-wrapped
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/r8qsxm85rlxzdac7988psm7gimg4dl3q-glibc-2.39-52/lib/libthread_db.so.1".
[New Thread 0x7ffff22006c0 (LWP 692671)]
[New Thread 0x7fffe98006c0 (LWP 692672)]
[New Thread 0x7ffff18006c0 (LWP 692673)]
[New Thread 0x7ffff0a006c0 (LWP 692674)]
[New Thread 0x7fffebe006c0 (LWP 692676)]
[New Thread 0x7fffe8e006c0 (LWP 692677)]
[Detaching after fork from child process 692678]
[New Thread 0x7fffe0c006c0 (LWP 692683)]
[New Thread 0x7fffd54006c0 (LWP 692684)]
[Thread 0x7fffe0c006c0 (LWP 692683) exited]
[New Thread 0x7fffe0c006c0 (LWP 692688)]
[New Thread 0x7fffd4a006c0 (LWP 692689)]
[New Thread 0x7fffcbe006c0 (LWP 692690)]
[Thread 0x7fffcbe006c0 (LWP 692690) exited]
[Thread 0x7fffe8e006c0 (LWP 692677) exited]
[Thread 0x7fffd4a006c0 (LWP 692689) exited]

Thread 1 ".io.elementary." received signal SIGSEGV, Segmentation fault.
0x00007ffff6ffa37b in _gtk_source_search_context_update_highlight ()
   from /nix/store/gi44fbrnmmb2g60zl5slxzv045pcnj9g-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
(gdb) bt
#0  0x00007ffff6ffa37b in _gtk_source_search_context_update_highlight ()
   from /nix/store/gi44fbrnmmb2g60zl5slxzv045pcnj9g-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
#1  0x00007ffff6fd4271 in _gtk_source_buffer_update_search_highlight ()
   from /nix/store/gi44fbrnmmb2g60zl5slxzv045pcnj9g-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
#2  0x00007ffff700aa6d in gtk_source_view_draw_layer () from /nix/store/gi44fbrnmmb2g60zl5slxzv045pcnj9g-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
#3  0x00007ffff74f51ab in draw_text (cr=0xaa27e0, user_data=0x19c9bd0) at ../gtk/gtktextview.c:5959
#4  0x00007ffff74fbb25 in gtk_text_view_draw (widget=0x19c9bd0, cr=0xaa27e0) at ../gtk/gtktextview.c:6053
#5  0x00007ffff7007897 in gtk_source_view_draw () from /nix/store/gi44fbrnmmb2g60zl5slxzv045pcnj9g-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
#6  0x00007ffff6febb45 in gtk_source_map_draw () from /nix/store/gi44fbrnmmb2g60zl5slxzv045pcnj9g-gtksourceview-4.8.4/lib/libgtksourceview-4.so.0
#7  0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x19c9bd0, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#8  0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x19c9bd0, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#9  0x00007ffff7327bac in gtk_container_draw (widget=0x19aa6c0, cr=cr@entry=0xaa27e0) at ../gtk/gtkcontainer.c:3674
#10 0x00007ffff73c1bf4 in gtk_grid_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkgrid.c:1711
#11 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#12 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0x19d0010, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#13 0x00007ffff73c2cb1 in gtk_grid_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkgrid.c:1720
#14 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x19aa6c0, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#15 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x19aa6c0, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#16 0x00007ffff7439d7e in gtk_paned_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkpaned.c:1818
#17 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
--Type <RET> for more, q to quit, c to continue without paging--
#18 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0x19fddf0, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#19 0x00007ffff7439c11 in gtk_paned_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkpaned.c:1782
#20 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x19fdd50, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#21 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x19fdd50, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#22 0x00007ffff7327bac in gtk_container_draw (widget=0x19aa9d0, cr=cr@entry=0xaa27e0) at ../gtk/gtkcontainer.c:3674
#23 0x00007ffff73c1bf4 in gtk_grid_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkgrid.c:1711
#24 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#25 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0x19aa870, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#26 0x00007ffff73c2cb1 in gtk_grid_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkgrid.c:1720
#27 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x19aa9d0, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#28 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x19aa9d0, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#29 0x00007ffff74ab54b in gtk_stack_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkstack.c:2207
#30 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#31 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0x1996df0, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#32 0x00007ffff74ad0a5 in gtk_stack_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkstack.c:2119
#33 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x19984c0, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#34 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x19984c0, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#35 0x00007ffff7327bac in gtk_container_draw (widget=0x1971420, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3674
#36 0x00007ffff738295a in gtk_event_box_draw (widget=0x1971420, cr=0xaa27e0) at ../gtk/gtkeventbox.c:619
--Type <RET> for more, q to quit, c to continue without paging--
#37 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x1971420, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#38 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x1971420, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#39 0x00007ffff742c4ca in gtk_notebook_draw_stack (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, unused=0x0) at ../gtk/gtknotebook.c:2545
#40 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#41 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0x9c7580, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#42 0x00007ffff72dbd96 in gtk_box_gadget_draw (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkboxgadget.c:511
#43 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0x9c7450, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#44 0x00007ffff742b0cc in gtk_notebook_draw (widget=<optimized out>, cr=0xaa27e0) at ../gtk/gtknotebook.c:2560
#45 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x9c70b0, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#46 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x9c70b0, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#47 0x00007ffff7327bac in gtk_container_draw (widget=0x9c6d20, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3674
#48 0x00007ffff738295a in gtk_event_box_draw (widget=0x9c6d20, cr=0xaa27e0) at ../gtk/gtkeventbox.c:619
#49 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x9c6d20, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#50 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x9c6d20, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#51 0x00007ffff7327bac in gtk_container_draw (widget=0xa98d40, cr=cr@entry=0xaa27e0) at ../gtk/gtkcontainer.c:3674
#52 0x00007ffff73c1bf4 in gtk_grid_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkgrid.c:1711
#53 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#54 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0xab34b0, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
--Type <RET> for more, q to quit, c to continue without paging--
#55 0x00007ffff73c2cb1 in gtk_grid_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkgrid.c:1720
#56 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0xa98d40, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#57 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0xa98d40, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#58 0x00007ffff74ab54b in gtk_stack_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkstack.c:2207
#59 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#60 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0xa8bb00, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#61 0x00007ffff74ad0a5 in gtk_stack_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkstack.c:2119
#62 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0xacad50, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#63 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0xacad50, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#64 0x00007ffff7439d7e in gtk_paned_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkpaned.c:1818
#65 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#66 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0xb83f60, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#67 0x00007ffff7439c11 in gtk_paned_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkpaned.c:1782
#68 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0xb9dc60, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#69 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0xb9dc60, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#70 0x00007ffff7327bac in gtk_container_draw (widget=0xac0c90, cr=cr@entry=0xaa27e0) at ../gtk/gtkcontainer.c:3674
#71 0x00007ffff72d7c64 in gtk_box_draw_contents (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, unused=0x0) at ../gtk/gtkbox.c:453
#72 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
--Type <RET> for more, q to quit, c to continue without paging--
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#73 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0xac3720, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#74 0x00007ffff72d90d1 in gtk_box_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkbox.c:462
#75 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0xac0c90, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#76 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0xac0c90, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#77 0x00007ffff7439e1e in gtk_paned_render (gadget=<optimized out>, cr=0xaa27e0, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>, data=0x0) at ../gtk/gtkpaned.c:1832
#78 0x00007ffff732dbbd in gtk_css_custom_gadget_draw (gadget=<optimized out>, cr=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, 
    height=<optimized out>) at ../gtk/gtkcsscustomgadget.c:159
#79 0x00007ffff7333bff in gtk_css_gadget_draw (gadget=0xbd1070, cr=0xaa27e0) at ../gtk/gtkcssgadget.c:885
#80 0x00007ffff7439c11 in gtk_paned_draw (widget=<optimized out>, cr=<optimized out>) at ../gtk/gtkpaned.c:1782
#81 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0xb8b260, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#82 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0xb8b260, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#83 0x00007ffff70af514 in hdy_stackable_box_draw () from /nix/store/24i9707dp4yridz22lqzbwl5m6rma2l5-libhandy-1.8.3/lib/libhandy-1.so.0
#84 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x6578e0, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#85 0x00007ffff7327aa1 in gtk_container_propagate_draw (container=<optimized out>, child=0x6578e0, cr=0xaa27e0) at ../gtk/gtkcontainer.c:3854
#86 0x00007ffff70bd05a in hdy_window_mixin_draw () from /nix/store/24i9707dp4yridz22lqzbwl5m6rma2l5-libhandy-1.8.3/lib/libhandy-1.so.0
#87 0x00007ffff755d414 in gtk_widget_draw_internal (widget=widget@entry=0x5de210, cr=cr@entry=0xaa27e0, clip_to_size=clip_to_size@entry=1)
    at ../gtk/gtkwidget.c:7084
#88 0x00007ffff7566920 in gtk_widget_render (widget=0x5de210, window=0xd3a540, region=<optimized out>) at ../gtk/gtkwidget.c:17610
#89 0x00007ffff74079bf in gtk_main_do_event (event=0x7fffffffabd0) at ../gtk/gtkmain.c:1844
#90 gtk_main_do_event (event=<optimized out>) at ../gtk/gtkmain.c:1691
#91 0x00007ffff7a85745 in _gdk_event_emit (event=event@entry=0x7fffffffabd0) at ../gdk/gdkevents.c:73
--Type <RET> for more, q to quit, c to continue without paging--
#92 0x00007ffff7a94689 in _gdk_window_process_updates_recurse_helper (window=0xd3a540, expose_region=<optimized out>) at ../gdk/gdkwindow.c:3874
#93 0x00007ffff7a96296 in gdk_window_process_updates_internal (window=window@entry=0xd3a540) at ../gdk/gdkwindow.c:4020
#94 0x00007ffff7a96497 in gdk_window_process_updates_with_mode (recurse_mode=<optimized out>, window=<optimized out>) at ../gdk/gdkwindow.c:4215
#95 gdk_window_process_updates_with_mode (window=<optimized out>, recurse_mode=<optimized out>) at ../gdk/gdkwindow.c:4186
#96 0x00007ffff7c38861 in _g_closure_invoke_va (closure=0xd27740, return_value=0x0, instance=0xd65e00, args=0x7fffffffaf60, n_params=0, param_types=0x0)
    at ../gobject/gclosure.c:897
#97 0x00007ffff7c4e69c in signal_emit_valist_unlocked (instance=instance@entry=0xd65e00, signal_id=signal_id@entry=58, detail=detail@entry=0, 
    var_args=var_args@entry=0x7fffffffaf60) at ../gobject/gsignal.c:3424
#98 0x00007ffff7c542c2 in g_signal_emit_valist (instance=0xd65e00, signal_id=58, detail=0, var_args=0x7fffffffaf60) at ../gobject/gsignal.c:3263
#99 0x00007ffff7c5436f in g_signal_emit (instance=instance@entry=0xd65e00, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3583
#100 0x00007ffff7a8de4f in _gdk_frame_clock_emit_paint (frame_clock=frame_clock@entry=0xd65e00) at ../gdk/gdkframeclock.c:657
#101 0x00007ffff7a8ea8f in gdk_frame_clock_paint_idle (data=0xd65e00) at ../gdk/gdkframeclockidle.c:597
#102 0x00007ffff7a7ab37 in gdk_threads_dispatch (data=0x1d55cf0, data@entry=<error reading variable: value has been optimized out>) at ../gdk/gdk.c:769
#103 0x00007ffff7ed4c7a in g_timeout_dispatch (source=0x21883d0, callback=<optimized out>, user_data=<optimized out>) at ../glib/gmain.c:4989
#104 0x00007ffff7ed0e39 in g_main_dispatch (context=context@entry=0x4e7a80) at ../glib/gmain.c:3344
#105 0x00007ffff7ed3fd7 in g_main_context_dispatch_unlocked (context=0x4e7a80) at ../glib/gmain.c:4152
#106 g_main_context_iterate_unlocked (context=context@entry=0x4e7a80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/gmain.c:4217
#107 0x00007ffff7ed45cc in g_main_context_iteration (context=context@entry=0x4e7a80, may_block=may_block@entry=1) at ../glib/gmain.c:4282
#108 0x00007ffff7d6ed3d in g_application_run (application=0x4e43a0, argc=1, argv=<optimized out>) at ../gio/gapplication.c:2712
#109 0x0000000000422dfe in main ()

NixOS 24.05.4847.44a71ff39c18
elementary-code-7.2.0

@zeebok
Copy link
Contributor

zeebok commented Sep 17, 2024

I can reproduce if I have the highlight word selection extension active on both OS7 and OS8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants