You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "westonpace (via GitHub)" <gi...@apache.org> on 2023/02/02 19:26:18 UTC

[GitHub] [arrow] westonpace commented on issue #33975: [Python] Process hangs after calling pq.read_table with io.BytesIO

westonpace commented on issue #33975:
URL: https://github.com/apache/arrow/issues/33975#issuecomment-1414251599

   I don't get a hang but I do get a crash.  It looks like some `read_table` cleanup work is still happening after the method returns.  Then, during shutdown, it tries to close the file and that tries to grab the GIL but python is already shutdown so this crashes.  This is one of the things I'm hoping to eventually cleanup with the new scanner which :crossed_fingers: will make it in 12.0.0.
   
   Do you get a hang if you sleep for a few seconds after the read call before you exit the process?


-- 
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: github-unsubscribe@arrow.apache.org

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