Sushil Shelly wrote:
> Kenton and Team,
>
> We recently moved to using c++ 4.1.1 and are getting a segmentation
> fault as shown below. We are simply building the tutorial code and then
> run 'add_person' (This same test runs fine when built with C++ 3.4.0).
Did you re-build protobuf after upgrading to 4.1.1? C++ doesn't
guarantee binary compatibility in this particular case - so if your
library was built with the old compiler version and the test program
with the new, it may be an issue.
> Partial core dump is shown below!!
> ---------------------------------------------
> Core was generated by `add_person'.
> Program terminated with signal 11, Segmentation fault.
> #0 0x0809dbc7 in std::_Rb_tree<std::string, std::pair<std::string
> const, std::pair<void const*, int> >,
> std::_Select1st<std::pair<std::string const, std::pair<void const*, int>
>> >, std::less<std::string>, std::allocator<std::pair<std::string const,
> std::pair<void const*, int> > > >::insert_unique (this=0x4,
> __v=@0xbfbed9c8)
> ---------------------------------------------
>
> This is fairly urgent for us and is a show-stopper - could you please
> comment..
>
> thanks,
>
> Sushil.
>
> >