ALPSMAC commented on issue #49699:
URL: https://github.com/apache/arrow/issues/49699#issuecomment-4216525416
Adding a little more information... was able to compile a version of Arrow
w/ debug symbols and now have a breakpoint on `flight/client.cc:115` out of the
`apache-arrow-23.0.1` tag. Printing `batches` yields:
```
(gdb) p batches
$5 = std::vector of length -8731334935731, capacity 52235356 =
{std::shared_ptr<arrow::RecordBatch> (use count -161635136, weak count 32525) =
{get() = 0x2},
std::shared_ptr<arrow::RecordBatch> (expired, weak count 0) = {get() =
0x7f0ec225b2a0}, std::shared_ptr<arrow::RecordBatch> (expired, weak count 32) =
{get() = 0x559519f646d4},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x1},
std::shared_ptr<arrow::RecordBatch> (use count -1018434384, weak count 32525) =
{get() = 0x7f0ec1e04bc0},
std::shared_ptr<arrow::RecordBatch> (use count -161635136, weak count
32525) = {get() = 0x1}, std::shared_ptr<arrow::RecordBatch> (empty) = {get() =
0x7f0ec2251500},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() =
0xffffffffffffffff}, std::shared_ptr<arrow::RecordBatch> (use count 283935560,
weak count 264865095) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (use count -1037757200, weak count
32525) = {get() = 0x7f0ec1dfe700}, std::shared_ptr<arrow::RecordBatch> (use
count -161635136, weak count 32525) = {
get() = 0x1}, std::shared_ptr<arrow::RecordBatch> (use count -161650848,
weak count 32525) = {get() = 0x7f0ef64f6660 <PyContext_methods+160>},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x7f0ef61c6970
<cfunction_vectorcall_FASTCALL_KEYWORDS>},
std::shared_ptr<arrow::RecordBatch> (use count -161635136, weak count
32525) = {get() = 0x1}, <error reading variable: Cannot access memory at
address 0x7>,
<error reading variable: Cannot access memory at address
0x203930202c75685c>, <error reading variable: Cannot access memory at address
0x313a34323a383128>,
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x544d472031},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x7f0ec1e04cb0},
std::shared_ptr<arrow::RecordBatch> (use count -161635136, weak count
32525) = {get() = 0x0}, std::shared_ptr<arrow::RecordBatch> (use count
428080816, weak count 21908) = {
get() = 0x7f0ef64e9880 <rlock_methods+224>},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
std::shared_ptr<arrow::RecordBatch> (empty) = {get() = 0x0},
```
Length of the vector looks corrupt.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]