From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.81.207 with SMTP id y15cs103670bkk; Mon, 24 May 2010 01:12:39 -0700 (PDT) Received: by 10.150.99.4 with SMTP id w4mr5739981ybb.210.1274688758573; Mon, 24 May 2010 01:12:38 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id k3si14514642ybe.82.2010.05.24.01.12.38; Mon, 24 May 2010 01:12:38 -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 B096B185836B; Mon, 24 May 2010 04:12:37 -0400 (EDT) Received: from mail-iw0-f178.google.com (mail-iw0-f178.google.com [209.85.214.178]) by rubyforge.org (Postfix) with ESMTP id AA3DD185834B for ; Mon, 24 May 2010 04:12:20 -0400 (EDT) Received: by iwn4 with SMTP id 4so3342948iwn.23 for ; Mon, 24 May 2010 01:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=0aEoUgV+4iycPbgJf20kHdRU6wGdcfpN27gc9uW34dE=; b=qrhbRFovOif7DMQxt/xtJzSeejgpW6j/5lgStnK8s+kLLmuJBgJIgKvym8U3GP9M1U 8ryh99VtPt725SVct2I3WJe8VdagQHC4UR1NZSlMDASxIZbiLAyOxvvSyP0l8fAgu+ho YL2UEe+MxBdgu63rUCZUDKaHwM2KFBW9Y8L/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EuIeM4fYg9NyWn4WQzzIHHrSY9YbUOP/16twAjdxr/CpH2KmLQ5U/bWLCt/UeKwiKU mXaovc5qUVpTPXLlCD6k6NnW8/3sdlYi/eByImM/w/OLyUsGLLEl6S1Em6eTBcF/Po6f uU2vAPRQAGFkS0W8hseGVhNIkYrWPMnSDd4W4= MIME-Version: 1.0 Received: by 10.231.79.131 with SMTP id p3mr5109101ibk.27.1274688740026; Mon, 24 May 2010 01:12:20 -0700 (PDT) Received: by 10.231.166.140 with HTTP; Mon, 24 May 2010 01:12:19 -0700 (PDT) Date: Mon, 24 May 2010 09:12:19 +0100 Message-ID: From: Lorenzo Bolla To: sup-talk@rubyforge.org Subject: [sup-talk] sup crash 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: , Content-Type: multipart/mixed; boundary="===============1843111084==" Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org --===============1843111084== Content-Type: multipart/alternative; boundary=001485ea3c9e8c6ab30487529939 --001485ea3c9e8c6ab30487529939 Content-Type: text/plain; charset=ISO-8859-1 sup crashed with the exception below. I was polling for new messages (loads...) and replying to an e-mail at the same time. here is the exception: --- ArgumentError from thread: poll after loading inbox :13634 is out of range [0..13633] for IndexReader#[] /usr/lib/ruby/1.8/ferret/index.rb:421:in `[]' /usr/lib/ruby/1.8/ferret/index.rb:421:in `[]' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/1.8/ferret/index.rb:413:in `[]' /usr/lib/ruby/1.8/sup/ferret_index.rb:257:in `build_message' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/1.8/sup/ferret_index.rb:256:in `build_message' /usr/lib/ruby/1.8/sup/ferret_index.rb:236:in `each_message_in_thread_for' /usr/lib/ruby/1.8/sup/thread.rb:343:in `call' /usr/lib/ruby/1.8/sup/thread.rb:343:in `load_thread_for_message' /usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each_message_in_thread_for' /usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each' /usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each_message_in_thread_for' /usr/lib/ruby/1.8/sup/thread.rb:341:in `load_thread_for_message' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:696:in `add_or_unhide' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in `synchronize' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in `add_or_unhide' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:188:in `handle_added_update' /usr/lib/ruby/1.8/sup/update.rb:26:in `send' /usr/lib/ruby/1.8/sup/update.rb:26:in `relay' /usr/lib/ruby/1.8/sup/update.rb:26:in `each' /usr/lib/ruby/1.8/sup/update.rb:26:in `relay' /usr/lib/ruby/1.8/sup/util.rb:520:in `send' /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing' /usr/lib/ruby/1.8/sup/poll.rb:166:in `add_new_message' /usr/lib/ruby/1.8/sup/poll.rb:109:in `do_poll' /usr/lib/ruby/1.8/sup/poll.rb:151:in `each_message_from' /usr/lib/ruby/1.8/sup/imap.rb:197:in `each' /usr/lib/ruby/1.8/sup/imap.rb:185:in `upto' /usr/lib/ruby/1.8/sup/imap.rb:185:in `each' /usr/lib/ruby/1.8/sup/util.rb:560:in `send' /usr/lib/ruby/1.8/sup/util.rb:560:in `__pass' /usr/lib/ruby/1.8/sup/util.rb:547:in `method_missing' /usr/lib/ruby/1.8/sup/poll.rb:139:in `each_message_from' /usr/lib/ruby/1.8/sup/poll.rb:93:in `do_poll' /usr/lib/ruby/1.8/sup/poll.rb:81:in `each' /usr/lib/ruby/1.8/sup/poll.rb:81:in `do_poll' /usr/lib/ruby/1.8/sup/poll.rb:80:in `synchronize' /usr/lib/ruby/1.8/sup/poll.rb:80:in `do_poll' /usr/lib/ruby/1.8/sup/util.rb:520:in `send' /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing' /usr/lib/ruby/1.8/sup/modes/poll-mode.rb:15:in `poll' /usr/lib/ruby/1.8/sup/poll.rb:48:in `poll' /usr/lib/ruby/1.8/sup/util.rb:520:in `send' /usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing' /usr/bin/sup-mail:195 /usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread' /usr/lib/ruby/1.8/sup.rb:74:in `initialize' /usr/lib/ruby/1.8/sup.rb:74:in `new' /usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread' /usr/bin/sup-mail:195 /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:669:in `call' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:669:in `__unprotected_load_threads' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:610:in `call' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:610:in `load_n_threads_background' /usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread' /usr/lib/ruby/1.8/sup.rb:74:in `initialize' /usr/lib/ruby/1.8/sup.rb:74:in `new' /usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background' /usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads' (eval):12:in `load_threads' /usr/bin/sup-mail:195 --001485ea3c9e8c6ab30487529939 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable sup crashed with the exception below.
I was polling for new messages (l= oads...) and replying to an e-mail at the same time.

