Subject: [sup-talk] error log

From: [email-masked] (Mike Stipicevic)
Date: Fri, 29 Feb 2008 19:45:03 -0500

Hello,

I am an infrequent sup user and just started playing with its archive
abilities. I have not modified the local mailbox in any way until now when I
archived several messages. I then browsed the help screen a few times and
quit. While quitting, sup hung on "saving 2/17," using 0% of the cpu. I then
hit ctrl-C to terminate the program. I use Slackware 11, ruby 1.8.6, and sup
0.4 (rubygem)

Here is the contents of sup-exception-log.txt

--- Interrupt from thread: main

/usr/local/lib/ruby/1.8/monitor.rb:102:in `stop'
/usr/local/lib/ruby/1.8/monitor.rb:102:in `wait'
/usr/local/lib/ruby/1.8/net/imap.rb:967:in `get_tagged_response'
/usr/local/lib/ruby/1.8/net/imap.rb:1027:in `send_command'
/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/1.8/net/imap.rb:1012:in `send_command'
/usr/local/lib/ruby/1.8/net/imap.rb:1165:in `fetch_internal'
/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/1.8/net/imap.rb:1163:in `fetch_internal'
/usr/local/lib/ruby/1.8/net/imap.rb:707:in `fetch'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/imap.rb:188:in `fetch'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/imap.rb:302:in `safely'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/imap.rb:188:in `fetch'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/imap.rb:271:in
`get_imap_fields'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/imap.rb:113:in
`unsynchronized_raw_message'
(eval):3:in `raw_message'
(eval):3:in `synchronize'
(eval):3:in `raw_message'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/imap.rb:97:in
`load_message'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:534:in `send'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:534:in `__pass'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:523:in
`method_missing'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/message.rb:195:in
`load_from_source!'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/message.rb:252:in
`content'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/index.rb:186:in
`sync_message'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:497:in `send'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:497:in
`method_missing'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/message.rb:149:in `save'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/thread.rb:114:in `save'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/thread.rb:66:in `each'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/thread.rb:168:in
`each_with_stuff'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/thread.rb:65:in `each'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/thread.rb:114:in `save'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb
:363:in `save'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/hook.rb:123:in
`each_with_index'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb
:361:in `each'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb
:361:in `each_with_index'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb
:361:in `save'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/buffer.rb:668:in `say'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:497:in `send'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/util.rb:497:in
`method_missing'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb
:360:in `save'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/modes/thread-index-mode.rb
:377:in `cleanup'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/buffer.rb:387:in
`kill_buffer'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/lib/sup/buffer.rb:369:in
`kill_all_buffers_safely'
/usr/local/lib/ruby/gems/1.8/gems/sup-0.4/bin/sup:229
/usr/local/bin/sup:16:in `load'
/usr/local/bin/sup:16

Hope this helps,
- Mike

--
Mike Stipicevic
Chairman, RPI Student Branch of the IEEE

stipim at rpi.edu
mstipicevic at ieee.org

---

From: [email-masked] (William Morgan)
Date: Fri, 29 Feb 2008 20:16:21 -0800

> /usr/local/lib/ruby/1.8/net/imap.rb:1027:in `send_command'

Looks like a deadlock in the IMAP library. Wow. Scary!

-- 
William <wmorgan-sup at masanjin.net>