-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: 2.17.1
-
Component/s: None
-
None
-
Fully Compatible
This appears to be a regression of RUBY-2869, appearing with ruby 3.1.2 and mongo 2.17.1; the last few lines of the backtrace are:
/home/sr/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/mongo-2.17.1/lib/mongo/session/session_pool.rb:102:in `synchronize': can't be called from trap context (ThreadError) from /home/sr/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/mongo-2.17.1/lib/mongo/session/session_pool.rb:102:in `checkin' from /home/sr/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/mongo-2.17.1/lib/mongo/session.rb:328:in `end_session' from /home/sr/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/mongo-2.17.1/lib/mongo/cursor.rb:115:in `block in finalize'