[Bug 270191] databases/ruby-bdb: loading bdb breaks Thread.new
Date: Tue, 14 Mar 2023 06:48:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270191
Bug ID: 270191
Summary: databases/ruby-bdb: loading bdb breaks Thread.new
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ruby@FreeBSD.org
Reporter: mslade@epic-code.com.au
Flags: maintainer-feedback?(ruby@FreeBSD.org)
Assignee: ruby@FreeBSD.org
Created attachment 240834
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240834&action=edit
Bug POC script
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.
--
You are receiving this mail because:
You are the assignee for the bug.