[protobuf] Re: Message thread safety in Java

2012-02-21 Thread Frank Durden
Ok guys thanks for all the responses. Having studied this a bit more closely I can recap that protobuf messages are what's called effectively immutable (according to terminology used in Brian Goetz's book p.52-53) and need to be safely published to be used across multiple threads. Just like Evan

[protobuf] Segfault in python using CPP implementation

2012-02-21 Thread shamer
I have found a segfault when using the CPP implementation from python in 2.4.1. I can reproduce it in two different environments with a small number of files. The segfault is happening in google/protobuf/internal/cpp_message.py in the ScalarProperty getter. There seems to be some interplay