Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"wrong id called on nil" (RuntimeError) #583

Open
IPv2 opened this issue Jul 23, 2020 · 0 comments
Open

"wrong id called on nil" (RuntimeError) #583

IPv2 opened this issue Jul 23, 2020 · 0 comments

Comments

@IPv2
Copy link
Member

IPv2 commented Jul 23, 2020

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

From exception-log.txt (filesystem paths shortened for readability):

--- RuntimeError from thread: load threads for thread-index-mode
wrong id called on nil
.../gems/sup-1.0/lib/sup.rb:20:in `id'
.../gems/sup-1.0/lib/sup/index.rb:211:in `each_message_in_thread_for'
.../gems/sup-1.0/lib/sup/thread.rb:353:in `load_thread_for_message'
.../gems/sup-1.0/lib/sup/thread.rb:345:in `block in load_n_threads'
.../gems/sup-1.0/lib/sup/index.rb:165:in `block in each_id_by_date'
.../gems/sup-1.0/lib/sup/index.rb:288:in `block in each_id'
.../gems/sup-1.0/lib/sup/index.rb:288:in `each'
.../gems/sup-1.0/lib/sup/index.rb:288:in `each_id'
.../gems/sup-1.0/lib/sup/index.rb:165:in `each_id_by_date'
.../gems/sup-1.0/lib/sup/thread.rb:340:in `load_n_threads'
.../gems/sup-1.0/lib/sup/modes/thread_index_mode.rb:686:in `load_n_threads'
(eval):12:in `load_n_threads'
.../gems/sup-1.0/lib/sup/modes/thread_index_mode.rb:670:in `block in load_n_threads_background'
.../gems/sup-1.0/lib/sup.rb:87:in `block in reporting_thread'

Sup 1.0, running from gem.

Immediately before the crash, I tried to view label "sent" (from inbox-mode, pressed "L" for "List labels", then typed "sent", enter). Sup froze showing message "Searching for threads..." (which normally is only displayed for milliseconds), and then crashed immediately when I pressed a key.

I've had similar crashes before including on earlier versions of Sup, rarely - but can't reproduce on demand.

Possible race condition?

@IPv2 IPv2 changed the title "wrong id called on nil" (RuntimeError thread-index-mode) "wrong id called on nil" (RuntimeError) Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant