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

   @raulcd @CurtHagenlocher The root cause, I think, is that we need to cherry 
pick https://github.com/apache/arrow/issues/36688 
(https://github.com/apache/arrow/commit/b4775012ab0f7d8f996538af69f7d1c732f16ff0)
  You mentioned that you cherry picked this one already and the issue still 
reproduced.  However, this fixes it for me locally and it matches the stack 
trace I got from further debugging which was:
   
   ```
   OS Thread Id: 0x11059
           Child SP               IP Call Site
   00007F1BAEFFB800 00007f5d28cea49f [HelperMethodFrame_1OBJ: 00007f1baeffb800] 
   00007F1BAEFFB930 00007F5CA9768CCD 
System.Runtime.CompilerServices.CastHelpers.ChkCast_Helper(Void*, 
System.Object) 
[/_/src/coreclr/System.Private.CoreLib/src/System/Runtime/CompilerServices/CastHelpers.cs
 @ 390]
   00007F1BAEFFB960 00007F5CB075D760 
Apache.Arrow.C.CArrowArrayStreamExporter+ExportedArrayStream.Free(Void**) 
[/home/pace/dev/arrow/csharp/src/Apache.Arrow/C/CArrowArrayStreamExporter.cs @ 
169]
   00007F1BAEFFB9B0 00007F5CB075D68B 
Apache.Arrow.C.CArrowArrayStreamExporter.Release(Apache.Arrow.C.CArrowArrayStream*)
 [/home/pace/dev/arrow/csharp/src/Apache.Arrow/C/CArrowArrayStreamExporter.cs @ 
138]
   00007F1BAEFFBA30 00007f1b72cfa607 [InlinedCallFrame: 00007f1baeffba30] 
   00007F1BAEFFBA30 00007f5cac346125 [InlinedCallFrame: 00007f1baeffba30] 
   00007F1BAEFFBA20 00007F5CAC346125 
Python.Runtime.Runtime.Py_DecRef(Python.Runtime.StolenReference)
   00007F1BAEFFBAC0 00007F5CAC345DCC 
Python.Runtime.Runtime.XDecref(Python.Runtime.StolenReference)
   00007F1BAEFFBAE0 00007F5CB070D944 Python.Runtime.Finalizer.DisposeAll()
   00007F1BAEFFBC40 00007F5CB075D239 
Python.Runtime.Runtime.TryCollectingGarbage(Int32, Boolean)
   00007F1BAEFFBCB0 00007F5CB075D148 
Python.Runtime.Runtime.TryCollectingGarbage(Int32)
   00007F1BAEFFBCD0 00007F5CB075CFB0 Python.Runtime.Runtime.Shutdown()
   00007F1BAEFFBCF0 00007F5CB075CDC7 Python.Runtime.PythonEngine.Shutdown()
   ```
   
   Can you try cherry picking this one commit and see if that fixes it?


-- 
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]

Reply via email to