xingyingone opened a new issue, #22778:
URL: https://github.com/apache/doris/issues/22778

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   hadoop@olap-test2:~/xingying01/doris/be/build_Debug/src/service$  
/home/hadoop/xingying01/doris/be/build_Debug/src/service/doris_be   --version
   doris-0.0.0-trunk(AVX2) DEBUG (build 
git:****@d5d82b7c31a93dc9ad4443c35f9d7f3e9d380d1e)
   Built on Fri, 04 Aug 2023 16:03:35 CST by olap-test2.jd.163.org
   
   I build from d5d82b7c31a93dc9ad4443c35f9d7f3e9d380d1e  in debug mode
   
   
   ### What's Wrong?
   
   be Accidental crash, I did it 10 times, and I probably repeated it twice 
twice. Unfortunately, however, gdb does not show the full stack。
   
   I0809 15:10:00.325420 92538[ 
tablet_manager.cpp:943](https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxcheckurl?requrl=http%3A%2F%2Ftablet_manager.cpp%3A943&skey=%40crypt_9c637027_e14ccf5fb5756a932a503b63df12130d&deviceid=e419211606115829&pass_ticket=YWfrPFk8cvAhjtef4CFikWJ62HBbXvsmwcVeMpUY8aMVsTtmePQAqN%252Fbw6OSr34v&opcode=2&scene=1&username=@e306e3d1353d8bda7f6d1388b73b5c338a364db9d0a80d4a039d1a508b08170b)]
 success to build all report tablets info. tablet_count=28
   I0809 15:10:00.325788 92538[ 
task_worker_pool.cpp:1004](https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxcheckurl?requrl=http%3A%2F%2Ftask_worker_pool.cpp%3A1004&skey=%40crypt_9c637027_e14ccf5fb5756a932a503b63df12130d&deviceid=e419211606115829&pass_ticket=YWfrPFk8cvAhjtef4CFikWJ62HBbXvsmwcVeMpUY8aMVsTtmePQAqN%252Fbw6OSr34v&opcode=2&scene=1&username=@e306e3d1353d8bda7f6d1388b73b5c338a364db9d0a80d4a039d1a508b08170b)]
 successfully report TABLET|host=10.**.**.87|port=9021
   I0809 15:10:04.848225 92535[ 
task_worker_pool.cpp:1004](https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxcheckurl?requrl=http%3A%2F%2Ftask_worker_pool.cpp%3A1004&skey=%40crypt_9c637027_e14ccf5fb5756a932a503b63df12130d&deviceid=e419211606115829&pass_ticket=YWfrPFk8cvAhjtef4CFikWJ62HBbXvsmwcVeMpUY8aMVsTtmePQAqN%252Fbw6OSr34v&opcode=2&scene=1&username=@e306e3d1353d8bda7f6d1388b73b5c338a364db9d0a80d4a039d1a508b08170b)]
 successfully report TASK|host=10.**.**.87|port=9021
   Signal: SIGSEGV (Segmentation fault)
   I0809 15:10:13.561190 92409[ 
olap_server.cpp:1039](https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxcheckurl?requrl=http%3A%2F%2Folap_server.cpp%3A1039&skey=%40crypt_9c637027_e14ccf5fb5756a932a503b63df12130d&deviceid=e419211606115829&pass_ticket=YWfrPFk8cvAhjtef4CFikWJ62HBbXvsmwcVeMpUY8aMVsTtmePQAqN%252Fbw6OSr34v&opcode=2&scene=1&username=@e306e3d1353d8bda7f6d1388b73b5c338a364db9d0a80d4a039d1a508b08170b)]
 cooldown producer get tablet num: 0
   *** Query id: b6402d68b31349f7-8ac0300877c35e3f ***
   *** Aborted at 1691565014 (unix time) try "date -d @1691565014" if you are 
using GNU date ***
   *** Current BE git commitID: d5d82b7 ***
   *** SIGSEGV invalid permissions for mapped object (@0x7fff7c61bb00) received 
