We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What version of protobuf and what language are you using? Version: v21.2 Language: Python
What operating system (Linux, Windows, ...) and version? Ubuntu Linux 20.04.4 LTS
What runtime / compiler are you using (e.g., python version or gcc version) Python 3.10.5/3.9.13/3.8.13
What did you do? Steps to reproduce the behavior:
What did you expect to see
Not a segfault
What did you see instead?
A segfault
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Versions:
$ lsb_release -d Description: Ubuntu 20.04 LTS $ protoc --version libprotoc 3.21.2 $ python --version Python 3.10.5 $ pip show protobuf|grep Version Version: 4.21.2
Minimal reproducible protobuf repro.proto:
repro.proto
syntax = "proto3"; package repro; message OuterMessage { uint32 id = 1; InnerMessage msg = 2; } message InnerMessage { uint32 id = 1; }
Minimal reproducible python repro.py:
repro.py
from repro_pb2 import OuterMessage, InnerMessage outer = OuterMessage(id=1) inner = InnerMessage(id=2) outer.msg == inner print("Segfault before we get here.")
Example output:
$ ls repro.proto repro.py $ protoc --python_out . repro.proto $ ls repro.proto repro.py repro_pb2.py $ python repro.py Segmentation fault
Anything else we should know about your project / environment
The text was updated successfully, but these errors were encountered:
This looks identical to #10208, which I fixed three days ago. Please confirm whether this bug still exists after a fresh sync.
Sorry, something went wrong.
Confirmed cannot reproduce from main. Thanks for the quick reply and sorry for the noise.
No branches or pull requests
What version of protobuf and what language are you using?
Version: v21.2
Language: Python
What operating system (Linux, Windows, ...) and version?
Ubuntu Linux 20.04.4 LTS
What runtime / compiler are you using (e.g., python version or gcc version)
Python 3.10.5/3.9.13/3.8.13
What did you do?
Steps to reproduce the behavior:
What did you expect to see
Not a segfault
What did you see instead?
A segfault
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Versions:
Minimal reproducible protobuf
repro.proto
:Minimal reproducible python
repro.py
:Example output:
Anything else we should know about your project / environment
The text was updated successfully, but these errors were encountered: