Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: ehabkost@raisama.net (Eduardo Habkost)
Subject: [sup-talk] EOFError crash
Date: Fri, 07 Nov 2008 00:52:01 -0200	[thread overview]
Message-ID: <1226025882-sup-6197@blackpad> (raw)
In-Reply-To: <1226007592-sup-6295@entry>

Excerpts from William Morgan's message of Thu Nov 06 19:40:17 -0200 2008:
> Reformatted excerpts from Eduardo Habkost's message of 2008-11-06:
> > I've been easily reproducing crashes similar to this one. The only thing
> > I need to reproduce it is making sure I load another label while sup is
> > still polling for new messages.
> 
> Can you try the next branch? I've just pushed some patches there that
> might help this.

Just tried it (commit 6831c5966aa0a6021978bffc071734d03cabf2b1).

Triggered the same kind of exceptions of before (two samples below),
when pressing P and M multiple times quickly on inbox-mode, followed by
pressing 'end' and 'j'.

Trying to load a label while polling for new messages triggered a segfault
with the same backtrace as before.


----------------------------------------------------------------
--- IOError from thread: load threads for thread-index-mode
IO Error occured at <except.c>:93 in xraise
Error occured in fs_store.c:293 - fsi_seek_i
        seeking pos 20882841: <Descritor de arquivo inv?lido>

./lib/sup/index.rb:399:in `default'
./lib/sup/index.rb:399:in `[]'
./lib/sup/index.rb:399:in `build_message'
./lib/sup/index.rb:369:in `each_message_in_thread_for'
./lib/sup/thread.rb:341:in `call'
./lib/sup/thread.rb:341:in `load_thread_for_message'
./lib/sup/index.rb:382:in `each_message_in_thread_for'
./lib/sup/index.rb:382:in `each'
./lib/sup/index.rb:382:in `each_message_in_thread_for'
./lib/sup/thread.rb:339:in `load_thread_for_message'
./lib/sup/thread.rb:331:in `load_n_threads'
./lib/sup/index.rb:288:in `each_id_by_date'
./lib/sup/index.rb:287:in `each'
./lib/sup/index.rb:287:in `each_id_by_date'
./lib/sup/thread.rb:326:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:499:in `__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:483:in `load_n_threads_background'
./lib/sup.rb:85:in `reporting_thread'
./lib/sup.rb:83:in `initialize'
./lib/sup.rb:83:in `new'
./lib/sup.rb:83:in `reporting_thread'
./lib/sup/modes/thread-index-mode.rb:482:in `load_n_threads_background'
./lib/sup/modes/thread-index-mode.rb:552:in `__unprotected_load_threads'
(eval):12:in `load_threads'
bin/sup:167


----------------------------------------------------------------
--- EOFError from thread: load threads for thread-index-mode
End-of-File Error occured at <except.c>:93 in xraise
Error occured in compound_io.c:137 - cmpdi_read_i
        Tried to read past end of file. File length is <60759> and tried to read to <452160>

./lib/sup/index.rb:396:in `default'
./lib/sup/index.rb:396:in `[]'
./lib/sup/index.rb:396:in `build_message'
./lib/sup/index.rb:288:in `each_id_by_date'
./lib/sup/thread.rb:330:in `call'
./lib/sup/thread.rb:330:in `load_n_threads'
./lib/sup/index.rb:288:in `each_id_by_date'
./lib/sup/index.rb:287:in `each'
./lib/sup/index.rb:287:in `each_id_by_date'
./lib/sup/thread.rb:326:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:499:in `__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:483:in `load_n_threads_background'
./lib/sup.rb:85:in `reporting_thread'
./lib/sup.rb:83:in `initialize'
./lib/sup.rb:83:in `new'
./lib/sup.rb:83:in `reporting_thread'
./lib/sup/modes/thread-index-mode.rb:482:in `load_n_threads_background'
./lib/sup/modes/thread-index-mode.rb:552:in `__unprotected_load_threads'
(eval):12:in `load_threads'
bin/sup:167
-- 
Eduardo


  reply	other threads:[~2008-11-07  2:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30 18:42 Decklin Foster
2008-11-02 17:40 ` Decklin Foster
2008-11-05 17:48   ` William Morgan
2008-11-06 14:33     ` Eduardo Habkost
2008-11-06 15:06       ` Nicolas Pouillard
2008-11-06 21:40       ` William Morgan
2008-11-07  2:52         ` Eduardo Habkost [this message]
2008-11-07  6:21           ` William Morgan
2008-11-07 11:32             ` Eduardo Habkost
2008-11-07 13:08               ` Eduardo Habkost
2008-11-10  3:59               ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1226025882-sup-6197@blackpad \
    --to=ehabkost@raisama.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox