You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/06/08 12:59:07 UTC

[GitHub] [arrow] pitrou opened a new pull request #10480: ARROW-12993: [Python] Avoid half-initialized FeatherReader object

pitrou opened a new pull request #10480:
URL: https://github.com/apache/arrow/pull/10480


   When trying to read an invalid Feather file, the `stackprinter` project
   would crash when walking the stack and attempting to print detailed information
   about captured local variables.
   
   Specifically, the crash would occur when looking up the `version` attribute
   on the half-initialized FeatherReader object.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] pitrou closed pull request #10480: ARROW-12993: [Python] Avoid half-initialized FeatherReader object

Posted by GitBox <gi...@apache.org>.
pitrou closed pull request #10480:
URL: https://github.com/apache/arrow/pull/10480


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] github-actions[bot] commented on pull request #10480: ARROW-12993: [Python] Avoid half-initialized FeatherReader object

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #10480:
URL: https://github.com/apache/arrow/pull/10480#issuecomment-856746836


   https://issues.apache.org/jira/browse/ARROW-12993


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [arrow] jorisvandenbossche commented on pull request #10480: ARROW-12993: [Python] Avoid half-initialized FeatherReader object

Posted by GitBox <gi...@apache.org>.
jorisvandenbossche commented on pull request #10480:
URL: https://github.com/apache/arrow/pull/10480#issuecomment-856769998


   Looks good.
   
   We have a similar pattern in `_parquet.pyx` ParquetReader, which is used in parquet.ParquetFile, and you can also get this to crash:
   
   ```
   In [7]: from pyarrow.parquet import ParquetReader
   
   In [8]: ParquetReader()
   Out[8]: <pyarrow._parquet.ParquetReader at 0x7f635377b280>
   
   In [9]: reader = ParquetReader()
   
   In [10]: reader.schema_arrow
   Segmentation fault (core dumped)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org