js8544 commented on PR #34014:
URL: https://github.com/apache/arrow/pull/34014#issuecomment-1416618143

   I can also reproduce this locally. Here's what I can find out with gdb:
   
   1. The UB happens because `rpc.context.initial_metadata_corked_` is not 
initialized.
   2. The constructor `ClientContext::ClientContext()` is called, but only a 
few member variables are initialized, `initial_metadata_corked_` is not one of 
them.
   3.  This only happens when UBSAN and ASAN are on. In a regular build 
`rpc.context` is properly initialized.


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