From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.236.123.42 with SMTP id u30cs191800yhh; Fri, 25 Nov 2011 04:56:22 -0800 (PST) Received: by 10.52.68.79 with SMTP id u15mr33719907vdt.5.1322225779632; Fri, 25 Nov 2011 04:56:19 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org. [205.234.109.19]) by mx.google.com with ESMTP id e18si4512789vcp.192.2011.11.25.04.56.19; Fri, 25 Nov 2011 04:56:19 -0800 (PST) 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; DomainKey-Status: bad (test mode) 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; domainkeys=hardfail (test mode) header.From=hollunder@lavabit.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 552E91678362; Fri, 25 Nov 2011 07:56:19 -0500 (EST) Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by rubyforge.org (Postfix) with ESMTP id D54451858367 for ; Fri, 25 Nov 2011 07:22:55 -0500 (EST) Received: from d.earth.lavabit.com (d.earth.lavabit.com [192.168.111.13]) by karen.lavabit.com (Postfix) with ESMTP id BD01111BA6A for ; Fri, 25 Nov 2011 06:22:54 -0600 (CST) Received: from localhost (eris.mozart.uni-klu.ac.at [143.205.216.123]) by lavabit.com with ESMTP id 0L1DPUG0CHAP for ; Fri, 25 Nov 2011 06:22:54 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=iiuSUW6TmS6A559CtPeDIzx/nce298aeGPBOZg5b/RshpxoWPPlGS+/jM+7Pzg1NyvnrLp/pCSmYz6GDNjeuKG+3pPwZK/glv418S/lsuQloFdio1zumP0arMMgKwf1a1q7zePG31bvvsd6k07+j9asutiH/G+M+VftTbXUOdyw=; h=Content-Type:From:To:Subject:Date:Message-Id:User-Agent:Content-Transfer-Encoding; From: Philipp To: sup-talk Date: Fri, 25 Nov 2011 13:22:52 +0100 Message-Id: <1322223388-sup-2482@eris> User-Agent: Sup/0.12.1 Subject: [sup-talk] crash in contact list 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 Hi there, I get another crash when hitting m in my contact list. To me it looks related to that crash I got rid of by deleting a lot of messages. Guess I could delete another whole load of messages, but I'd rather have this bug fixed. So, the exception seem to origin in the three-line method find_docid: def find_docid id docids = term_docids(mkterm(:msgid,id)) fail unless docids.size <= 1 docids.first end Does it happen due to docids.size being larger than 1 or could this exception be raised by something else in there? Alternatively, how can I find the message that causes this problem? Regards, Philipp $ sup [2011-11-25 13:15:19 +0100] ERROR: oh crap, an exception ---------------------------------------------------------------- I'm very sorry. It seems that an error occurred in Sup. Please accept my sincere apologies. Please submit the contents of /home/murks/.sup/exception-log.txt and a brief report of the circumstances to http://masanjin.net/sup-bugs/ so that I might address this problem. Thank you! Sincerely, William ---------------------------------------------------------------- --- RuntimeError from thread: main /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:551:in `find_docid' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:556:in `find_doc' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:566:in `get_entry' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:196:in `block in build_message' /usr/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:575:in `synchronize' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:196:in `build_message' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:151:in `block (2 levels) in each_id_by_date' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:231:in `call' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:231:in `block in load_contacts' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:151:in `block in each_id_by_date' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:246:in `block in each_id' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:246:in `each' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:246:in `each_id' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:151:in `each_id_by_date' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/index.rb:229:in `load_contacts' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/contact-list-mode.rb:113:in `block in load' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/buffer.rb:741:in `say' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/util.rb:609:in `method_missing' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/contact-list-mode.rb:112:in `load' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/modes/contact-list-mode.rb:64:in `load_more' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/mode.rb:59:in `handle_input' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/lib/sup/buffer.rb:277:in `handle_input' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:260:in `' /usr/lib/ruby/gems/1.9.1/gems/sup-0.12.1/bin/sup:69:in `' /usr/bin/sup:19:in `load' /usr/bin/sup:19:in `
' _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk