Skip to content
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

ci: enable valgrind for build #1189

Closed
wants to merge 9 commits into from
Closed

ci: enable valgrind for build #1189

wants to merge 9 commits into from

Conversation

alfredh
Copy link
Contributor

@alfredh alfredh commented Sep 7, 2024

No description provided.

@sreimers
Copy link
Member

sreimers commented Sep 7, 2024

We have a dedicated valgrind check .github/workflows/valgrind.yml how is this different?

@alfredh alfredh marked this pull request as draft September 7, 2024 09:10
@alfredh
Copy link
Contributor Author

alfredh commented Sep 7, 2024

this is just a test for now ...

found some new errors:

est_sipsess: TEST_ERR: /home/runner/work/re/re/test/sipsess.c:1275: (Connection timed out [110])
test: test_sipsess_update_uac: test failed (Connection timed out [110])
Format: "%u<-- SIZE ERROR
retest: /home/runner/work/re/re/src/fmt/print.c:500: vhprintf: Assertion `0 && "RE_VA_ARG: arg is not compatible"' failed.
Error: Signal (6) ./build/test/retest(+0xb0c6f) [0x1b8c6f]
	btrace at /home/runner/work/re/re/include/re_btrace.h:23
./build/test/retest(+0xb0cd7) [0x1b8cd7]
	signal_handler at /home/runner/work/re/re/src/main/init.c:41
/lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x4d97090]
	verify_after_sdp_exchange at /home/runner/work/re/re/test/ice.c:570
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb) [0x4d9700b]
	?? ??:0
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b) [0x4d76859]
	?? ??:0
/lib/x86_64-linux-gnu/libc.so.6(+0x22729) [0x4d76729]
	?? ??:0
/lib/x86_64-linux-gnu/libc.so.6(+0x33fd6) [0x4d87fd6]
	test_fmt_regex at /home/runner/work/re/re/test/fmt.c:479
./build/test/retest(+0x9a10b) [0x1a210b]
	vhprintf at /home/runner/work/re/re/src/fmt/print.c:503
./build/test/retest(re_vfprintf_s+0x69) [0x1a24a4]
	?? ??:0
./build/test/retest(re_vprintf_s+0x31) [0x1a252d]
	?? ??:0
./build/test/retest(_re_printf_s+0xb5) [0x1a2d60]
	?? ??:0
./build/test/retest(test_multithread+0x342) [0x17cd36]
	?? ??:0

@@ -23,4 +23,4 @@ jobs:
- name: normal build
run: |
cmake -B build -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=12.0 -DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=ON -DUSE_OPENSSL=OFF -DCMAKE_C_FLAGS="-Werror"
cmake --build build -j
cmake --build build -j retest
Copy link
Member

Choose a reason for hiding this comment

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

-t retest

@alfredh alfredh closed this Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants