code
code copied to clipboard
Code closes unexpectedly when updating po files
What Happened?
Updated the .pot and .po files in a project that was open in Code. The Code window closed.
Steps to Reproduce
- Open a project in Code with lots of of
.pofiles - Open at least one
.pofile - Change a translatable string (not essential?)
- Run the
-potand-update-pobuild targets - If Code does not close then repeat running
-update-po - After two or three times Code closes
Expected Behavior
Code should not close when running external functions that update (multiple) project files.
OS Version
7.x (Early Access)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
No response
Running Code in a terminal gave the message bus error io.elementary.code when Code closed.
Backtrace:
(gdb) bt
#0 0x00007ffff61ed2ca in () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#1 0x00007ffff61f021f in () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#2 0x00007ffff6297ee0 in () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#3 0x00007ffff623ac22 in () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#4 0x00007ffff623afdd in git_odb_hash () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#5 0x00007ffff6213ce2 in () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#6 0x00007ffff624721d in () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#7 0x00007ffff6251553 in () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#8 0x00007ffff6210d90 in git_diff_foreach () at /lib/x86_64-linux-gnu/libgit2.so.1.1
#9 0x00007ffff6f873ed in ggit_diff_foreach () at /lib/x86_64-linux-gnu/libgit2-glib-1.0.so.0
#10 0x0000555555596afe in scratch_services_monitored_repository_refresh_diff ()
#11 0x00005555555b0ed9 in ()
#12 0x00007ffff7eba2a8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff7eb9c24 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff7f0e6f8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff7eb73c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff7d6cc85 in g_application_run () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#17 0x0000555555573c45 in main ()
Looks like we may need to throttle refreshing the git diff?