wangbo edited a comment on issue #2037: Segment v2 stream load core dump
URL: 
https://github.com/apache/incubator-doris/issues/2037#issuecomment-545257285
 
 
   use ASAN to build code and reproduce the case,stack as above;
   In thread T653,Page try to deconstruct slice's data,but failed,the address 
is 0x60e0005e6ba8;
   the 0x60e0005e6ba8 is allocate in  a new BitshuffleBuilder;
   The address transfer chain as below:
   BitshuffleBuilder.fastring.data() => BitshuffleBuilder.finish =>  
ColumnWriter.pages.data.data => delete ColumnWriter.pages.data.data
   the key point is:if faststring didn't GrowArray,the fastring.data() is not a 
array when using new to allocate;
   So I use faststring.release to instead of fastring.data() in all 
PageBuilder, then the core dump is fixed
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to