zanmato1984 commented on issue #41407:
URL: https://github.com/apache/arrow/issues/41407#issuecomment-2081399928

   Thanks for locating the issue. I can confirm that it is introduced by my PR 
#40237.
   
   The error message is straightforward - down-casting to derived class in the 
CRTP base class constructor. However I cannot reproduce it in C++ using 
AppleClang (with ASAN and UBSAN - I also removed the suppressions of sanitizing 
`vptr` and others). Neither can I find anything specific in C++ standard 
addressing if this is UB or not.
   
   The fix should be easy - I can just change the member function called by 
constructor to be a static one. But please let me try reproducing on Ubuntu 
using GCC first, so that I can have more comprehension about how sanitizer 
deals with this kind of issue.
   
   Will update soon.


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