junrushao opened a new pull request, #55:
URL: https://github.com/apache/tvm-ffi/pull/55

   I accidentally turned on ASan and it reported some memory issues. This PR 
fixes one of the headache introduced by careless Cython drafting.
   
   ## ASan Report
   
   ```
   READ of size 9 at 0x604000420a30 thread T0
       ...
       #5 0x7fdb57299506 in __pyx_f_4core__type_info_create_from_type_key 
/home/dolores/Projects/tvm-ffi/build/core.cpp:17732
       ...
   
   0x604000420a30 is located 32 bytes inside of 42-byte region 
[0x604000420a10,0x604000420a3a)
   freed by thread T0 here:
       ...
       #4 0x7fdb572994e2 in __pyx_f_4core__type_info_create_from_type_key 
/home/dolores/Projects/tvm-ffi/build/core.cpp:17731
      ...
   
   previously allocated by thread T0 here:
       ...
       #8 0x7fdb57299366 in __pyx_f_4core__type_info_create_from_type_key 
/home/dolores/Projects/tvm-ffi/build/core.cpp:17718
   ```
   
   <img width="1444" height="904" alt="image" 
src="https://github.com/user-attachments/assets/7a80d33d-dedf-41ca-ac77-108e63b8e57b";
 />
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to