[Bug 275955] devel/protobuf: Add workaround for the crash in PyTorch caused by the bug in protobuf

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Dec 2023 22:43:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275955

            Bug ID: 275955
           Summary: devel/protobuf: Add workaround for the crash in
                    PyTorch caused by the bug in protobuf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 247273
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247273&action=edit
patch

Hi Po-Chuan,


I've encountered a crash while running PyTorch, and I traced it down to this
problem in protobuf: https://github.com/protocolbuffers/protobuf/issues/15194

The attached patch is a workaround based on the 7+ year old patch that was
suggested by someone for this problem before, but that was never adopted by the
protobuf.

Could you please either approve or commit it?


Thank you,
Yuri

-- 
You are receiving this mail because:
You are the assignee for the bug.