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 2019/12/05 11:55:31 UTC

[GitHub] [incubator-doris] WingsGo opened a new issue #2390: Fix segmentation fault bug when be failed to read cluster_id file

WingsGo opened a new issue #2390: Fix segmentation fault bug when be failed to read cluster_id file
URL: https://github.com/apache/incubator-doris/issues/2390
 
 
   **Describe the bug**
   When BE start, be will read cluster_id file to get cluster_id, if be is not permit to access cluster_id file, it will cause Segmentation fault.
   
   BE.WARN long:
   W1205 19:18:15.292404 181469 data_dir.cpp:134] fail to open cluster id path. path=/home/work/ssd1/doris_storage.SSD/cluster_id
   W1205 19:18:15.292423 181469 storage_engine.cpp:153] Store load failed, path=/home/work/ssd1/doris_storage.SSD
   W1205 19:18:15.292433 181469 storage_engine.cpp:95] engine open failed, res=-222
   
   be.out:
   *** Aborted at 1575544586 (unix time) try "date -d @1575544586" if you are using GNU date ***
   PC: @           0xed84b4 doris::MemTableFlushExecutor::~MemTableFlushExecutor()
   *** SIGSEGV (@0x0) received by PID 177793 (TID 0x7f7eb172c580) from PID 0; stack trace: ***
       @     0x7f7eb086f250 (unknown)
       @           0xed84b4 doris::MemTableFlushExecutor::~MemTableFlushExecutor()
       @           0xe565c6 doris::StorageEngine::clear()
       @           0xe5ac29 doris::StorageEngine::~StorageEngine()
       @           0xe5b599 doris::StorageEngine::open()
       @           0xc04f79 main
       @     0x7f7eb085bb35 __libc_start_main
       @           0xd5aae3 (unknown)
   
   The reason of the problem is that when StorageEngine::open() function failed, the class member _memtable_flush_executor is not initialize and in ~St
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. use root privilage to start be and add it to fe
   2. use work privilage to start be.
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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