From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 803FE1F44D for ; Wed, 6 Mar 2024 15:45:03 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=J8rY1r3A; dkim-atps=neutral Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 42D2ECE10C8 for ; Wed, 6 Mar 2024 15:45:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82A67C433C7 for ; Wed, 6 Mar 2024 15:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709739900; bh=QmKL0tdgWQBNMMY5y8drJnTPkaUAvDFrSDqwpwMCmzw=; h=From:Date:Subject:To:From; b=J8rY1r3ATmrOxRm6Jtdm9+Yom9ijXZaQBkdyyUGlw5b79TeqZQJlpkj0cLdVqdrXt A/gv6GP4GWX6pYph/Nl2BinuCDSKwtv4OPYPX9B+1BQteR9pFSrBeb1qgYFTvQ2AfY Wqmj59lXPr8+Ea5r+4HyAMc2WRtN4E2KiqsRT3OINYcDM2a7IlXQ56oUhacrbJUR3w 6DQPs6JqqR+1u/g7XzLwl7Sea7Gw/sjUkhboy5QXYNi3a14pijOMGG29wMLrxhRefo LKYiL3RkbTWF76v9BCcMaySNqc72QrDjRV4zhjN0lR0CpWcWzTGY9icmTyVnvAiImO oAFdG8w1A6C+w== Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2d27184197cso97553681fa.1 for ; Wed, 06 Mar 2024 07:45:00 -0800 (PST) X-Gm-Message-State: AOJu0Yyu4cF62zlJbTLOU0rfpth3rF2P0Uw690f5wQ5PGbCzQ+aiHGCy InTmPI8JR/QayRoklrtufdEIeTZnBcdXYFZnOvuKXTRO/XoGmq/8i/wsQE7bV5y7ly0OhsbpGZ4 Vs6wiwZ+tfcM1xn9uUGDz9S9nsQ== X-Google-Smtp-Source: AGHT+IGRNptXd4OrNmaqMUi2Vw+Qn9mheOakEALBNvGqBt9aT22PaJkhu7dnts/8B6TNmpgIol+ip48BCVrKV3dyrjE= X-Received: by 2002:a05:651c:695:b0:2d2:2dbb:389e with SMTP id x21-20020a05651c069500b002d22dbb389emr3184304ljb.23.1709739898002; Wed, 06 Mar 2024 07:44:58 -0800 (PST) MIME-Version: 1.0 From: Rob Herring Date: Wed, 6 Mar 2024 09:44:45 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: crash on git-fast-import To: meta@public-inbox.org Content-Type: text/plain; charset="UTF-8" List-Id: 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