From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.92.18 with SMTP id p18cs277361agb; Wed, 7 Oct 2009 15:46:53 -0700 (PDT) Received: by 10.224.93.74 with SMTP id u10mr518213qam.327.1254955613207; Wed, 07 Oct 2009 15:46:53 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 17si11524067qyk.35.2009.10.07.15.46.53; Wed, 07 Oct 2009 15:46:53 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 207A91858268; Wed, 7 Oct 2009 18:46:52 -0400 (EDT) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by rubyforge.org (Postfix) with ESMTP id 29BAB1858203 for ; Wed, 7 Oct 2009 18:46:42 -0400 (EDT) Received: by qw-out-2122.google.com with SMTP id 3so32026qwe.29 for ; Wed, 07 Oct 2009 15:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:subject:from:to :in-reply-to:references:date:message-id:user-agent :content-transfer-encoding; bh=/sx1f+qCY47IdmUqXELvxz8/3Gq5xof5rX57vAUnWOY=; b=jt1get5aEuiRN5RKYdYmKu91N+IlBGzgGYSf889AuCjCUo4ojYl5nD/1/TWhXihjA3 3YdjFMnOw4gLO2IMBc6SmGvxbZgqOvbIZyKxg2ukhiu5OkDPOBOOwXQ6rmshQnfG+XEn y5F4+Ty4VVhlcgk127GgPpPIbP2VovwBijPgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; b=tVHlkFbQm8CXiWjQ2Ay3W3FjzYSDQpxPHVxHLhGVI8/ccwkMu8OX5RiscdRL/+WqRo KoUcbOiN2Nf5v/b6U4fQn+Vhlbem6W//rtgM7uvoWVmULYGQ9uOSQPv6DH1uaJwZ+u1U QzeH9K4lHLaSYC23ck+5Wd4HNTD/2UmAR8+Cw= Received: by 10.224.118.138 with SMTP id v10mr590269qaq.13.1254955601898; Wed, 07 Oct 2009 15:46:41 -0700 (PDT) Received: from localhost (physnat56.physics.umass.edu [128.119.50.56]) by mx.google.com with ESMTPS id 5sm1039768qwh.51.2009.10.07.15.46.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Oct 2009 15:46:41 -0700 (PDT) From: Ben Gamari To: sup-talk In-reply-to: <1254945119-sup-3401@ben-laptop> References: <1254844050-sup-4148@ben-laptop> <1254844166-sup-1028@ben-laptop> <1254845543-sup-9458@ben-laptop> <1254896214-sup-5969@zyrg.net> <1e5fdab70910070148s31a8a371u81182a13e72bea4c@mail.gmail.com> <1254945119-sup-3401@ben-laptop> Date: Wed, 07 Oct 2009 18:46:39 -0400 Message-Id: <1254955351-sup-5944@ben-laptop> User-Agent: Sup/git Subject: Re: [sup-talk] Crash while in thread-view-mode X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Excerpts from Ben Gamari's message of Wed Oct 07 15:56:43 -0400 2009: > After going through the process of rebuilding my index (again), things > seem to be more stable (for now). Well, this was true for a while. Unfortunately, it seems that my LKML label is yet again crashing sup. The exception is very similar to that which I experienced prior to rebuilding. It's quite reproducible, always crashing after loading a few hundred messages or so. There must be a better way to deal with these invalid ids than crashing. Is there any reason this needs to be a show-stopping event? Thanks, - Ben --- RuntimeError from thread: load threads for thread-index-mode wrong id called on nil /opt/exp/sup/lib/sup.rb:17:in `id' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update' /opt/exp/sup/lib/sup/hook.rb:121:in `sort_by' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `each' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `sort_by' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:225:in `update' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `synchronize' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:223:in `update' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:628:in `__unprotected_load_n_threads' /opt/exp/sup/lib/sup/thread.rb:334:in `load_n_threads' /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date' /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id' /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each' /opt/exp/sup/lib/sup/xapian_index.rb:110:in `each_id' /opt/exp/sup/lib/sup/xapian_index.rb:117:in `each_id_by_date' /opt/exp/sup/lib/sup/thread.rb:328:in `load_n_threads' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads' (eval):12:in `load_n_threads' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background' /opt/exp/sup/lib/sup.rb:77:in `reporting_thread' /opt/exp/sup/lib/sup.rb:75:in `initialize' /opt/exp/sup/lib/sup.rb:75:in `new' /opt/exp/sup/lib/sup.rb:75:in `reporting_thread' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads' (eval):12:in `load_threads' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:81:in `initialize' /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `call' /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `initialize' /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `each' /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:22:in `initialize' /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:19:in `new' /opt/exp/sup/lib/sup/modes/line-cursor-mode.rb:19:in `initialize' /opt/exp/sup/lib/sup/modes/thread-index-mode.rb:54:in `initialize' /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:9:in `initialize' /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `new' /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `spawn_nicely' /opt/exp/sup/lib/sup/buffer.rb:350:in `spawn_unless_exists' /opt/exp/sup/lib/sup/util.rb:520:in `send' /opt/exp/sup/lib/sup/util.rb:520:in `method_missing' /opt/exp/sup/lib/sup/modes/label-search-results-mode.rb:32:in `spawn_nicely' /opt/exp/sup/lib/sup/modes/label-list-mode.rb:103:in `select_label' /opt/exp/sup/lib/sup/mode.rb:51:in `send' /opt/exp/sup/lib/sup/mode.rb:51:in `handle_input' /opt/exp/sup/lib/sup/buffer.rb:267:in `handle_input' /usr/bin/sup:239 _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk