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

Catalan #7

Closed
wants to merge 14 commits into from
Closed

Catalan #7

wants to merge 14 commits into from

Conversation

jordimas
Copy link

Thanks for taking the time to contribute to Git! Please be advised that the
Git community does not use github.com for their contributions. Instead, we use
a mailing list (git@vger.kernel.org) for code submissions, code reviews, and
bug reports. Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
to conveniently send your Pull Requests commits to our mailing list.

For a single-commit pull request, please leave the pull request description
empty
: your commit message itself should describe your changes.

Please read the "guidelines for contributing" linked above!

Copy link

github-actions bot commented Sep 25, 2024

Errors and warnings found by git-po-helper in workflow #217:

------------------------------------------------------------------------------
INFO [po/ca.po@8b25f20]	5771 translated messages. 
------------------------------------------------------------------------------
ERROR [po/ca.po@8b25f20]	Found file-location comments in po file. By submitting a location-less 
ERROR [po/ca.po@8b25f20]	"po/XX.po" file, the size of the Git repository can be greatly reduced. 
ERROR [po/ca.po@8b25f20]	See the discussion below: 
ERROR [po/ca.po@8b25f20]                           
ERROR [po/ca.po@8b25f20]	    https://lore.kernel.org/git/20220504124121.12683-1-worldhello.net@gmail.com/ 
ERROR [po/ca.po@8b25f20]                           
ERROR [po/ca.po@8b25f20]	As how to commit a location-less "po/XX.po" file, See: 
ERROR [po/ca.po@8b25f20]                           
ERROR [po/ca.po@8b25f20]	    the [Updating a "XX.po" file] section in "po/README.md" 
------------------------------------------------------------------------------
ERROR commit 8b25f20: subject ("a change ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 8b25f20: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@7ea74ff]	5771 translated messages. 
------------------------------------------------------------------------------
ERROR [po/ca.po@7ea74ff]	Found file-location comments in po file. By submitting a location-less 
ERROR [po/ca.po@7ea74ff]	"po/XX.po" file, the size of the Git repository can be greatly reduced. 
ERROR [po/ca.po@7ea74ff]	See the discussion below: 
ERROR [po/ca.po@7ea74ff]                           
ERROR [po/ca.po@7ea74ff]	    https://lore.kernel.org/git/20220504124121.12683-1-worldhello.net@gmail.com/ 
ERROR [po/ca.po@7ea74ff]                           
ERROR [po/ca.po@7ea74ff]	As how to commit a location-less "po/XX.po" file, See: 
ERROR [po/ca.po@7ea74ff]                           
ERROR [po/ca.po@7ea74ff]	    the [Updating a "XX.po" file] section in "po/README.md" 
------------------------------------------------------------------------------
ERROR commit 7ea74ff: subject ("two errors ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 7ea74ff: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@8439630]	5771 translated messages. 
------------------------------------------------------------------------------
ERROR [po/ca.po@8439630]	Found file-location comments in po file. By submitting a location-less 
ERROR [po/ca.po@8439630]	"po/XX.po" file, the size of the Git repository can be greatly reduced. 
ERROR [po/ca.po@8439630]	See the discussion below: 
ERROR [po/ca.po@8439630]                           
ERROR [po/ca.po@8439630]	    https://lore.kernel.org/git/20220504124121.12683-1-worldhello.net@gmail.com/ 
ERROR [po/ca.po@8439630]                           
ERROR [po/ca.po@8439630]	As how to commit a location-less "po/XX.po" file, See: 
ERROR [po/ca.po@8439630]                           
ERROR [po/ca.po@8439630]	    the [Updating a "XX.po" file] section in "po/README.md" 
------------------------------------------------------------------------------
WARNING [po/ca.po@8439630]	mismatched patterns: --f  
WARNING [po/ca.po@8439630]	>> msgid: Use -f if you really want to add them. 
WARNING [po/ca.po@8439630]	>> msgstr: "Useu --f si realment voleu afegir-los. 
WARNING [po/ca.po@8439630]                           
WARNING [po/ca.po@8439630]	mismatched patterns: --etiquetes, --tags 
WARNING [po/ca.po@8439630]	>> msgid: only show branches (can be combined with --tags) 
WARNING [po/ca.po@8439630]	>> msgstr: mostra només les branques (es pot combinar amb --etiquetes) 
WARNING [po/ca.po@8439630]                           
------------------------------------------------------------------------------
ERROR commit 8439630: subject ("a message ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 8439630: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@4889c6a]	5770 translated messages, 1 untranslated message. 
------------------------------------------------------------------------------
ERROR [po/ca.po@4889c6a]	Found file-location comments in po file. By submitting a location-less 
ERROR [po/ca.po@4889c6a]	"po/XX.po" file, the size of the Git repository can be greatly reduced. 
ERROR [po/ca.po@4889c6a]	See the discussion below: 
ERROR [po/ca.po@4889c6a]                           
ERROR [po/ca.po@4889c6a]	    https://lore.kernel.org/git/20220504124121.12683-1-worldhello.net@gmail.com/ 
ERROR [po/ca.po@4889c6a]                           
ERROR [po/ca.po@4889c6a]	As how to commit a location-less "po/XX.po" file, See: 
ERROR [po/ca.po@4889c6a]                           
ERROR [po/ca.po@4889c6a]	    the [Updating a "XX.po" file] section in "po/README.md" 
------------------------------------------------------------------------------
WARNING [po/ca.po@4889c6a]	mismatched patterns: --f  
WARNING [po/ca.po@4889c6a]	>> msgid: Use -f if you really want to add them. 
WARNING [po/ca.po@4889c6a]	>> msgstr: "Useu --f si realment voleu afegir-los. 
WARNING [po/ca.po@4889c6a]                           
WARNING [po/ca.po@4889c6a]	mismatched patterns: --etiquetes, --tags 
WARNING [po/ca.po@4889c6a]	>> msgid: only show branches (can be combined with --tags) 
WARNING [po/ca.po@4889c6a]	>> msgstr: mostra només les branques (es pot combinar amb --etiquetes) 
WARNING [po/ca.po@4889c6a]                           
------------------------------------------------------------------------------
ERROR commit 4889c6a: subject ("al dia") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 4889c6a: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
ERROR commit dd7a751: empty body of the commit message, set merge.log=true 
------------------------------------------------------------------------------
INFO [po/ca.po@f4f991e]	5734 translated messages. 
------------------------------------------------------------------------------
ERROR [po/ca.po@f4f991e]	Found file-location comments in po file. By submitting a location-less 
ERROR [po/ca.po@f4f991e]	"po/XX.po" file, the size of the Git repository can be greatly reduced. 
ERROR [po/ca.po@f4f991e]	See the discussion below: 
ERROR [po/ca.po@f4f991e]                           
ERROR [po/ca.po@f4f991e]	    https://lore.kernel.org/git/20220504124121.12683-1-worldhello.net@gmail.com/ 
ERROR [po/ca.po@f4f991e]                           
ERROR [po/ca.po@f4f991e]	As how to commit a location-less "po/XX.po" file, See: 
ERROR [po/ca.po@f4f991e]                           
ERROR [po/ca.po@f4f991e]	    the [Updating a "XX.po" file] section in "po/README.md" 
------------------------------------------------------------------------------
WARNING [po/ca.po@f4f991e]	mismatched patterns: --f  
WARNING [po/ca.po@f4f991e]	>> msgid: Use -f if you really want to add them. 
WARNING [po/ca.po@f4f991e]	>> msgstr: "Useu --f si realment voleu afegir-los. 
WARNING [po/ca.po@f4f991e]                           
------------------------------------------------------------------------------
ERROR commit f4f991e: subject ("update catalan ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit f4f991e: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@1f463de]	5543 translated messages, 142 fuzzy translations, 49 untranslated messages. 
------------------------------------------------------------------------------
ERROR [po/ca.po@1f463de]	Found file-location comments in po file. By submitting a location-less 
ERROR [po/ca.po@1f463de]	"po/XX.po" file, the size of the Git repository can be greatly reduced. 
ERROR [po/ca.po@1f463de]	See the discussion below: 
ERROR [po/ca.po@1f463de]                           
ERROR [po/ca.po@1f463de]	    https://lore.kernel.org/git/20220504124121.12683-1-worldhello.net@gmail.com/ 
ERROR [po/ca.po@1f463de]                           
ERROR [po/ca.po@1f463de]	As how to commit a location-less "po/XX.po" file, See: 
ERROR [po/ca.po@1f463de]                           
ERROR [po/ca.po@1f463de]	    the [Updating a "XX.po" file] section in "po/README.md" 
------------------------------------------------------------------------------
ERROR commit 1f463de: subject ("Update to ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 1f463de: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@9a652f9]	5610 translated messages. 
------------------------------------------------------------------------------
ERROR commit 9a652f9: subject ("Fixes found ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 9a652f9: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@07162e4]	5610 translated messages. 
------------------------------------------------------------------------------
ERROR commit 07162e4: subject ("Fix una altra") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 07162e4: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@cc45d03]	5610 translated messages. 
------------------------------------------------------------------------------
ERROR commit cc45d03: subject ("Fixes from ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit cc45d03: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@5b407b6]	5610 translated messages. 
------------------------------------------------------------------------------
ERROR commit 5b407b6: subject ("Fix from ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 5b407b6: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
INFO [po/ca.po@52eaf8e]	5610 translated messages. 
------------------------------------------------------------------------------
ERROR commit 52eaf8e: subject ("Fixes from ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 52eaf8e: empty body of the commit message, no s-o-b signature 
------------------------------------------------------------------------------
ERROR commit 79c0628: empty body of the commit message, set merge.log=true 
------------------------------------------------------------------------------
INFO [po/ca.po@91a7d3b]	5610 translated messages. 
------------------------------------------------------------------------------
ERROR commit 91a7d3b: subject ("Feedback ...") does not have prefix "l10n:" 
------------------------------------------------------------------------------
ERROR commit 91a7d3b: empty body of the commit message, no s-o-b signature 
INFO checking commits: 0 passed, 14 failed.       
------------------------------------------------------------------------------
INFO downloading pot file from https://github.com/git-l10n/pot-changes/raw/pot/master/po/git.pot 

ERROR: fail to execute "git-po-helper check-commits"

mlforcada pushed a commit that referenced this pull request Sep 30, 2024
It was recently reported that concurrent reads and writes may cause the
reftable backend to segfault. The root cause of this is that we do not
properly keep track of reftable readers across reloads.

Suppose that you have a reftable iterator and then decide to reload the
stack while iterating through the iterator. When the stack has been
rewritten since we have created the iterator, then we would end up
discarding a subset of readers that may still be in use by the iterator.
The consequence is that we now try to reference deallocated memory,
which of course segfaults.

One way to trigger this is in t5616, where some background maintenance
jobs have been leaking from one test into another. This leads to stack
traces like the following one:

  + git -c protocol.version=0 -C pc1 fetch --filter=blob:limit=29999 --refetch origin
  AddressSanitizer:DEADLYSIGNAL
  =================================================================
  ==657994==ERROR: AddressSanitizer: SEGV on unknown address 0x7fa0f0ec6089 (pc 0x55f23e52ddf9 bp
0x7ffe7bfa1700 sp 0x7ffe7bfa1700 T0)
  ==657994==The signal is caused by a READ memory access.
      #0 0x55f23e52ddf9 in get_var_int reftable/record.c:29
      #1 0x55f23e53295e in reftable_decode_keylen reftable/record.c:170
      #2 0x55f23e532cc0 in reftable_decode_key reftable/record.c:194
      #3 0x55f23e54e72e in block_iter_next reftable/block.c:398
      #4 0x55f23e5573dc in table_iter_next_in_block reftable/reader.c:240
      #5 0x55f23e5573dc in table_iter_next reftable/reader.c:355
      #6 0x55f23e5573dc in table_iter_next reftable/reader.c:339
      #7 0x55f23e551283 in merged_iter_advance_subiter reftable/merged.c:69
      git-l10n#8 0x55f23e55169e in merged_iter_next_entry reftable/merged.c:123
      git-l10n#9 0x55f23e55169e in merged_iter_next_void reftable/merged.c:172
      git-l10n#10 0x55f23e537625 in reftable_iterator_next_ref reftable/generic.c:175
      git-l10n#11 0x55f23e2cf9c6 in reftable_ref_iterator_advance refs/reftable-backend.c:464
      git-l10n#12 0x55f23e2d996e in ref_iterator_advance refs/iterator.c:13
      git-l10n#13 0x55f23e2d996e in do_for_each_ref_iterator refs/iterator.c:452
      git-l10n#14 0x55f23dca6767 in get_ref_map builtin/fetch.c:623
      git-l10n#15 0x55f23dca6767 in do_fetch builtin/fetch.c:1659
      git-l10n#16 0x55f23dca6767 in fetch_one builtin/fetch.c:2133
      git-l10n#17 0x55f23dca6767 in cmd_fetch builtin/fetch.c:2432
      git-l10n#18 0x55f23dba7764 in run_builtin git.c:484
      git-l10n#19 0x55f23dba7764 in handle_builtin git.c:741
      git-l10n#20 0x55f23dbab61e in run_argv git.c:805
      git-l10n#21 0x55f23dbab61e in cmd_main git.c:1000
      git-l10n#22 0x55f23dba4781 in main common-main.c:64
      git-l10n#23 0x7fa0f063fc89 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
      git-l10n#24 0x7fa0f063fd44 in __libc_start_main_impl ../csu/libc-start.c:360
      git-l10n#25 0x55f23dba6ad0 in _start (git+0xadfad0) (BuildId: 803b2b7f59beb03d7849fb8294a8e2145dd4aa27)

While it is somewhat awkward that the maintenance processes survive
tests in the first place, it is totally expected that reftables should
work alright with concurrent writers. Seemingly they don't.

The only underlying resource that we need to care about in this context
is the reftable reader, which is responsible for reading a single table
from disk. These readers get discarded immediately (unless reused) when
calling `reftable_stack_reload()`, which is wrong. We can only close
them once we know that there are no iterators using them anymore.

Prepare for a fix by converting the reftable readers to be refcounted.

Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
@jordimas jordimas closed this Oct 5, 2024
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 this pull request may close these issues.

1 participant