user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Rob Herring <robh@kernel.org>
To: meta@public-inbox.org
Subject: crash on git-fast-import
Date: Wed, 6 Mar 2024 09:44:45 -0600	[thread overview]
Message-ID: <CAL_JsqK7P4gjLPyvzxNEcYmxT4j6Ah5f3Pz1RqDHxmysTg3aEg@mail.gmail.com> (raw)

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

             reply	other threads:[~2024-03-06 15:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 15:44 Rob Herring [this message]
2024-03-08  3:20 ` crash on git-fast-import 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL_JsqK7P4gjLPyvzxNEcYmxT4j6Ah5f3Pz1RqDHxmysTg3aEg@mail.gmail.com \
    --to=robh@kernel.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

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).