[
https://issues.apache.org/jira/browse/AVRO-1361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13752392#comment-13752392
]
Douglas Creager commented on AVRO-1361:
---------------------------------------
Sorry, I've been out for a couple of weeks with a new baby. I'll take a look
at it today.
> The values of a map are not correct
> -----------------------------------
>
> Key: AVRO-1361
> URL: https://issues.apache.org/jira/browse/AVRO-1361
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.7.4
> Environment: Ubuntu 12.10
> Reporter: Tibor Benke
> Attachments: main.c
>
>
> When I put values into a map, the values appear delayed with one cycle:
> // pseudo code
> map = Map()
> for (i = 0; i < 5; i++) {
> map.put(i, i)
> }
> // then map contains the following elements: {"0": "1", "1": "2", "2": "3",
> "3": "4", "4": ""}
> I wrote a sample code, which demonstrates the bug. I hope I'm not wrong. I
> have also problems with the reference counting: if I comment out the free()
> calls in the program, I get glibc errors. Is it possible, that the Avro frees
> not just its own pointers in the *decref() calls?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira