DynamoRIO / DynamoRIO/drmemory

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

Open
#2,537 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

**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:
2025-01-13T22:47:05.1038723Z 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:
2025-01-13T22:47:05.1041444Z 73: <-- parent 43487 forked child 43523 -->
2025-01-13T22:47:05.1042266Z 73:
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 https://github.com/DynamoRIO/drmemory/pull/2532

**To Reproduce**

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

**Versions**

HEAD as of commit https://github.com/DynamoRIO/drmemory/commit/f62daf1e14b63cf7e4dad02d4e8f440c92d48c8e
OS: Test output reports Ubuntu 20.04.6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.