Skip to content

Conversation

@jodavies
Copy link
Collaborator

@jodavies jodavies commented Sep 30, 2025

These commits fix two issues related to the test for Issue 508, which I found to hang on Fedora 42. The first commit resolves the hang, when a tform thread fails a memory allocation. Now tform terminates as expected.

The second commit resolves the allocation failure by allowing a little more virtual memory for the test: Fedora42 apparently requires a bit more than Ubuntu for this test.

Closes #717

Calling Error1 while holding ErrorMessageLock causes a hang in
Terminate, when the thread attempts to take the long a second time.
Use MesPrint to print the error instead.
This test fails on Fedora 42 with a ulimit of 8000000, though it
passes on Ubuntu 24.04. Provide a bit more space, but still an
insufficient amount for the memory leak being tested.
@coveralls
Copy link

Coverage Status

coverage: 54.378% (-0.003%) from 54.381%
when pulling fd84e56 on jodavies:alloc-failure-hang
into 7fa4cef on form-dev:master.

@jodavies jodavies merged commit 4e3567c into form-dev:master Oct 7, 2025
84 checks passed
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.

Test for Issue 508 hangs in Fedora 42, tform

2 participants