Skip to content

Conversation

@bobhan1
Copy link
Contributor

@bobhan1 bobhan1 commented Jan 15, 2026

What problem does this PR solve?

When BaseBetaRowsetWriter is destructed(this may happen when the load is canceled) before the execution of the task submitted to thread pool, the task may encounter coredump due to use after free.

(gdb) bt
#0  __GI___pthread_sigmask (how=2, newmask=<optimized out>, oldmask=0x0) at ./nptl/pthread_sigmask.c:43
#1  0x00007fa1d0c1171e in PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] () from /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
#2  0x00007fa1d0c12206 in JVM_handle_linux_signal () from /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
#3  <signal handler called>
#4  doris::TUniqueId::TUniqueId (this=0x7f99955f2208, other51=...) at /home/zcp/repo_center/doris_branch-4.0/doris/gensrc/build/gen_cpp/Types_types.cpp:2571
#5  0x00005653d14008ca in doris::AttachTask::init (rc=..., this=<optimized out>) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/runtime/thread_context.cpp:29
#6  doris::AttachTask::AttachTask (this=<optimized out>, rc=...) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/runtime/thread_context.cpp:34
#7  0x00005653d0d05087 in doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}::operator()() const (this=0x7f9cdf302500)
    at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/olap/calc_delete_bitmap_executor.h:74
#8  std::__invoke_impl<void, doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&>(std::__invoke_other, doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&) (__f=...)
    at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/invoke.h:63
#9  std::__invoke_r<void, doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&>(doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&) (__fn=...) at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/invoke.h:113
#10 std::_Function_handler<void (), doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (
    __functor=...) at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:292
#11 0x00005653d16392e5 in doris::ThreadPool::dispatch_thread (this=0x7fa120d9af00) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/util/threadpool.cpp:616
#12 0x00005653d162e38c in std::function<void ()>::operator()() const (this=0x7f99955f2208) at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:593
#13 doris::Thread::supervise_thread (arg=0x7fa0c0049110) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/util/thread.cpp:460
#14 0x00007fa1cfcacac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fa1cfd3e850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • 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 code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@Thearas
Copy link
Contributor

Thearas commented Jan 15, 2026

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  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 was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@bobhan1
Copy link
Contributor Author

bobhan1 commented Jan 15, 2026

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 31197 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit c94f3175093e32b59aa2ea5e6d1fceef4952215d, data reload: false

------ Round 1 ----------------------------------
q1	17632	4228	4019	4019
q2	2010	342	252	252
q3	10185	1249	708	708
q4	10202	804	303	303
q5	7531	2090	1801	1801
q6	184	171	138	138
q7	933	817	660	660
q8	9264	1348	1133	1133
q9	4870	4572	4580	4572
q10	6761	1777	1387	1387
q11	508	295	281	281
q12	692	743	609	609
q13	17769	3839	3096	3096
q14	284	286	272	272
q15	582	510	499	499
q16	691	677	647	647
q17	646	804	471	471
q18	6523	6478	6300	6300
q19	1099	971	623	623
q20	378	356	242	242
q21	2939	2408	2229	2229
q22	1027	1004	955	955
Total cold run time: 102710 ms
Total hot run time: 31197 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4087	4004	4001	4001
q2	329	392	321	321
q3	2059	2573	2242	2242
q4	1318	1754	1311	1311
q5	4132	3978	4101	3978
q6	205	167	130	130
q7	1840	1831	1670	1670
q8	2737	2458	2409	2409
q9	7451	7153	7210	7153
q10	2501	2822	2379	2379
q11	590	487	451	451
q12	718	805	612	612
q13	3582	4171	3497	3497
q14	281	302	272	272
q15	546	526	509	509
q16	644	715	663	663
q17	1188	1357	1417	1357
q18	7920	7559	7692	7559
q19	872	824	816	816
q20	2058	2130	1956	1956
q21	4637	4286	4051	4051
q22	1040	1010	990	990
Total cold run time: 50735 ms
Total hot run time: 48327 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 173648 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit c94f3175093e32b59aa2ea5e6d1fceef4952215d, data reload: false

query5	4429	618	465	465
query6	325	216	214	214
query7	4220	457	250	250
query8	322	242	231	231
query9	8716	2824	2825	2824
query10	518	377	335	335
query11	15232	15011	14852	14852
query12	171	118	113	113
query13	1242	467	401	401
query14	6301	3016	2774	2774
query14_1	2688	2656	2685	2656
query15	196	194	177	177
query16	962	483	457	457
query17	1112	707	567	567
query18	2558	445	339	339
query19	229	220	193	193
query20	123	113	114	113
query21	215	147	126	126
query22	3834	3860	3955	3860
query23	15947	15627	15287	15287
query23_1	15415	15293	15872	15293
query24	7123	1562	1202	1202
query24_1	1158	1189	1177	1177
query25	555	473	425	425
query26	1245	269	154	154
query27	2767	448	285	285
query28	4550	2136	2122	2122
query29	797	563	450	450
query30	309	238	208	208
query31	783	618	561	561
query32	82	73	72	72
query33	543	356	326	326
query34	905	896	522	522
query35	717	785	682	682
query36	863	921	854	854
query37	138	104	132	104
query38	2657	2696	2674	2674
query39	761	776	725	725
query39_1	715	702	733	702
query40	218	133	119	119
query41	63	62	64	62
query42	101	107	102	102
query43	449	445	417	417
query44	1304	729	720	720
query45	183	179	174	174
query46	814	938	564	564
query47	1393	1479	1328	1328
query48	306	313	241	241
query49	600	416	364	364
query50	631	277	201	201
query51	3816	3776	3768	3768
query52	101	106	94	94
query53	294	321	267	267
query54	281	266	263	263
query55	82	77	79	77
query56	301	314	301	301
query57	1025	996	896	896
query58	272	260	253	253
query59	1987	2120	2142	2120
query60	331	329	310	310
query61	157	154	147	147
query62	379	350	317	317
query63	290	265	265	265
query64	4935	1288	984	984
query65	3800	3704	3731	3704
query66	1430	419	330	330
query67	15632	15538	15337	15337
query68	2403	1066	748	748
query69	432	354	319	319
query70	1005	916	909	909
query71	318	306	291	291
query72	5360	3257	3332	3257
query73	597	717	308	308
query74	8688	8660	8536	8536
query75	2745	2842	2483	2483
query76	2291	1051	633	633
query77	358	373	315	315
query78	9629	9832	9102	9102
query79	1182	896	568	568
query80	1337	587	482	482
query81	548	265	233	233
query82	990	143	110	110
query83	322	253	241	241
query84	252	118	96	96
query85	933	520	443	443
query86	407	289	319	289
query87	2863	2846	2821	2821
query88	3488	2591	2540	2540
query89	382	339	323	323
query90	1986	170	169	169
query91	175	160	131	131
query92	73	73	65	65
query93	1048	876	526	526
query94	651	329	297	297
query95	580	338	389	338
query96	637	500	225	225
query97	2338	2397	2339	2339
query98	203	209	194	194
query99	615	592	536	536
Total cold run time: 246879 ms
Total hot run time: 173648 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 27.07 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit c94f3175093e32b59aa2ea5e6d1fceef4952215d, data reload: false

