amorynan opened a new pull request, #43065:
URL: https://github.com/apache/doris/pull/43065

   ### What problem does this PR solve?
   <!--
   You need to clearly describe your PR in this part:
   
   1. What problem was fixed (it's best to include specific error reporting 
information). How it was fixed.
   2. Which behaviors were modified. What was the previous behavior, what is it 
now, why was it modified, and what possible impacts might there be.
   3. What features were added. Why this function was added.
   4. Which codes were refactored and why this part of the code was refactored.
   5. Which functions were optimized and what is the difference before and 
after the optimization.
   
   The description of the PR needs to enable reviewers to quickly and clearly 
understand the logic of the code modification.
   -->
   
   <!--
   If there are related issues, please fill in the issue number.
   - If you want the issue to be closed after the PR is merged, please use 
"close #12345". Otherwise, use "ref #12345"
   -->
   Issue Number: close #xxx
   
   <!--
   If this PR is followup a preivous PR, for example, fix the bug that 
introduced by a related PR,
   link the PR here
   -->
   Related PR: #xxx
   
   Problem Summary:
   before this pr: 
   if we has ipv6 column in table which is support store_row_column 
   we insert some data
   and then make sql with update we will meet core
   ```
   *** Aborted at 1730367188 (unix time) try "date -d @1730367188" if you are 
using GNU date ***
   *** Current BE git commitID: face753ded ***
   *** SIGSEGV invalid permissions for mapped object (@0x60c000a339ae) received 
by PID 4176451 (TID 4187168 OR 0x7ff774f5a700) from PID 10697134; stack trace: 
***
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, 
siginfo_t*, void*) at 
/mnt/disk1/wangqiannan/amory/doris/be/src/common/signal_handler.h:421
    1# PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] in 
/mnt/disk1/wangqiannan/tool/jdk-17.0.10/lib/server/libjvm.so
    2# JVM_handle_linux_signal in 
/mnt/disk1/wangqiannan/tool/jdk-17.0.10/lib/server/libjvm.so
    3# 0x00007FFFF63AEB50 in /lib64/libc.so.6
    4# doris::IPv6Value::from_string(unsigned __int128&, char const*, unsigned 
long) at /mnt/disk1/wangqiannan/amory/doris/be/src/vec/runtime/ipv6_value.h:55
    5# bool doris::vectorized::read_ipv6_text_impl<unsigned __int128>(unsigned 
__int128&, doris::vectorized::ReadBuffer&) at 
/mnt/disk1/wangqiannan/amory/doris/be/src/vec/io/io_helper.h:316
    6# 
doris::vectorized::DataTypeIPv6SerDe::read_one_cell_from_jsonb(doris::vectorized::IColumn&,
 doris::JsonbValue const*) const at 
/mnt/disk1/wangqiannan/amory/doris/be/src/vec/data_types/serde/data_type_ipv6_serde.cpp:76
    7# 
doris::vectorized::JsonbSerializeUtil::jsonb_to_block(std::vector<std::shared_ptr<doris::vectorized::DataTypeSerDe>,
 std::allocator<std::shared_ptr<doris::vectorized::DataTypeSerDe> > > const&, 
char const*, unsigned long, std::unordered_map<unsigned int, unsigned int, 
std::hash<unsigned int>, std::equal_to<unsigned int>, 
std::allocator<std::pair<unsigned int const, unsigned int> > > const&, 
doris::vectorized::Block&, std::vector<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > > > const&, std::unordered_set<int, std::hash<int>, 
std::equal_to<int>, std::allocator<int> > const&) at 
/mnt/disk1/wangqiannan/amory/doris/be/src/vec/jsonb/serialize.cpp:104
    8# 
doris::vectorized::JsonbSerializeUtil::jsonb_to_block(std::vector<std::shared_ptr<doris::vectorized::DataTypeSerDe>,
 std::allocator<std::shared_ptr<doris::vectorized::DataTypeSerDe> > > const&, 
doris::vectorized::ColumnStr<unsigned int> const&, std::unordered_map<unsigned 
int, unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, 
std::allocator<std::pair<unsigned int const, unsigned int> > > const&, 
doris::vectorized::Block&, std::vector<std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, 
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> > > > const&, std::unordered_set<int, std::hash<int>, 
std::equal_to<int>, std::allocator<int> > const&) at 
/mnt/disk1/wangqiannan/amory/doris/be/src/vec/jsonb/serialize.cpp:83
    9# 
doris::BaseTablet::fetch_value_through_row_column(std::shared_ptr<doris::Rowset>,
 doris::TabletSchema const&, unsigned int, std::vector<unsigned int, 
std::allocator<unsigned int> > const&, std::vector<unsigned int, 
std::allocator<unsigned int> > const&, doris::vectorized::Block&) at 
/mnt/disk1/wangqiannan/amory/doris/be/src/olap/base_tablet.cpp:885
   10# doris::FixedReadPlan::read_columns_by_plan(doris::TabletSchema const&, 
std::vector<unsigned int, std::allocator<unsigned int> >, 
std::map<doris::RowsetId, std::shared_ptr<doris::Rowset>, 
std::less<doris::RowsetId>, std::allocator<std::pair<doris::RowsetId const, 
std::shared_ptr<doris::Rowset> > > > const&, doris::vectorized::Block&, 
std::map<unsigned int, unsigned int, std::less<unsigned int>, 
std::allocator<std::pair<unsigned int const, unsigned int> > >*, signed char 
const*) const at 
/mnt/disk1/wangqiannan/amory/doris/be/src/olap/partial_update_info.cpp:295
   11# doris::FixedReadPlan::fill_missing_columns(doris::RowsetWriterContext*, 
std::map<doris::RowsetId, std::shared_ptr<doris::Rowset>, 
std::less<doris::RowsetId>, std::allocator<std::pair<doris::RowsetId const, 
std::shared_ptr<doris::Rowset> > > > const&, doris::TabletSchema const&, 
doris::vectorized::Block&, std::vector<bool, std::allocator<bool> > const&, 
bool, unsigned long const&, doris::vectorized::Block const*) const at 
/mnt/disk1/wangqiannan/amory/doris/be/src/olap/partial_update_info.cpp:332
   12# 
doris::segment_v2::VerticalSegmentWriter::_append_block_with_partial_content(doris::segment_v2::RowsInBlock&,
 doris::vectorized::Block&) at 
/mnt/disk1/wangqiannan/amory/doris/be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:502
   ```
   
   ### Check List (For Committer)
   
   - Test <!-- At least one of them must be included. -->
   
       - [ ] Regression test
       - [x] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No colde files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
   
       - [x] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
   
       - [x] No.
       - [ ] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   - Release note
   
       <!-- bugfix, feat, behavior changed need a release note -->
       <!-- Add one line release note for this PR. -->
       None
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to