[sup-talk] Crash on startup, "wrong id called on nil"

Michael Gurski sup-talk at gurski.org
Thu Feb 7 12:27:26 EST 2008


It's been a while since I launched sup, and updating today from
master, I get a crash on startup:

--- RuntimeError from thread: load threads for thread-index-mode
wrong id called on nil


IIRC, this was also happening maybe a month or so ago, and I just
didn't have the time to deal with it then.  Dumping the index,
rebuilding, etc, seem to not affect this at all.


The full exception log is:

$ cat sup-exception-log.txt 
--- RuntimeError from thread: load threads for thread-index-mode
wrong id called on nil
./lib/sup.rb:13:in `id'
./lib/sup/modes/thread-index-mode.rb:183:in `update'
./lib/sup/hook.rb:123:in `sort_by'
./lib/sup/modes/thread-index-mode.rb:183:in `each'
./lib/sup/modes/thread-index-mode.rb:183:in `sort_by'
./lib/sup/modes/thread-index-mode.rb:183:in `update'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
./lib/sup/modes/thread-index-mode.rb:181:in `update'
./lib/sup/modes/thread-index-mode.rb:466:in
`__unprotected_load_n_threads'
./lib/sup/thread.rb:332:in `load_n_threads'
./lib/sup/index.rb:224:in `each_id_by_date'
./lib/sup/index.rb:224:in `each'
./lib/sup/index.rb:224:in `each_id_by_date'
./lib/sup/thread.rb:326:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:463:in
`__unprotected_load_n_threads'
(eval):12:in `load_n_threads'
./lib/sup/modes/thread-index-mode.rb:452:in
`load_n_threads_background'
./lib/sup.rb:60:in `reporting_thread'
./lib/sup.rb:58:in `initialize'
./lib/sup.rb:58:in `new'
./lib/sup.rb:58:in `reporting_thread'
./lib/sup/modes/thread-index-mode.rb:451:in
`load_n_threads_background'
./lib/sup/modes/thread-index-mode.rb:502:in
`__unprotected_load_threads'
(eval):12:in `load_threads'
bin/sup:199
--- SystemExit from thread: main
wrong id called on nil
./lib/sup.rb:64:in `select'
./lib/sup/buffer.rb:31:in `nonblocking_getch'
bin/sup:212

-- 
Michael A. Gurski (opt. [first].)[last]@pobox.com  http://www.pobox.com/~[last]
1024R/39B5BADD PGP: 34 93 A9 94 B1 59 48 B7  17 57 1E 4E 62 56 45 70
1024D/1166213E GPG: 628F 37A4 62AF 1475 45DB  AD81 ADC9 E606 1166 213E
4096R/C0B4F04B GPG: 5B3E 75D7 43CF CF34 4042  7788 1DCE B5EE C0B4 F04B
Views expressed by the host do not reflect the staff, management or sponsors.



More information about the sup-talk mailing list