maintainer-feedback requested: [Bug 270191] databases/ruby-bdb: loading bdb breaks Thread.new

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Mar 2023 06:48:24 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-ruby (Nobody)
<ruby@FreeBSD.org> for maintainer-feedback:
Bug 270191: databases/ruby-bdb: loading bdb breaks Thread.new
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270191



--- Description ---
When running the attached test, the expected output is:

< 2
> 2

Instead we get:

< 2
>

Loading the bdb module somehow alters the behavior of Thread.new to only pass
on the first argument to the newly created thread.

This is a long-lived bug, which has been present since the last upstream
release of the gem, running on ruby 2.3.