Crash when using repeated string

Skip to first unread message

mario heindl

Aug 18, 2022, 3:52:04 AMAug 18
to Protocol Buffers
Hello all,

we are currently encountering a crash when using repeated strings. The proto file is used from the sparkplug repository

In the program code we call:
        Payload_PropertySet properties;

The error we get is:
      free: invalid pointer: 0xb6b88630

Whenever we set another repeated field, it is working perfectly fine, so this seems to be an issue with repeated strings.

We are using the latest protobuf version.

Does anybody have an idea about that?

Matthew Fowles Kulukundis

Aug 18, 2022, 9:33:59 AMAug 18
to mario heindl, Protocol Buffers

With reasonable probability, there is a bug somewhere else in your program causing UB.  You should run your program under ASAN and MSAN to see if they turn up anything.


You received this message because you are subscribed to the Google Groups "Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages