You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/12/24 22:51:00 UTC
[jira] [Resolved] (PARQUET-1481) [C++] SEGV when reading corrupt
parquet file
[ https://issues.apache.org/jira/browse/PARQUET-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved PARQUET-1481.
-----------------------------------
Resolution: Fixed
Fix Version/s: cpp-1.6.0
Resolved in https://github.com/apache/arrow/commit/cfaea429d0f2d3d9baa2a10d6da759ffd0f9d7f8
> [C++] SEGV when reading corrupt parquet file
> --------------------------------------------
>
> Key: PARQUET-1481
> URL: https://issues.apache.org/jira/browse/PARQUET-1481
> Project: Parquet
> Issue Type: Bug
> Affects Versions: cpp-1.6.0
> Reporter: Hatem Helal
> Assignee: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> Fix For: cpp-1.6.0
>
> Attachments: corrupt.parquet
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> >>> import pyarrow.parquet as pq
> >>> pq.read_table('corrupt.parquet')
> fish: 'python' terminated by signal SIGSEGV (Address boundary error)
>
> Stack report from macOS:
>
> 0 libsystem_kernel.dylib 0x00007fff51164cee __psynch_cvwait + 10
> 1 libsystem_pthread.dylib 0x00007fff512a1662 _pthread_cond_wait + 732
> 2 libc++.1.dylib 0x00007fff4f04acb0 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
> 3 libc++.1.dylib 0x00007fff4f04b728 std::__1::__assoc_sub_state::__sub_wait(std::__1::unique_lock<std::__1::mutex>&) + 46
> 4 libparquet.11.dylib 0x0000000115512d00 std::__1::__assoc_state<arrow::Status>::move() + 48
> 5 libparquet.11.dylib 0x00000001154faa15 parquet::arrow::FileReader::Impl::ReadTable(std::__1::vector<int, std::__1::allocator<int> > const&, std::__1::shared_ptr<arrow::Table>*) + 1093
> 6 libparquet.11.dylib 0x00000001154fb6fe parquet::arrow::FileReader::Impl::ReadTable(std::__1::shared_ptr<arrow::Table>*) + 350
> 7 libparquet.11.dylib 0x00000001154fce47 parquet::arrow::FileReader::ReadTable(std::__1::shared_ptr<arrow::Table>*) + 23
> 8 _parquet.so 0x000000011598d97b __pyx_pw_7pyarrow_8_parquet_13ParquetReader_9read_all(_object*, _object*, _object*) + 1035
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)