You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Pugachev Maxim (JIRA)" <ji...@apache.org> on 2012/05/11 11:49:51 UTC
[jira] [Created] (AVRO-1084) acvo-c: reference counting error in
file_writer and file_reader code
Pugachev Maxim created AVRO-1084:
------------------------------------
Summary: acvo-c: reference counting error in file_writer and file_reader code
Key: AVRO-1084
URL: https://issues.apache.org/jira/browse/AVRO-1084
Project: Avro
Issue Type: Bug
Components: c
Affects Versions: 1.6.3, 1.7.0
Reporter: Pugachev Maxim
Missed incref/decref calls for writer_schema in file_writer_create() and avro_file_reader_get_writer_schema() functions. Crash dump example in the attached code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-1084) acvo-c: reference counting error in
file_writer and file_reader code
Posted by "Douglas Creager (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Douglas Creager updated AVRO-1084:
----------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Status: Resolved (was: Patch Available)
Committed to SVN. I updated the test case to include the standard copyright notice, and fixed it so that it will compile on Windows. Also, it now deletes the output file *after* running the test, rather than before. That way the source tree isn't cluttered with test output files.
> acvo-c: reference counting error in file_writer and file_reader code
> --------------------------------------------------------------------
>
> Key: AVRO-1084
> URL: https://issues.apache.org/jira/browse/AVRO-1084
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.6.3, 1.7.0
> Reporter: Pugachev Maxim
> Fix For: 1.7.0
>
> Attachments: AVRO-1084.patch, example.c
>
>
> Missed incref/decref calls for writer_schema in file_writer_create() and avro_file_reader_get_writer_schema() functions. Crash dump example in the attached code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-1084) acvo-c: reference counting error in
file_writer and file_reader code
Posted by "Pugachev Maxim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pugachev Maxim updated AVRO-1084:
---------------------------------
Attachment: example.c
Crash dump example
> acvo-c: reference counting error in file_writer and file_reader code
> --------------------------------------------------------------------
>
> Key: AVRO-1084
> URL: https://issues.apache.org/jira/browse/AVRO-1084
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.6.3, 1.7.0
> Reporter: Pugachev Maxim
> Attachments: example.c
>
>
> Missed incref/decref calls for writer_schema in file_writer_create() and avro_file_reader_get_writer_schema() functions. Crash dump example in the attached code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-1084) acvo-c: reference counting error in
file_writer and file_reader code
Posted by "Pugachev Maxim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pugachev Maxim updated AVRO-1084:
---------------------------------
Status: Patch Available (was: Open)
> acvo-c: reference counting error in file_writer and file_reader code
> --------------------------------------------------------------------
>
> Key: AVRO-1084
> URL: https://issues.apache.org/jira/browse/AVRO-1084
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.6.3, 1.7.0
> Reporter: Pugachev Maxim
> Attachments: AVRO-1084.patch, example.c
>
>
> Missed incref/decref calls for writer_schema in file_writer_create() and avro_file_reader_get_writer_schema() functions. Crash dump example in the attached code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-1084) acvo-c: reference counting error in
file_writer and file_reader code
Posted by "Pugachev Maxim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pugachev Maxim updated AVRO-1084:
---------------------------------
Attachment: AVRO-1084.patch
Patch for this issue
> acvo-c: reference counting error in file_writer and file_reader code
> --------------------------------------------------------------------
>
> Key: AVRO-1084
> URL: https://issues.apache.org/jira/browse/AVRO-1084
> Project: Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.6.3, 1.7.0
> Reporter: Pugachev Maxim
> Attachments: AVRO-1084.patch, example.c
>
>
> Missed incref/decref calls for writer_schema in file_writer_create() and avro_file_reader_get_writer_schema() functions. Crash dump example in the attached code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira