incubator-pegasus icon indicating copy to clipboard operation
incubator-pegasus copied to clipboard

`NetProviderTest.AsioNetProvider` failed occasionally due to segmentation fault

Open empiredan opened this issue 2 months ago • 0 comments

While running ASAN tests for dsn_rpc_tests, NetProviderTest.AsioNetProvider failed occasionally due to segmentation fault:

[ RUN      ] NetProviderTest.AsioNetProvider
D2025-09-23 05:06:53.275 (1758604013275032412 272) client.THREAD_POOL_DEFAULT0.0001060856987649: skip interface(lo), address(1.0.0.127)
I2025-09-23 05:06:53.275 (1758604013275046899 272) client.THREAD_POOL_DEFAULT0.0001060856987649: get ip address from network interface(eth0), addr(172.18.0.2), input interface()
D2025-09-23 05:06:53.275 (1758604013275145223 272) client.THREAD_POOL_DEFAULT0.0001060856987649: skip interface(lo), address(1.0.0.127)
I2025-09-23 05:06:53.275 (1758604013275158227 272) client.THREAD_POOL_DEFAULT0.0001060856987649: get ip address from network interface(eth0), addr(172.18.0.2), input interface()
D2025-09-23 05:06:53.275 (1758604013275609753 272) client.THREAD_POOL_DEFAULT0.0001060856987649: skip interface(lo), address(1.0.0.127)
I2025-09-23 05:06:53.275 (1758604013275622827 272) client.THREAD_POOL_DEFAULT0.0001060856987649: get ip address from network interface(eth0), addr(172.18.0.2), input interface()
D2025-09-23 05:06:53.275 (1758604013275713276 272) client.THREAD_POOL_DEFAULT0.0001060856987649: skip interface(lo), address(1.0.0.127)
I2025-09-23 05:06:53.275 (1758604013275725349 272) client.THREAD_POOL_DEFAULT0.0001060856987649: get ip address from network interface(eth0), addr(172.18.0.2), input interface()
D2025-09-23 05:06:53.276 (1758604013276131447 386) client.io-thrd.386: [[client session][[email protected]:20401]] connect to 127.0.0.1:20401 successfully: local = 127.0.0.1:60132
D2025-09-23 05:06:53.276 (1758604013276188153 386) client.io-thrd.386: [[client session][[email protected]:20401]] [boost asio socket] set send_buffer_size 1313280 => 212992 by specifying 16777216
D2025-09-23 05:06:53.276 (1758604013276204323 386) client.io-thrd.386: [[client session][[email protected]:20401]] [boost asio socket] set receive_buffer_size 65536 => 1048576 by specifying 16777216
D2025-09-23 05:06:53.276 (1758604013276240982 386) client.io-thrd.386: [[client session][[email protected]:20401]] [boost asio socket] set no_delay false => true by specifying true
D2025-09-23 05:06:53.276 (1758604013276268428 387) client.io-thrd.387: [[server session][[email protected]:60132]] [boost asio socket] set send_buffer_size 1313280 => 212992 by specifying 16777216
D2025-09-23 05:06:53.276 (1758604013276288135 387) client.io-thrd.387: [[server session][[email protected]:60132]] [boost asio socket] set receive_buffer_size 65536 => 1048576 by specifying 16777216
D2025-09-23 05:06:53.276 (1758604013276309615 387) client.io-thrd.387: [[server session][[email protected]:60132]] [boost asio socket] set no_delay false => true by specifying true
D2025-09-23 05:06:53.276 (1758604013276318311 387) client.io-thrd.387: new client from 127.0.0.1 is connecting to server 172.18.0.2:20401, no connection threshold
I2025-09-23 05:06:53.276 (1758604013276336786 387) client.io-thrd.387: server session accepted, remote_client = 127.0.0.1:60132, current_count = 1
I2025-09-23 05:06:53.276 (1758604013276342958 387) client.io-thrd.387: ip session inserted, remote_client = 127.0.0.1:60132, current_count = 1
D2025-09-23 05:06:53.276 (1758604013276450248 387) client.io-thrd.387: [[server session][[email protected]:60132]] message parser created, remote_client = 127.0.0.1:60132, header_format = 1
I2025-09-23 05:06:53.276 (1758604013276489211 387) client.io-thrd.387: RPC_TEST_NETPROVIDER CREATE, task_id = 0x0100018300010001, type = TASK_TYPE_RPC_REQUEST, rpc_name = RPC_TEST_NETPROVIDER, trace_id = 0x0000000000000000
I2025-09-23 05:06:53.276 (1758604013276502576 387) client.io-thrd.387: RPC_TEST_NETPROVIDER RPC.REQUEST.ENQUEUE (0x5110000b01c0), task_id = 0x0100018300010001, 127.0.0.1:60132 => 172.18.0.2:20401, trace_id = 0x0000000000000000, queue size = 0
I2025-09-23 05:06:53.276 (1758604013276555147 275) client.THREAD_POOL_TEST_SERVER0.72059256190337025: RPC_TEST_NETPROVIDER EXEC BEGIN, task_id = 0x0100018300010001, 127.0.0.1:60132 => 172.18.0.2:20401, trace_id = 0x0000000000000000
I2025-09-23 05:06:53.276 (1758604013276702293 275) client.THREAD_POOL_TEST_SERVER0.72059256190337025: RPC_TEST_NETPROVIDER_ACK RPC.CREATE.RESPONSE, trace_id = 0x0000000000000000
I2025-09-23 05:06:53.276 (1758604013276756304 275) client.THREAD_POOL_TEST_SERVER0.72059256190337025: RPC_TEST_NETPROVIDER_ACK RPC.REPLY: 172.18.0.2:20401 => 127.0.0.1:60132, trace_id = 0x0000000000000000
I2025-09-23 05:06:53.276 (1758604013276857624 275) client.THREAD_POOL_TEST_SERVER0.72059256190337025: RPC_TEST_NETPROVIDER EXEC END, task_id = 0x0100018300010001, err = ERR_OK
I2025-09-23 05:06:53.276 (1758604013276926686 386) client.io-thrd.386: RPC_TEST_NETPROVIDER_ACK RPC.RESPONSE.ENQUEUE, task_id = 0x0101000000000009, invalid address => invalid address, trace_id = 0x0000000000000000, queue size = 0
I2025-09-23 05:06:53.276 (1758604013276990257 273) client.THREAD_POOL_DEFAULT1.72339069014638601: RPC_TEST_NETPROVIDER_ACK EXEC BEGIN, task_id = 0x0101000000000009, invalid address => invalid address, trace_id = 0x0000000000000000
I2025-09-23 05:06:53.277 (1758604013277047314 273) client.THREAD_POOL_DEFAULT1.72339069014638601: RPC_TEST_NETPROVIDER_ACK EXEC END, task_id = 0x0101000000000009, err = ERR_OK
got signal id: 11
Segmentation fault (core dumped)
Error: Process completed with exit code 139.

empiredan avatar Nov 04 '25 09:11 empiredan