query1	0.05	0.04	0.04
query2	0.09	0.04	0.05
query3	0.25	0.09	0.08
query4	1.61	0.12	0.11
query5	0.28	0.25	0.25
query6	1.15	0.67	0.65
query7	0.03	0.02	0.03
query8	0.06	0.04	0.04
query9	0.57	0.50	0.50
query10	0.54	0.55	0.55
query11	0.14	0.09	0.10
query12	0.14	0.11	0.11
query13	0.60	0.58	0.59
query14	0.95	0.95	0.94
query15	0.80	0.78	0.79
query16	0.40	0.41	0.43
query17	1.07	1.03	1.08
query18	0.22	0.21	0.21
query19	1.96	1.90	1.91
query20	0.02	0.01	0.01
query21	15.44	0.25	0.14
query22	5.28	0.05	0.04
query23	16.05	0.26	0.09
query24	1.91	0.51	1.15
query25	0.11	0.06	0.07
query26	0.14	0.13	0.13
query27	0.08	0.06	0.05
query28	4.65	1.07	0.88
query29	12.60	3.88	3.14
query30	0.27	0.14	0.12
query31	2.82	0.63	0.40
query32	3.25	0.55	0.45
query33	2.94	3.00	3.02
query34	16.35	5.09	4.44
query35	4.53	4.45	4.42
query36	0.66	0.50	0.49
query37	0.11	0.06	0.07
query38	0.07	0.05	0.04
query39	0.04	0.03	0.03
query40	0.15	0.14	0.14
query41	0.09	0.03	0.03
query42	0.04	0.03	0.03
query43	0.05	0.04	0.04
Total cold run time: 98.56 s
Total hot run time: 27.07 s

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 100.00% (3/3) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.98% (18986/35839)
Line Coverage 39.02% (175873/450772)
Region Coverage 33.63% (136330/405379)
Branch Coverage 34.64% (58883/169976)

@bobhan1
Copy link
Contributor Author

bobhan1 commented Jan 15, 2026

run p0

@bobhan1
Copy link
Contributor Author

bobhan1 commented Jan 15, 2026

run cloud_p0

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (3/3) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 72.23% (25369/35122)
Line Coverage 59.00% (265624/450187)
Region Coverage 53.81% (220543/409887)
Branch Coverage 55.45% (94676/170737)

@bobhan1
Copy link
Contributor Author

bobhan1 commented Jan 15, 2026

run buildall

@doris-robot
Copy link

TPC-H: Total hot run time: 31870 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit 87292ec26ad8f67863bba92d4ffa176718f0d437, data reload: false

------ Round 1 ----------------------------------
q1	17603	4196	4019	4019
q2	2050	351	276	276
q3	10150	1269	704	704
q4	10206	795	303	303
q5	7460	2030	1839	1839
q6	186	173	134	134
q7	929	768	664	664
q8	9269	1404	1110	1110
q9	4855	4715	4608	4608
q10	6769	1792	1395	1395
q11	518	303	270	270
q12	664	740	594	594
q13	17773	3820	3092	3092
q14	289	318	271	271
q15	597	507	504	504
q16	676	669	663	663
q17	648	740	563	563
q18	6533	6304	6685	6304
q19	1856	1016	681	681
q20	415	369	267	267
q21	3200	2575	2585	2575
q22	1169	1105	1034	1034
Total cold run time: 103815 ms
Total hot run time: 31870 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4241	4222	4282	4222
q2	361	419	321	321
q3	2246	2799	2461	2461
q4	1530	1853	1391	1391
q5	4744	4239	4474	4239
q6	226	182	131	131
q7	2047	1916	1803	1803
q8	2553	2356	2372	2356
q9	7334	7249	7221	7221
q10	2461	2696	2268	2268
q11	543	470	443	443
q12	653	680	599	599
q13	3328	3781	3100	3100
q14	263	301	259	259
q15	524	501	482	482
q16	608	649	592	592
q17	1078	1278	1327	1278
q18	7355	7381	7246	7246
q19	828	776	763	763
q20	1852	1913	1867	1867
q21	4553	4156	4166	4156
q22	1083	1045	1014	1014
Total cold run time: 50411 ms
Total hot run time: 48212 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 175477 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit 87292ec26ad8f67863bba92d4ffa176718f0d437, data reload: false

