You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/11/30 07:32:24 UTC

[GitHub] [incubator-doris] weizuo93 opened a new issue #7259: [Bug] BE coredump when manual compaction task is triggered

weizuo93 opened a new issue #7259:
URL: https://github.com/apache/incubator-doris/issues/7259


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master branch : 9b3c83439628317af77dc05b694a24f34e36ac9a
   
   ### What's Wrong?
   
   BE coredump will occurs when manual compaction task is triggered by http interface. The stack is as follow:
   
   ```
   *** Aborted at 1638243517 (unix time) try "date -d @1638243517" if you are using GNU date ***
   PC: @          0x12f5fcc doris::Tablet::calculate_cumulative_point()
   *** SIGSEGV (@0x0) received by PID 5240 (TID 0x7f2f1b541700) from PID 0; stack trace: ***
       @          0x21040a2 google::(anonymous namespace)::FailureSignalHandler()
       @     0x7f2f7be38400 (unknown)
       @          0x12f5fcc doris::Tablet::calculate_cumulative_point()
       @          0x13767a6 doris::CumulativeCompaction::prepare_compact()
       @          0x1370e33 doris::Compaction::compact()
       @          0x19dc384 doris::CompactionAction::_execute_compaction_callback()
       @          0x19dc9ad _ZNSt17_Function_handlerIFSt10unique_ptrINSt13__future_base12_Result_baseENS2_8_DeleterEEvENS1_12_Task_setterIS0_INS1_7_ResultIN5doris10OLAPStatusEEES3_EZNS1_11_Task_stateIZNS8_16CompactionAction22_handle_run_compactionEPNS8_11HttpRequestEPSsEUlvE_SaIiEFS9_vEE6_M_runEvEUlvE_S9_EEE9_M_invokeERKSt9_Any_data
       @          0x1549dcf std::__future_base::_State_baseV2::_M_do_set()
       @     0x7f2f7bbec20b __pthread_once_slow
       @          0x19dcc06 std::thread::_State_impl<>::_M_run()
       @          0x38a2640 execute_native_thread_routine
       @     0x7f2f7bbedea5 start_thread
       @     0x7f2f7bf009fd __clone
       @                0x0 (unknown)
   ```
   
   Member variable`_cumulative_compaction_policy`may be `nullptr` in Object `Tablet`, we should initialize it before compaction task.
   
   ### What You Expected?
   
   When manual compaction task is triggered by http interface, compaction task can be implemented successfully.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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-unsubscribe@doris.apache.org

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



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


[GitHub] [incubator-doris] yangzhg closed issue #7259: [Bug] BE coredump when manual compaction task is triggered

Posted by GitBox <gi...@apache.org>.
yangzhg closed issue #7259:
URL: https://github.com/apache/incubator-doris/issues/7259


   


-- 
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-unsubscribe@doris.apache.org

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



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