here is the exception:

--- ArgumentError f= rom thread: poll after loading inbox
:13634 is out of range [0..13633] for IndexReader#[]
/usr/li= b/ruby/1.8/ferret/index.rb:421:in `[]'
/usr/lib/ruby/1.8/ferr= et/index.rb:421:in `[]'
/usr/lib/ruby/1.8/monitor.rb:242:in `= synchronize'
/usr/lib/ruby/1.8/ferret/index.rb:413:in `[]'
/usr/lib/r= uby/1.8/sup/ferret_index.rb:257:in `build_message'
/usr/lib/r= uby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/sup= /ferret_index.rb:256:in `build_message'
/usr/lib/ruby/1.8/sup/ferret_index.rb:236:in `each_message_in_thread_f= or'
/usr/lib/ruby/1.8/sup/thread.rb:343:in `call'
/usr/lib/ruby/1.8/sup/thread.rb:343:in `load_thread_for_message'
/usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each_message_in_thread_f= or'
/usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each'
/usr/lib/ruby/1.8/sup/ferret_index.rb:249:in `each_message_in_thre= ad_for'
/usr/lib/ruby/1.8/sup/thread.rb:341:in `load_thread_for_message'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:696:in `add_or_un= hide'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in= `synchronize'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:694:in `add_or_unhide= '
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:188:in `ha= ndle_added_update'
/usr/lib/ruby/1.8/sup/update.rb:26:in `sen= d'
/usr/lib/ruby/1.8/sup/update.rb:26:in `relay'
/usr/lib/r= uby/1.8/sup/update.rb:26:in `each'
/usr/lib/ruby/1.8/sup/upda= te.rb:26:in `relay'
/usr/lib/ruby/1.8/sup/util.rb:520:in `sen= d'
/usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
/u= sr/lib/ruby/1.8/sup/poll.rb:166:in `add_new_message'
/usr/lib= /ruby/1.8/sup/poll.rb:109:in `do_poll'
/usr/lib/ruby/1.8/sup/= poll.rb:151:in `each_message_from'
/usr/lib/ruby/1.8/sup/imap.rb:197:in `each'
/usr/lib/rub= y/1.8/sup/imap.rb:185:in `upto'
/usr/lib/ruby/1.8/sup/imap.rb= :185:in `each'
/usr/lib/ruby/1.8/sup/util.rb:560:in `send'= ;
/usr/lib/ruby/1.8/sup/util.rb:560:in `__pass'
/usr/lib/r= uby/1.8/sup/util.rb:547:in `method_missing'
/usr/lib/ruby/1.8= /sup/poll.rb:139:in `each_message_from'
/usr/lib/ruby/1.8/sup= /poll.rb:93:in `do_poll'
/usr/lib/ruby/1.8/sup/poll.rb:81:in `each'
/usr/lib/ruby= /1.8/sup/poll.rb:81:in `do_poll'
/usr/lib/ruby/1.8/sup/poll.r= b:80:in `synchronize'
/usr/lib/ruby/1.8/sup/poll.rb:80:in `do= _poll'
/usr/lib/ruby/1.8/sup/util.rb:520:in `send'
/usr/lib/rub= y/1.8/sup/util.rb:520:in `method_missing'
/usr/lib/ruby/1.8/s= up/modes/poll-mode.rb:15:in `poll'
/usr/lib/ruby/1.8/sup/poll= .rb:48:in `poll'
/usr/lib/ruby/1.8/sup/util.rb:520:in `send'
/usr/lib/rub= y/1.8/sup/util.rb:520:in `method_missing'
/usr/bin/sup-mail:1= 95
/usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
/usr/lib/ruby/1.8/sup.rb:74:in `initialize'
/usr/lib/rub= y/1.8/sup.rb:74:in `new'
/usr/lib/ruby/1.8/sup.rb:74:in `repo= rting_thread'
/usr/bin/sup-mail:195
/usr/lib/ruby/1= .8/sup/modes/thread-index-mode.rb:669:in `call'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:669:in `__unprotected= _load_threads'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.= rb:610:in `call'
/usr/lib/ruby/1.8/sup/modes/thread-index-mod= e.rb:610:in `load_n_threads_background'
/usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
/usr/l= ib/ruby/1.8/sup.rb:74:in `initialize'
/usr/lib/ruby/1.8/sup.r= b:74:in `new'
/usr/lib/ruby/1.8/sup.rb:74:in `reporting_threa= d'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:608:in `load_n_thread= s_background'
/usr/lib/ruby/1.8/sup/modes/thread-index-mode.r= b:679:in `__unprotected_load_threads'
(eval):12:in `load_thre= ads'
/usr/bin/sup-mail:195

--001485ea3c9e8c6ab30487529939-- --===============1843111084== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk --===============1843111084==--