pnoltes opened a new issue, #471: URL: https://github.com/apache/celix/issues/471
# Intro Building and testing on MacOS gives issues when: - When Release or RelWithDebInfo cmake build type is used the web socket test are failing - syslog writer test are failing (for both Debug and Release) - Conan is used # Issues when using Release ``` ... 2023-01-13T06:34:43.6377660Z 39: Current msg count is 0, waiting for at least 100 2023-01-13T06:34:43.6378350Z 39: *** 1673591683.635555000 300864000 123145303588864 accept_new_connection:18007: Accepted socket 6 2023-01-13T06:34:43.6379030Z 39: *** 1673591683.635594000 39000 123145304125440 consume_socket:17706: grabbed socket 6, going busy 2023-01-13T06:34:43.6380190Z 39: *** 1673591683.635604000 10000 123145304125440 worker_thread_run:17886: Start processing connection from 127.0.0.1 2023-01-13T06:34:43.6380910Z 39: *** 1673591683.635607000 3000 123145304125440 process_new_connection:17479: Start processing connection from 127.0.0.1 2023-01-13T06:34:43.6381640Z 39: *** 1673591683.635609000 2000 123145304125440 process_new_connection:17486: calling get_request (1 times for this connection) 2023-01-13T06:34:43.6382310Z 39: *** 1673591683.635633000 24000 123145304125440 alloc_get_host:13116: HTTP Host: 127.0.0.1 2023-01-13T06:34:43.6383250Z 39: *** 1673591683.635638000 5000 123145304125440 process_new_connection:17552: http: 1.1, error: none 2023-01-13T06:34:43.6384030Z 39: *** 1673591683.635641000 3000 123145304125440 handle_request:13724: URL: /pubsub/default/ping 2023-01-13T06:34:43.6384720Z 39: *** 1673591683.635664000 23000 123145304125440 open_auth_file:8111: fopen(/.htpasswd): No such file or directory 2023-01-13T06:34:43.6385410Z 39: *** 1673591683.635674000 10000 123145304125440 send_websocket_handshake:12108: Send websocket handshake 2023-01-13T06:34:43.6386140Z 39: *** 1673591683.635710000 36000 123145304125440 read_websocket:12195: Websocket connection 127.0.0.1:49354 start data processing loop 2023-01-13T06:34:43.6386860Z 39: *** 1673591683.635803000 93000 123145306271744 read_websocket:12195: Websocket connection :0 start data processing loop 2023-01-13T06:34:43.6493880Z 39/53 Test #39: pubsub_websocket_v2_tests ..............................Subprocess aborted***Exception: 0.58 sec ... 2023-01-13T06:35:12.5440540Z 45: Got message in postReceive interceptor (null)/ping for type websocket and ser json with seq nr 3 2023-01-13T06:35:12.5441270Z 45: {"seqNr":3} 2023-01-13T06:35:12.5441980Z 45: Got message in postReceive interceptor (null)/ping for type websocket and ser json with seq nr 3 2023-01-13T06:35:12.5443120Z 45: {"seqNr":3} 2023-01-13T06:35:12.5443890Z 45: Got message in postReceive interceptor (null)/ping for type websocket and ser json with seq nr 3 2023-01-13T06:35:12.5444850Z 45/53 Test #45: test_pubsub_interceptors_ws_and_wire_v1_integration ....Subprocess aborted***Exception: 0.58 sec ... 2023-01-13T06:35:58.2172120Z The following tests FAILED: 2023-01-13T06:35:58.2173750Z 21 - test_syslog_writer (SEGFAULT) 2023-01-13T06:35:58.2174140Z 39 - pubsub_websocket_v2_tests (Subprocess aborted) 2023-01-13T06:35:58.2174580Z 45 - test_pubsub_interceptors_ws_and_wire_v1_integration (Subprocess aborted) 2023-01-13T06:35:58.2175470Z 46 - test_pubsub_interceptors_ws_and_wire_v2_integration (Subprocess aborted) ... ``` # Syslog writer issue ``` 2023-01-12T20:21:25.2573330Z 21: AddressSanitizer:DEADLYSIGNAL 2023-01-12T20:21:25.2574530Z 21: ================================================================= 2023-01-12T20:21:25.2575340Z 21: ==31509==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x00010de5ceb0 bp 0x700007c7ba00 sp 0x700007c7ba00 T3) 2023-01-12T20:21:25.2576030Z 21: ==31509==The signal is caused by a READ memory access. 2023-01-12T20:21:25.2576900Z 21: ==31509==Hint: address points to the zero page. 2023-01-12T20:21:27.5244270Z 21: #0 0x10de5ceb0 in __sanitizer::internal_strlen(char const*)+0x10 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x61eb0) 2023-01-12T20:21:27.5244830Z 21: #1 0x10de1fb8b in printf_common(void*, char const*, __va_list_tag*)+0x7bb (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x24b8b) 2023-01-12T20:21:27.5245220Z 21: #2 0x10de2044e in wrap_vasprintf+0x21e (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x2544e) 2023-01-12T20:21:27.5245570Z 21: #3 0x10f909b74 in celix_syslogWriter_sinkLog celix_syslog_writer_activator.c:64 2023-01-12T20:21:27.5245890Z 21: #4 0x10f4cc9ae in celix_logAdmin_vlogDetails celix_log_admin.c:99 2023-01-12T20:21:27.5246190Z 21: #5 0x10f4cc6fa in celix_logAdmin_vlog celix_log_admin.c:111 2023-01-12T20:21:27.5246490Z 21: #6 0x10f4cc304 in celix_logAdmin_fatal celix_log_admin.c:166 2023-01-12T20:21:27.5246880Z 21: #7 0x10d56b92f in SyslogWriterTestSuite_LogToSysLog_Test::TestBody()::$_1::operator()(void*, void*) const SyslogWriterTestSuite.cc:94 2023-01-12T20:21:27.5247350Z 21: #8 0x10d56b66b in SyslogWriterTestSuite_LogToSysLog_Test::TestBody()::$_1::__invoke(void*, void*) SyslogWriterTestSuite.cc:80 2023-01-12T20:21:27.5247790Z 21: #9 0x10d9d8c61 in celix_serviceTracker_useHighestRankingService service_tracker.c:761 2023-01-12T20:21:27.5248180Z 21: #10 0x10d9b188d in celix_bundleContext_useServiceWithOptions_2_UseServiceTracker bundle_context.c:1185 2023-01-12T20:21:27.5248880Z 21: #11 0x10d9c4005 in fw_handleEventRequest framework.c:1531 2023-01-12T20:21:27.5249160Z 21: #12 0x10d9c3595 in fw_handleEvents framework.c:1579 2023-01-12T20:21:27.5249440Z 21: #13 0x10d9b81a7 in fw_eventDispatcher framework.c:1605 2023-01-12T20:21:27.5249740Z 21: #14 0x7ff81cab04e0 in _pthread_start+0x7c (libsystem_pthread.dylib:x86_64+0x64e0) 2023-01-12T20:21:27.5250070Z 21: #15 0x7ff81caabf6a in thread_start+0xe (libsystem_pthread.dylib:x86_64+0x1f6a) ``` # Issues when building with conan ``` 2023-01-12T18:53:35.0421950Z The following tests FAILED: 2023-01-12T18:53:35.0422500Z 18 - test_syslog_writer (SEGFAULT) 2023-01-12T18:53:35.0422880Z 37 - pubsub_websocket_v2_tests (Subprocess aborted) 2023-01-12T18:53:35.0423300Z 43 - test_pubsub_interceptors_ws_and_wire_v1_integration (Subprocess aborted) 2023-01-12T18:53:35.0423760Z 44 - test_pubsub_interceptors_ws_and_wire_v2_integration (Subprocess aborted) ``` Note the conan issue overlap when using brew with release -- 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: dev-unsubscr...@celix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org