From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 02FCC1F609 for ; Tue, 11 Jun 2019 15:33:56 +0000 (UTC) Received: by mail-io1-xd33.google.com with SMTP id u19so10240667ior.9 for ; Tue, 11 Jun 2019 08:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vtBwLUtWs2X2Yh86/1yueuOzbGGYU2xeoxaUWVI9aD0=; b=dhHkm7Q23/pNS34Hwfqsf/E30PQl8VpS5+dIa8lsURb4DOrXmpNj82NQP+H6hEdnyC u6Vy302RuHTk6hxuxog0GnYf4CPLs5weXh6PmW4WHsxM4iKPwEdtNuBiLNtm4WrlpnG3 8xB4oaveY1JMxSPevlnkP1tsq2Knf6PzMYjrc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vtBwLUtWs2X2Yh86/1yueuOzbGGYU2xeoxaUWVI9aD0=; b=jC/rAMfEaoS5dkpEAr+DpsRnRQULQqSFYcnSUveaAF1hhgQVks90u4fy6vx6GUIFW1 HcX6Jjt5lre+Zi1VBJzPPSFYmswQEew4S2kdMfZ3eFlOPCJ5xTDH4N1AEvjnGG3MV7sr ci5zW0ShEoq4MktSjAQ/R+8fDl+Z4xge5tf1aFuN3dLk0BubGxWR//VodTieDMHPDJe4 UW9oQIHzsHFm8jewpNpJ9LqGW1faTYxyQpCQPOEcbwDPExWrXz9QfRj/MRglBoKGXawo egjrr8W4ZhVIiOytKvYYiQarJq8V2KwP899yUb4rZwVq7CUN/d0uM1kQxWHyU4rW1DEQ SmTw== X-Gm-Message-State: APjAAAW35miYe3xvXKgp134xkPMR8yZ8O3Oxdqm/LZs+BszgBJuRQABO Pjs4N6H7M6Ll41SZ2lG2EnVh/YcdDK3sFw== X-Google-Smtp-Source: APXvYqyc9kPZQWL+59YSjEQzlLzx7/skhZJ9iIJJuw9llnLP8sNmKMHMwb/l/QV2RufhHhWE1tXz4Q== X-Received: by 2002:a05:6602:50:: with SMTP id z16mr873337ioz.302.1560267234725; Tue, 11 Jun 2019 08:33:54 -0700 (PDT) Received: from chatter.i7.local (192-0-228-88.cpe.teksavvy.com. [192.0.228.88]) by smtp.gmail.com with ESMTPSA id i80sm1387881ita.38.2019.06.11.08.33.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 11 Jun 2019 08:33:53 -0700 (PDT) Date: Tue, 11 Jun 2019 11:33:51 -0400 From: Konstantin Ryabitsev To: Eric Wong Cc: meta@public-inbox.org Subject: Re: [WIP] add more debug tracing around idx_init Message-ID: <20190611153351.GB576@chatter.i7.local> References: <20190609025147.24966-1-e@80x24.org> <20190610150647.GA16418@chatter.i7.local> <20190610154058.jqaawkktvb5u2itj@dcvr> <20190610185730.GC16418@chatter.i7.local> <20190610192905.55xb737jl7qnbh23@dcvr> <20190610194039.GD16418@chatter.i7.local> <20190610220320.nssvqjseswo2ujl2@dcvr> <20190610221335.GA576@chatter.i7.local> <20190610231219.xo7lrqfjrqvcvpd7@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <20190610231219.xo7lrqfjrqvcvpd7@dcvr> User-Agent: Mutt/1.11.4 (2019-03-13) List-Id: On Mon, Jun 10, 2019 at 11:12:20PM +0000, Eric Wong wrote: >Somewhere and get more deep into it w/o tracing mutt. >I use the MAIL_EDITOR env, in tests, but am kinda hesitant to >document/support it forever; but for now, you can use something >like: > > MAIL_EDITOR="perl -i -p -e 's/^Subject:/Foo:/'" I just change a single letter in vi, which is sufficient for the tests. >Subject: [WIP] add more debug tracing around idx_init Here's a few more lines of output: Will use vi to edit mail counting partitions at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 48. nparts=14 at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 62. expect_oid: 8f5ea3f1210f998f26a8c67c75b3a9042a338e11 at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 543. idx_init at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 369. cleaning read-only elements at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 260. preparing lock at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 278. creating ->over at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 283. counting partitions at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 48. nparts=14 at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 62. preparing SearchIdxParts at /home/mricon/perl5lib//PublicInbox/V2Writable.pm line 296. Exception: Expected block 102325 to be level 2, not 0 Hope this helps. Let me know if you do want me to run strace. Best, -K