Subject: [sup-talk] exception when pressing page down (Space) when sup was loading

From: [email-masked] (Manish Sapariya)
Date: Wed, 30 Jan 2008 18:44:00 +0530

I ran into following exception when I start sup and immediately press Space
multiple times.
Regards,
Manish

[manish at alioth ~]$ sup
[Wed Jan 30 18:40:29 +0530 2008] using character set encoding "UTF-8"
[Wed Jan 30 18:40:29 +0530 2008] locking /home/manish/.sup/lock...
[Wed Jan 30 18:40:29 +0530 2008] crypto: detected gpg binary in /usr/bin/gpg
[Wed Jan 30 18:40:29 +0530 2008] loading index...
[Wed Jan 30 18:40:29 +0530 2008] loaded index of 8107 messages
[Wed Jan 30 18:40:29 +0530 2008] starting curses
[Wed Jan 30 18:40:36 +0530 2008] stopped cursing
[Wed Jan 30 18:40:36 +0530 2008] oh crap, an exception
[Wed Jan 30 18:40:36 +0530 2008] unlocking /home/manish/.sup/lock...
----------------------------------------------------------------
I'm very sorry. It seems that an error occurred in Sup. Please
accept my sincere apologies. If you don't mind, please send the
contents of sup-exception-log.txt and a brief report of the
circumstances to sup-talk at rubyforge dot orgs so that I might
address this problem. Thank you!

Sincerely,
William
----------------------------------------------------------------
--- 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 <1000> and tried 
to read to <3252949>

/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/index.rb:224:in `default'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/index.rb:224:in `[]'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/index.rb:224:in 
`each_id_by_date'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/index.rb:224:in `each'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/index.rb:224:in 
`each_id_by_date'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/thread.rb:326:in 
`load_n_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb:462:in 
`__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb:451:in 
`load_n_threads_background'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup.rb:60:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup.rb:58:in `initialize'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup.rb:58:in `new'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup.rb:58:in `reporting_thread'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb:450:in 
`load_n_threads_background'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb:501:in 
`__unprotected_load_threads'
(eval):12:in `load_threads'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb:64:in 
`initialize'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/line-cursor-mode.rb:177:in 
`call'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/line-cursor-mode.rb:177:in 
`call_load_more_callbacks'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/line-cursor-mode.rb:177:in 
`each'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/line-cursor-mode.rb:177:in 
`call_load_more_callbacks'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/line-cursor-mode.rb:80:in 
`cursor_down'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/mode.rb:49:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/mode.rb:49:in `handle_input'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/buffer.rb:231:in `handle_input'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/bin/sup:218
/usr/bin/sup:16:in `load'
/usr/bin/sup:16
--- SystemExit from thread: main
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 <1000> and tried 
to read to <3252949>

/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup.rb:64:in `pass'
/usr/lib/ruby/1.8/monitor.rb:231:in `mon_exit'
/usr/lib/ruby/1.8/monitor.rb:244:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:580:in `size'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/index.rb:212:in `size'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:497:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:497:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/inbox-mode.rb:52:in 
`status'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/buffer.rb:727:in 
`get_status_and_title'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/buffer.rb:263:in `draw_screen'
/usr/lib/ruby/gems/1.8/gems/sup-0.4/bin/sup:283
/usr/bin/sup:16:in `load'
/usr/bin/sup:16
[manish at alioth ~]$