unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* crash on git-fast-import
@ 2024-03-06 15:44 Rob Herring
  2024-03-08  3:20 ` Eric Wong
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Herring @ 2024-03-06 15:44 UTC (permalink / raw)
  To: meta

Hi,

lei started crashing on me today in git-fast-import. Nothing changed
on my system that I'm aware of. At first, I thought something stale
was lingering after my GNOME session died yesterday. I've since
rebooted and wiped out ~/.local/share/lei/store, but the issue
remains. I'm running commit e7c8ab553ee2 ("eml: reuse ->decode
buffer").

Here's an example:

$ lei up ~/Mail/from-me/
# https://lore.kernel.org/all/ limiting to 2024-01-21 16:33 -0600 and newer
# /home/rob/.local/share/lei/store 0/0
# /usr/bin/curl -gSf -s -d ''
https://lore.kernel.org/all/?x=m&t=1&q=(dt%3A20240206145113..+AND+(f%3Arobh%40kernel.org+OR+f%3Arobh%2Bdt%40kernel.org)+AND+NOT+(nq%3AAcked-by+OR+nq%3AReviewed-by))+AND+dt%3A20240121223337..
fatal: Expected committer but didn't get one
fast-import: dumping crash report to
/home/rob/.local/share/lei/store/local/0.git/fast_import_crash_99633
E: import done: write to fast-import failed: Illegal seek at
/home/rob/proj/public-inbox/lib/PublicInbox/Import.pm line 88, <$fh>
line 2.

2024-03-06T14:51:14Z 99572 waitpid(99633) => -1 (No child processes)
at /home/rob/proj/public-inbox/lib/PublicInbox/IO.pm line 61.
99598 lei_xsearch 0 wq_worker: query_remote_mboxrd: E: write to
fast-import failed: Broken pipe at
/home/rob/proj/public-inbox/lib/PublicInbox/Import.pm line 88, <$fh>
line 2.
# 0 written to /home/rob/Mail/from-me/ (0 matches, 1 duplicates)


If the output is json, it works:

$ lei q -I https://lore.kernel.org/all/ 'f:robh d:1.day.ago..' > /dev/null
# /usr/bin/curl -gSf -s -d ''
https://lore.kernel.org/all/?x=m&q=f%3Arobh+dt%3A20240305154252..


Any ideas or tips for debugging this?

Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-10 21:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 15:44 crash on git-fast-import Rob Herring
2024-03-08  3:20 ` Eric Wong
2024-03-08 14:38   ` Rob Herring
2024-03-10 21:15     ` Eric Wong
2024-03-10 21:41       ` [PATCH] import: fix handling of init.defaultBranch Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).