You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Thiruvalluvan M. G. (Jira)" <ji...@apache.org> on 2024/04/06 03:37:00 UTC

[jira] [Commented] (AVRO-3675) [c++] segmentation fault when creating resolving decoder

    [ https://issues.apache.org/jira/browse/AVRO-3675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834479#comment-17834479 ] 

Thiruvalluvan M. G. commented on AVRO-3675:
-------------------------------------------

I tried to reproduce the problem using the two schemas here. But it seems to work well. Please see the Pull Request:

https://github.com/apache/avro/pull/2837

{{validating.cc}} is just a copy of {{examples/validating.cc}} in Avro codebase. Please attach the client code that causes this crash.

> [c++] segmentation fault when creating resolving decoder
> --------------------------------------------------------
>
>                 Key: AVRO-3675
>                 URL: https://issues.apache.org/jira/browse/AVRO-3675
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.11.1
>            Reporter: Mitja P
>            Priority: Major
>         Attachments: data_schema.json, reader_schema.json, validating.cc
>
>
> We added a new field to our schema but resolving decoder consistently causes segmentation fault.
> Our new field is an array of records that also have a field that is an array of records.
> See attached schemas and demo code to reproduce.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)