Issue 526 in protobuf: 2.5.0 - Java compilation - Find unknown fields in ... BUG

192 views
Skip to first unread message

prot...@googlecode.com

unread,
Jul 1, 2013, 9:03:43 AM7/1/13
to prot...@googlegroups.com
Status: New
Owner: liu...@google.com
Labels: Type-Defect Priority-Medium

New issue 526 by dusan...@gmail.com: 2.5.0 - Java compilation - Find
unknown fields in ... BUG
http://code.google.com/p/protobuf/issues/detail?id=526

What steps will reproduce the problem?
- upgrade to 2.5

What is the expected output? What do you see instead?
- expected: java sources
- I see: protoc error


What version of the product are you using? On what operating system?
- 2.5.0 win32


Please provide any additional information below.

Upgrading to 2.5.0 our build stops working. Executing protoc I get:

[libprotobuf FATAL google/protobuf/compiler/java/java_file.cc:123] CHECK
failed: CollectExtensions(*dynamic_file_proto, extensions): Find unknown
fields in FileDescriptorProto when building authentication_protocol.proto.
It's likely that those fields are custom options, however, those options
cannot be recognized in the builder pool. This normally should not happen.
Please report a bug.

I can't attach our protocols directly into this issue, but I could send
them private by mail on request.

Thank you.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

prot...@googlecode.com

unread,
Jul 1, 2013, 1:23:57 PM7/1/13
to prot...@googlegroups.com

Comment #1 on issue 526 by xiaof...@google.com: 2.5.0 - Java compilation -
Can you find a minimum .proto file that can reproduce the problem and then
attach the source?

prot...@googlecode.com

unread,
Jul 2, 2013, 4:56:41 AM7/2/13
to prot...@googlegroups.com

Comment #2 on issue 526 by dusan...@gmail.com: 2.5.0 - Java compilation -
Hi,

sorry, I can't isolate the problem.

It seems to be some 'race' bug, because when I change 'protoc' argument
order ( but I still use the same bundle of .proto files ), compilation
succeed.

Please see attached ( a little bit complex ) example.

You can simulate the problem easily - see two shell scripts - one will
fail, one will succeed. It seems there is no sense in order of arguments
in 'success' script, because all higher level protocols (
authentication, system information ... ) are based/encapsulated into
lower level protocols (nano, header, ...).

prot...@googlecode.com

unread,
Jul 2, 2013, 1:25:33 PM7/2/13
to prot...@googlegroups.com

Comment #3 on issue 526 by xiaof...@google.com: 2.5.0 - Java compilation -
I didn't see the attachment?

prot...@googlecode.com

unread,
Jul 3, 2013, 2:47:17 AM7/3/13
to prot...@googlegroups.com

Comment #4 on issue 526 by dusan...@gmail.com: 2.5.0 - Java compilation -
Was re-sent to your private mail.
Reply all
Reply to author
Forward
0 new messages