Mario~

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.

https://github.com/google/sanitizers

Matt

On Thu, Aug 18, 2022 at 3:52 AM mario heindl <[email protected]>
wrote:

> Hello all,
>
> we are currently encountering a crash when using repeated strings. The
> proto file is used from the sparkplug repository
> https://github.com/Cirrus-Link/Sparkplug/blob/master/sparkplug_b/sparkplug_b.proto
>
> In the program code we call:
>         Payload_PropertySet properties;
>         properties.add_keys("blabla");
>
> 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?
> Thanks!
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/292dc53e-1895-447e-b244-6febff9bdef8n%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/292dc53e-1895-447e-b244-6febff9bdef8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/CAMiELU3Pa-rdmg3Qdi5E3aVJahvmaYSM3VdHMqGvD5ZsbW3VAA%40mail.gmail.com.

Reply via email to