query5	4444	652	522	522
query6	325	231	225	225
query7	4224	480	266	266
query8	341	248	247	247
query9	8636	2879	2909	2879
query10	515	403	327	327
query11	15751	15434	15111	15111
query12	174	116	116	116
query13	1281	493	378	378
query14	6233	3064	2778	2778
query14_1	2688	2668	2719	2668
query15	195	188	172	172
query16	987	487	453	453
query17	1113	692	584	584
query18	2491	450	361	361
query19	229	228	200	200
query20	125	125	126	125
query21	220	144	120	120
query22	3793	3991	3837	3837
query23	15882	15502	15184	15184
query23_1	15277	15390	15421	15390
query24	7140	1568	1196	1196
query24_1	1153	1199	1193	1193
query25	566	485	424	424
query26	1247	276	154	154
query27	2763	466	292	292
query28	4519	2137	2128	2128
query29	790	572	454	454
query30	326	254	221	221
query31	816	632	600	600
query32	90	77	77	77
query33	540	367	331	331
query34	903	909	547	547
query35	729	764	700	700
query36	888	912	833	833
query37	136	105	95	95
query38	2788	2744	2684	2684
query39	769	758	727	727
query39_1	722	710	739	710
query40	229	140	124	124
query41	72	69	68	68
query42	107	110	108	108
query43	435	495	402	402
query44	1336	753	735	735
query45	191	184	177	177
query46	843	968	606	606
query47	1379	1519	1476	1476
query48	329	331	249	249
query49	626	461	369	369
query50	630	283	217	217
query51	3838	3847	3838	3838
query52	104	113	100	100
query53	300	342	274	274
query54	316	280	281	280
query55	86	86	80	80
query56	324	334	372	334
query57	1012	1027	957	957
query58	268	255	253	253
query59	2060	2218	2121	2121
query60	351	342	327	327
query61	161	165	158	158
query62	404	364	299	299
query63	293	266	265	265
query64	4903	1307	1004	1004
query65	3776	3709	3752	3709
query66	1443	418	314	314
query67	15707	15791	15652	15652
query68	2400	1083	747	747
query69	461	367	350	350
query70	996	978	972	972
query71	330	318	301	301
query72	5535	3326	3372	3326
query73	591	725	304	304
query74	8737	8713	8523	8523
query75	2817	2857	2494	2494
query76	2277	1055	679	679
query77	359	399	305	305
query78	10066	10098	9237	9237
query79	1072	940	572	572
query80	1290	586	506	506
query81	560	282	256	256
query82	994	149	111	111
query83	323	261	253	253
query84	249	113	87	87
query85	931	514	453	453
query86	412	302	290	290
query87	3022	2915	2780	2780
query88	3514	2591	2562	2562
query89	393	363	331	331
query90	1976	178	169	169
query91	166	172	142	142
query92	82	74	73	73
query93	960	913	526	526
query94	645	334	257	257
query95	614	338	326	326
query96	633	502	232	232
query97	2389	2423	2343	2343
query98	214	204	208	204
query99	595	569	485	485
Total cold run time: 248646 ms
Total hot run time: 175477 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 26.74 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 87292ec26ad8f67863bba92d4ffa176718f0d437, data reload: false

query1	0.06	0.05	0.05
query2	0.10	0.04	0.04
query3	0.26	0.08	0.08
query4	1.61	0.11	0.11
query5	0.30	0.25	0.26
query6	1.14	0.66	0.64
query7	0.03	0.03	0.03
query8	0.05	0.04	0.03
query9	0.57	0.51	0.50
query10	0.56	0.55	0.53
query11	0.14	0.10	0.10
query12	0.15	0.10	0.11
query13	0.60	0.59	0.57
query14	0.96	0.95	0.94
query15	0.80	0.77	0.79
query16	0.40	0.40	0.42
query17	1.04	1.02	1.00
query18	0.23	0.21	0.21
query19	1.90	1.79	1.77
query20	0.02	0.01	0.01
query21	15.47	0.29	0.14
query22	5.25	0.05	0.05
query23	16.18	0.29	0.11
query24	1.53	0.30	0.63
query25	0.11	0.07	0.06
query26	0.14	0.13	0.13
query27	0.05	0.08	0.05
query28	4.67	1.08	0.89
query29	12.52	4.00	3.22
query30	0.30	0.14	0.11
query31	2.80	0.64	0.40
query32	3.24	0.56	0.44
query33	3.01	3.07	3.05
query34	15.82	5.14	4.38
query35	4.47	4.43	4.44
query36	0.67	0.50	0.49
query37	0.10	0.07	0.07
query38	0.06	0.05	0.04
query39	0.05	0.03	0.04
query40	0.17	0.14	0.14
query41	0.08	0.03	0.02
query42	0.04	0.03	0.02
query43	0.05	0.04	0.04
Total cold run time: 97.7 s
Total hot run time: 26.74 s

