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

ASSERT: app_suite.pattern test fails in ci-clang workflow with "instru.c:197: save->ignore_next_delete == 0 (premature deletion)" #2537

Open
xdje42 opened this issue Jan 14, 2025 · 0 comments

Comments

@xdje42
Copy link
Contributor

xdje42 commented Jan 14, 2025

Describe the bug

The app_suite.pattern test is failing in the ci-clang workflow:

2025-01-13T22:47:05.0979888Z 73: [ RUN      ] SocketTests.ClientServer
2025-01-13T22:47:05.0980564Z 73: /home/runner/work/drmemory/drmemory/tests/app_suite/socket_tests_posix.cpp:103: Failure
2025-01-13T22:47:05.0981230Z 73: Value of: status
2025-01-13T22:47:05.0981518Z 73:   Actual: 139
2025-01-13T22:47:05.0981795Z 73: Expected: 0
2025-01-13T22:47:05.0982119Z 73: [  FAILED  ] SocketTests.ClientServer (2131 ms)
...
2025-01-13T22:47:05.1003413Z 73: [==========] 30 tests from 11 test cases ran. (10663 ms total)
2025-01-13T22:47:05.1008100Z 73: [  PASSED  ] 29 tests.
2025-01-13T22:47:05.1008446Z 73: [  FAILED  ] 1 test, listed below:
2025-01-13T22:47:05.1008853Z 73: [  FAILED  ] SocketTests.ClientServer
2025-01-13T22:47:05.1009228Z 73: 
2025-01-13T22:47:05.1009462Z 73:  1 FAILED TEST
...
2025-01-13T22:47:05.1036160Z 73: ~~Dr.M~~ Dr. Memory version 2.6.20101
2025-01-13T22:47:05.1037171Z 73: ~~Dr.M~~ Recorded 28 suppression(s) from user /home/runner/work/drmemory/drmemory/tests/app_suite/default-suppressions.txt
2025-01-13T22:47:05.1038073Z 73: <spurious rep/repne prefix @0x73a23000 (f3 0f 1e fb): >
2025-01-13T22:47:05.1038723Z 73: <get_memory_info mismatch! (can happen if os combines entries in /proc/pid/maps)
2025-01-13T22:47:05.1039463Z 73:        os says: 0xf7a1f000-0xf7a2f000 prot=0x00000001
2025-01-13T22:47:05.1039927Z 73:        cache says: 0xf7a1f000-0xf7a31000 prot=0x00000001
2025-01-13T22:47:05.1040329Z 73: >
2025-01-13T22:47:05.1040624Z 73: <(1+x) Handling our fault in a TRY at 0xf7d4ae69>
2025-01-13T22:47:05.1041051Z 73: <writing to executable region.>
2025-01-13T22:47:05.1041444Z 73: <-- parent 43487 forked child 43523 -->
2025-01-13T22:47:05.1042266Z 73: <Stopping application /home/runner/work/drmemory/drmemory/build_drmemory-dbg-32/tests/app_suite_tests (43523)>
2025-01-13T22:47:05.1043684Z 73: ~~43523~~ ASSERT FAILURE (thread 43523): /home/runner/work/drmemory/drmemory/drmemory/instru.c:197: save->ignore_next_delete == 0 (premature deletion)
...
2025-01-13T22:47:05.1400577Z  84/124 Test  #73: app_suite.pattern .................***Failed   15.16 sec

ref: ci-clang workflow in #2532

To Reproduce

Submit a PR and study the ci-clang workflow test output.

Versions

HEAD as of commit f62daf1
OS: Test output reports Ubuntu 20.04.6

@derekbruening derekbruening changed the title CRASH: app_suite.pattern test fails in ci-clang workflow with "instru.c:197: save->ignore_next_delete == 0 (premature deletion)" ASSERT: app_suite.pattern test fails in ci-clang workflow with "instru.c:197: save->ignore_next_delete == 0 (premature deletion)" Jan 14, 2025
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

No branches or pull requests

1 participant