-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segmentation fault in ExtensionTest.GraphLoopMultipleCircleThroughCmdWithDefault, may caused by retry mechanism in protocol #295
Comments
cpulimit -f -l 60 -- taskset 0x3 /tmp/jenkins/ten_framework_internal_base/ten_framework/tools/shell/cmd_wrapper.sh ./ten_runtime_smoke_test 尝试复现 |
warning: Section `.reg-xstate/3319608' in core file too small. |
且只在 TEN_ENABLE_MEMORY_TRACKING=true 时能复现 |
==2273325==ERROR: AddressSanitizer: stack-overflow on address 0xf43bdedc (pc 0xf7892005 bp 0xf43be3c8 sp 0xf43bdee0 T2) SUMMARY: AddressSanitizer: stack-overflow ../../../ten_framework_internal_base/ten_framework/core/src/ten_utils/lib/sys/general/signature.c:16 in ten_signature_get Thread T1 created by T0 here: ==2273325==ABORTING |
先把导致stack overflow的 ten_msg_clear_dest_msgpack_serialization_hack 这个已经没有用的方法给删掉,暂时看上去CI测试不会失败,但并没有找到最根本的解法,后面看看还会不会跑出来。 |
12:28:54 [ RUN ] ExtensionTest.GraphLoopMultipleCircleThroughCmdWithDefault
12:28:54 11-19 12:28:53.799 1659072(1659594) I [email protected]:68 [] App is created.
12:28:54 11-19 12:28:53.864 1659072(1659594) W ten_find_app_base_dir@base_dir.c:50 Could not get app home from module path, using TEN_APP_BASE_DIR instead.
12:28:54 11-19 12:28:53.870 1659072(1659594) D ten_app_find_and_set_base_dir@base_dir.c:64 Failed to determine app base directory.
12:28:54 11-19 12:28:53.875 1659072(1659594) I [email protected]:22 Skip the loading of manifest.json because the base_dir of is missing.
12:28:54 11-19 12:28:53.891 1659072(1659594) D [email protected]:206 Loading protocol addon: msgpack
12:28:54 11-19 12:28:53.896 1659072(1659594) D [email protected]:404 Try to find addon for msgpack
12:28:54 11-19 12:28:53.909 1659072(1659594) I ten_protocol_integrated_listen@protocol_integrated.c:402 tcp://127.0.0.1:8001/ start listening.
12:28:54 11-19 12:28:53.929 1659072(1659594) D [email protected]:254 Loading protocol addon: msgpack
12:28:54 11-19 12:28:53.933 1659072(1659594) D [email protected]:404 Try to find addon for msgpack
12:28:54 11-19 12:28:53.950 1659072(1659594) D [email protected]:30 [msgpack://127.0.0.1:8001/] A client is connected.
12:28:54 11-19 12:28:53.955 1659072(1659594) D [email protected]:195 Create a connection 0xc9d2cfd0
12:28:54 11-19 12:28:53.960 1659072(1659594) D [email protected]:73 [msgpack://127.0.0.1:8001/] Add a orphan connection 0xc9d2cfd0 (total cnt 0)
12:28:54 11-19 12:28:53.964 1659072(1659594) D ten_app_thread_on_client_protocol_created@protocol_integrated.c:318 Start read from stream
12:28:54 11-19 12:28:54.735 1659072(1659594) D ten_app_create_engine@engine_interface.c:84 [msgpack://127.0.0.1:8001/] App creates an engine.
12:28:54 11-19 12:28:54.739 1659072(1659594) D [email protected]:167 Create engine.
12:28:54 11-19 12:28:54.748 1659072(1659594) D [email protected]:99 [msgpack://127.0.0.1:8001/] Remove a orphan connection 0xc9d2cfd0
12:28:54 11-19 12:28:54.755 1659072(1659594) D ten_engine_check_remote_is_existed@remote_interface.c:463 remote (nil) for uri '78166029-21fd-47d4-a7a9-c35863e2c49e' is not in 'weak_remotes' list.
12:28:54 11-19 12:28:54.759 1659072(1659594) D ten_engine_add_remote@remote_interface.c:137 [msgpack://127.0.0.1:8001/] Add 78166029-21fd-47d4-a7a9-c35863e2c49e (0xf3d01f80) as remote.
12:28:54 11-19 12:28:54.767 1659072(1659594) D ten_engine_handle_cmd_start_graph@start_graph.c:49 No more extensions need to be connected in the graph, enable the extension system now.
12:28:54 11-19 12:28:54.771 1659072(1659594) D ten_extension_context_create@extension_context.c:61 [81ca1995-d88b-4e4a-8c37-92044e9b53c3] Create Extension context.
12:28:54 11-19 12:28:54.775 1659072(1659594) D [email protected]:404 Try to find addon for default_extension_group
12:28:54 11-19 12:28:54.781 1659072(1659595) D ten_extension_thread_main_actual@extension_thread.c:238 Extension thread is started
12:28:54 11-19 12:28:54.790 1659072(1659595) D [email protected]:24 [graph_loop_multiple_circle_through_cmd_with_default__extension_group] Load metadata.
12:28:54 11-19 12:28:54.795 1659072(1659595) D ten_extension_group_on_init_done@on_xxx.c:74 [graph_loop_multiple_circle_through_cmd_with_default__extension_group] on_init() done.
12:28:54 11-19 12:28:54.801 1659072(1659595) I [email protected]:22 Skip the loading of manifest.json because the base_dir of graph_loop_multiple_circle_through_cmd_with_default__extension_group is missing.
12:28:54 11-19 12:28:54.806 1659072(1659595) I [email protected]:48 Skip the loading of property.json because the base_dir of graph_loop_multiple_circle_through_cmd_with_default__extension_group is missing.
12:28:54 11-19 12:28:54.812 1659072(1659595) D ten_extension_group_create_extensions@extension_group.c:174 [graph_loop_multiple_circle_through_cmd_with_default__extension_group] create_extensions.
12:28:54 11-19 12:28:54.817 1659072(1659595) D [email protected]:404 Try to find addon for graph_loop_multiple_circle_through_cmd_with_default__extension
12:28:54 11-19 12:28:54.822 1659072(1659595) D [email protected]:404 Try to find addon for graph_loop_multiple_circle_through_cmd_with_default__extension
12:28:54 11-19 12:28:54.827 1659072(1659595) D [email protected]:404 Try to find addon for graph_loop_multiple_circle_through_cmd_with_default__extension
12:28:54 11-19 12:28:54.833 1659072(1659595) D [email protected]:404 Try to find addon for graph_loop_multiple_circle_through_cmd_with_default__extension
12:28:54 11-19 12:28:54.847 1659072(1659595) D ten_extension_group_on_create_extensions_done@on_xxx.c:137 [graph_loop_multiple_circle_through_cmd_with_default__extension_group] create_extensions() done.
12:28:54 11-19 12:28:54.856 1659072(1659594) D ten_engine_on_extension_thread_is_ready@on_xxx.c:52 [81ca1995-d88b-4e4a-8c37-92044e9b53c3] All extension threads are initted.
12:28:54 11-19 12:28:54.874 1659072(1659594) D ten_engine_on_extension_thread_is_ready@on_xxx.c:94 [81ca1995-d88b-4e4a-8c37-92044e9b53c3] Engine is ready to handle messages.
12:28:54 11-19 12:28:54.881 1659072(1659595) D [email protected]:926 [A] Load metadata.
12:28:54 11-19 12:28:54.892 1659072(1659595) D [email protected]:771 [A] on_configure().
12:28:54 11-19 12:28:54.904 1659072(1659595) D ten_extension_on_configure_done@on_xxx.c:87 [A] on_configure() done.
12:28:54 11-19 12:28:54.933 1659072(1659595) I [email protected]:313 [A]
_ten
section is not found in the property, skip.12:28:54 11-19 12:28:54.941 1659072(1659595) D [email protected]:796 [A] on_init().
12:28:54 11-19 12:28:54.953 1659072(1659595) D ten_extension_on_init_done@on_xxx.c:184 [A] on_init() done.
12:28:54 11-19 12:28:54.960 1659072(1659595) I [email protected]:810 [A] on_start().
12:28:54 11-19 12:28:54.969 1659072(1659595) I ten_extension_on_start_done@on_xxx.c:252 [A] on_start() done.
12:28:54 11-19 12:28:54.977 1659072(1659595) D [email protected]:926 [B] Load metadata.
12:28:55 11-19 12:28:54.988 1659072(1659595) D [email protected]:771 [B] on_configure().
12:28:55 11-19 12:28:54.994 1659072(1659595) D ten_extension_on_configure_done@on_xxx.c:87 [B] on_configure() done.
12:28:55 11-19 12:28:55.003 1659072(1659595) I [email protected]:313 [B]
_ten
section is not found in the property, skip.12:28:55 11-19 12:28:55.008 1659072(1659595) D [email protected]:796 [B] on_init().
12:28:55 11-19 12:28:55.028 1659072(1659595) D ten_extension_on_init_done@on_xxx.c:184 [B] on_init() done.
12:28:55 11-19 12:28:55.032 1659072(1659595) I [email protected]:810 [B] on_start().
12:28:55 11-19 12:28:55.035 1659072(1659595) I ten_extension_on_start_done@on_xxx.c:252 [B] on_start() done.
12:28:55 11-19 12:28:55.048 1659072(1659595) D [email protected]:926 [C] Load metadata.
12:28:55 11-19 12:28:55.055 1659072(1659595) D [email protected]:771 [C] on_configure().
12:28:55 11-19 12:28:55.077 1659072(1659595) D ten_extension_on_configure_done@on_xxx.c:87 [C] on_configure() done.
12:28:55 11-19 12:28:55.088 1659072(1659595) I [email protected]:313 [C]
_ten
section is not found in the property, skip.12:28:55 11-19 12:28:55.093 1659072(1659595) D [email protected]:796 [C] on_init().
12:28:55 11-19 12:28:55.099 1659072(1659595) D ten_extension_on_init_done@on_xxx.c:184 [C] on_init() done.
12:28:55 11-19 12:28:55.103 1659072(1659595) I [email protected]:810 [C] on_start().
12:28:55 11-19 12:28:55.107 1659072(1659595) I ten_extension_on_start_done@on_xxx.c:252 [C] on_start() done.
12:28:55 11-19 12:28:55.111 1659072(1659595) D [email protected]:926 [D] Load metadata.
12:28:55 11-19 12:28:55.115 1659072(1659595) D [email protected]:771 [D] on_configure().
12:28:55 11-19 12:28:55.119 1659072(1659595) D ten_extension_on_configure_done@on_xxx.c:87 [D] on_configure() done.
12:28:55 11-19 12:28:55.127 1659072(1659595) I [email protected]:313 [D]
_ten
section is not found in the property, skip.12:28:55 11-19 12:28:55.131 1659072(1659595) D [email protected]:796 [D] on_init().
12:28:55 11-19 12:28:55.138 1659072(1659595) D ten_extension_on_init_done@on_xxx.c:184 [D] on_init() done.
12:28:55 11-19 12:28:55.142 1659072(1659595) I [email protected]:810 [D] on_start().
12:28:55 11-19 12:28:55.146 1659072(1659595) I ten_extension_on_start_done@on_xxx.c:252 [D] on_start() done.
12:28:58 Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: