Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651780 - >=dev-python/protobuf-python-3.2.0: help() / pylint --unsafe-load-any-extension=y segmentation fault
Summary: >=dev-python/protobuf-python-3.2.0: help() / pylint --unsafe-load-any-extensi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 19:22 UTC by Zac Medico
Modified: 2018-04-26 15:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch, adjusted to work with patch -p1 (0001-bug-644990-message_meta_fix_segfault_in_GetMessageDescriptor.patch,2.44 KB, patch)
2018-03-29 19:57 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2018-03-27 19:22:52 UTC
An issue that triggers a segmentation fault with help() and pylint --unsafe-load-any-extension=y has existed since protobuf-python-3.2.0, and is still not fixed in the master branch, though they said to expect a fix in the next release when they closed my pull request:

    https://github.com/google/protobuf/pull/4365

The same issue was referenced in the pull request that added the protobuf-python-3.3.0 version bump:

    https://github.com/gentoo/gentoo/pull/4039#issuecomment-299984809

We might want to include the patch in our ebuilds:

    https://github.com/google/protobuf/pull/4365.patch
Comment 1 Zac Medico gentoo-dev 2018-03-29 19:57:23 UTC
Created attachment 526112 [details, diff]
patch, adjusted to work with patch -p1
Comment 2 Larry the Git Cow gentoo-dev 2018-04-26 15:14:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a5682c3a38b987fe3ff3116cf3e5aa26e9a56b7

commit 9a5682c3a38b987fe3ff3116cf3e5aa26e9a56b7
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2018-04-25 17:57:54 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-04-26 15:12:15 +0000

    dev-python/protobuf-python: Fix google.protobuf.pyext._message.MessageMeta.
    
    Closes: https://bugs.gentoo.org/651780

 ...oogle.protobuf.pyext._message.MessageMeta.patch | 26 ++++++++++++++++++++++
 ....5.2.ebuild => protobuf-python-3.5.2-r1.ebuild} |  5 +++++
 2 files changed, 31 insertions(+)