by PID 43788 (TID 92840 OR 0x7ffd14482700) from PID 2086779648; stack trace: ***
   I0809 15:10:15.538467 67024[ 
heartbeat_server.cpp:61](https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxcheckurl?requrl=http%3A%2F%2Fheartbeat_server.cpp%3A61&skey=%40crypt_9c637027_e14ccf5fb5756a932a503b63df12130d&deviceid=e419211606115829&pass_ticket=YWfrPFk8cvAhjtef4CFikWJ62HBbXvsmwcVeMpUY8aMVsTtmePQAqN%252Fbw6OSr34v&opcode=2&scene=1&username=@e306e3d1353d8bda7f6d1388b73b5c338a364db9d0a80d4a039d1a508b08170b)]
 get heartbeat from[ 
FE.host:10.](https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxcheckurl?requrl=http%3A%2F%2FFE.host%3A10.&skey=%40crypt_9c637027_e14ccf5fb5756a932a503b63df12130d&deviceid=e419211606115829&pass_ticket=YWfrPFk8cvAhjtef4CFikWJ62HBbXvsmwcVeMpUY8aMVsTtmePQAqN%252Fbw6OSr34v&opcode=2&scene=1&username=@e306e3d1353d8bda7f6d1388b73b5c338a364db9d0a80d4a039d1a508b08170b)**.**.87,
 port:9021, cluster id:1477139465, counter:25, BE start time: 1691564868551
    0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, 
siginfo_t*, void*) at 
/home/hadoop/xingying01/doris/be/src/common/signal_handler.h:413
    1# os::Linux::chained_handler(int, siginfo*, void*) in 
/home/hadoop/impala/packages/jdk1.8.0_152/jre/lib/amd64/server/libjvm.so
    2# JVM_handle_linux_signal in 
/home/hadoop/impala/packages/jdk1.8.0_152/jre/lib/amd64/server/libjvm.so
    3# signalHandler(int, siginfo*, void*) in 
/home/hadoop/impala/packages/jdk1.8.0_152/jre/lib/amd64/server/libjvm.so
    4# 0x00007FFFF7621400 in /lib64/libc.so.6
    5# 0x00007FFF7C61BB00
   
   (gdb) bt
   #0  0x00007fff44d2d000 in ?? ()
   #1  0x000055556ee2a3f1 in 
doris::vectorized::IDataType::get_name[abi:cxx11]() const (this=0x7ffd15473bb0) 
at /home/hadoop/xingying01/doris/be/src/vec/data_types/data_type.cpp:49
   #2  0x00007ffd154736ff in ?? ()
   #3  0x0000000000000000 in ?? ()
   
   
   
   ### What You Expected?
   
   I wish some old drivers could guide me a little bit and I would be happy to 
fix this problem
   
   ### How to Reproduce?
   
   be Accidental crash, I did it 10 times, and I probably repeated it twice 
twice. The method of repetition is as follows: 
      
   CREATE TABLE `test_map_agg_alex4` (
           `id` int(11) NOT NULL,
           `label_name` varchar(32) default null,
           `value_field` string default null,
       ) ENGINE=OLAP
       DUPLICATE KEY(`id`)
       COMMENT 'OLAP'
       DISTRIBUTED BY HASH(`id`) BUCKETS 1
       PROPERTIES (
       "replication_allocation" = "tag.location.default: 1",
       "storage_format" = "V2",
       "light_schema_change" = "true",
       "disable_auto_compaction" = "false",
       "enable_single_replica_compaction" = "false"
       );
       
                   insert into `test_map_agg_alex4` values
               (1, NULL,NULL),
               (1, "LB", "V1_2"),
               (1, "LC", "V1_3"),
               (2, "LA", "V2_1"),
               (2, "LB", "V2_2"),
               (2, NULL, "V2_3"),
               (3, "LA", "V3_1"),
               (3, NULL, NULL),
               (3, "LC", "V3_3"),
               (4, "LA", "V4_1"),
               (4, "LB", "V4_2"),
               (4, "LC", "V4_3"),
               (5, "LA", "V5_1"),
               (5, "LB", "V5_2"),
               (5, "LC", "V5_3");
               
     SELECT id, map_agg(label_name,value_field) FROM test_map_agg_alex4 GROUP 
BY id;
   
   ### Anything Else?
   
   no
   
   ### 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-unsubscr...@doris.apache.org.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