From mboxrd@z Thu Jan 1 00:00:00 1970 From: ehabkost@raisama.net (Eduardo Habkost) Date: Fri, 07 Nov 2008 00:52:01 -0200 Subject: [sup-talk] EOFError crash In-Reply-To: <1226007592-sup-6295@entry> References: <1225392037-sup-9224@gillespie.rupamsunyata.org> <1225647558-sup-7206@gillespie.rupamsunyata.org> <1225907100-sup-4816@entry> <1225981048-sup-9011@blackpad> <1226007592-sup-6295@entry> Message-ID: <1226025882-sup-6197@blackpad> 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 :93 in xraise Error occured in fs_store.c:293 - fsi_seek_i seeking pos 20882841: ./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 :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