@doris-robot
Copy link

BE UT Coverage Report

Increment line coverage 100.00% (3/3) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.97% (18987/35844)
Line Coverage 39.01% (175868/450822)
Region Coverage 33.62% (136305/405394)
Branch Coverage 34.64% (58885/169992)

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jan 15, 2026
@dataroaring dataroaring removed the approved Indicates a PR has been approved by one committer. label Jan 15, 2026
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jan 16, 2026
@yiguolei
Copy link
Contributor

skip check_coverage

@yiguolei yiguolei merged commit fbcca5e into apache:master Jan 16, 2026
27 of 29 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 16, 2026
…59920)

### What problem does this PR solve?
When `BaseBetaRowsetWriter` is destructed(this may happen when the load
is canceled) before the execution of the task submitted to thread pool,
the task may encounter coredump due to use after free.
```
(gdb) bt
#0  __GI___pthread_sigmask (how=2, newmask=<optimized out>, oldmask=0x0) at ./nptl/pthread_sigmask.c:43
#1  0x00007fa1d0c1171e in PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] () from /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
#2  0x00007fa1d0c12206 in JVM_handle_linux_signal () from /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
#3  <signal handler called>
#4  doris::TUniqueId::TUniqueId (this=0x7f99955f2208, other51=...) at /home/zcp/repo_center/doris_branch-4.0/doris/gensrc/build/gen_cpp/Types_types.cpp:2571
#5  0x00005653d14008ca in doris::AttachTask::init (rc=..., this=<optimized out>) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/runtime/thread_context.cpp:29
#6  doris::AttachTask::AttachTask (this=<optimized out>, rc=...) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/runtime/thread_context.cpp:34
#7  0x00005653d0d05087 in doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}::operator()() const (this=0x7f9cdf302500)
    at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/olap/calc_delete_bitmap_executor.h:74
#8  std::__invoke_impl<void, doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&>(std::__invoke_other, doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&) (__f=...)
    at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/invoke.h:63
#9  std::__invoke_r<void, doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&>(doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}&) (__fn=...) at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/invoke.h:113
#10 std::_Function_handler<void (), doris::CalcDeleteBitmapToken::submit_func<doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0>(doris::BaseBetaRowsetWriter::_generate_delete_bitmap(int)::$_0&&)::{lambda()#1}>::_M_invoke(std::_Any_data const&) (
    __functor=...) at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:292
#11 0x00005653d16392e5 in doris::ThreadPool::dispatch_thread (this=0x7fa120d9af00) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/util/threadpool.cpp:616
#12 0x00005653d162e38c in std::function<void ()>::operator()() const (this=0x7f99955f2208) at /usr/local/ldb-toolchain-v0.26/bin/../lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/std_function.h:593
#13 doris::Thread::supervise_thread (arg=0x7fa0c0049110) at /home/zcp/repo_center/doris_branch-4.0/doris/be/src/util/thread.cpp:460
#14 0x00007fa1cfcacac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fa1cfd3e850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
```

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] 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 code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
apache/doris-website#1214 -->

### 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 -->
yiguolei pushed a commit that referenced this pull request Jan 16, 2026
…mapToken` #59920 (#59950)

Cherry-picked from #59920

Co-authored-by: bobhan1 <baohan@selectdb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/4.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants