[BUG] Unable to run unittests: catch_assert(configASSERT(0)) = SIGABRT
@alter-mage is already working on this.
Since Nov 25, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- networking, testing
Research direction
Start with the build and run steps in test/unit-test/README.md, then look at the catch_assert(configASSERT(0)) helper that the minimal repro uses, and at test_xCheckRequiresARPResolution_AssertInvalidFrameType in FreeRTOS_ARP_utest. Check linked pull request #1348 first, since work is already open against this issue. Done means the affected unit test binaries stop aborting with SIGABRT when the suite is run.
Written by the indexing model from the issue text.
Description
I used to be able to run the unittests, but now, a lot of them are dying of SIGABRT:
The following tests FAILED:
1 - FreeRTOS_ARP_utest (Subprocess aborted)
4 - FreeRTOS_DHCP_utest (Subprocess aborted)
5 - FreeRTOS_DHCPv6_utest (Subprocess aborted)
6 - FreeRTOS_TCP_WIN_utest (Subprocess aborted)
8 - FreeRTOS_DNS_utest (Subprocess aborted)
13 - FreeRTOS_DNS_Parser_utest (Subprocess aborted)
14 - FreeRTOS_IP_utest (Subprocess aborted)
21 - FreeRTOS_IP_Utils_utest (Subprocess aborted)
24 - FreeRTOS_IPv6_Utils_utest (Subprocess aborted)
30 - FreeRTOS_ND_utest (Subprocess aborted)
31 - FreeRTOS_Sockets_GenericAPI_utest (Subprocess aborted)
33 - FreeRTOS_Sockets_UDP_API_utest (Subprocess aborted)
34 - FreeRTOS_Sockets_privates_utest (Subprocess aborted)
39 - FreeRTOS_Sockets_DiffConfig1_privates_utest (Subprocess aborted)
41 - FreeRTOS_RA_utest (Subprocess aborted)
42 - FreeRTOS_UDP_IP_utest (Subprocess aborted)
43 - FreeRTOS_UDP_IPv4_utest (Subprocess aborted)
44 - FreeRTOS_UDP_IPv6_utest (Subprocess aborted)
46 - FreeRTOS_TCP_IP_utest (Subprocess aborted)
51 - FreeRTOS_TCP_Transmission_utest (Subprocess aborted)
52 - FreeRTOS_TCP_Transmission_IPv6_utest (Subprocess aborted)
57 - FreeRTOS_Sockets_IPv6_utest (Subprocess aborted)
58 - FreeRTOS_Routing_utest (Subprocess aborted)
60 - FreeRTOS_Routing_ConfigCompatibleWithSingle_utest (Subprocess aborted)
The first failure is test_xCheckRequiresARPResolution_AssertInvalidFrameType() in FreeRTOS_ARP_utest.
After reducing it to the minimal failing testcase, I have this:
void test_catch_assert()
{
catch_assert(configASSERT(0));
}
Which leaves this backtrace in GDB:
Program received signal SIGABRT, Aborted.
0x00007ffff7c9dc9c in __pthread_kill_implementation () from /lib64/libc.so.6
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.42-3.3.x86_64
(gdb) bt
#0 0x00007ffff7c9dc9c in __pthread_kill_implementation () from /lib64/libc.so.6
#1 0x00007ffff7c42786 in raise () from /lib64/libc.so.6
#2 0x00007ffff7c2934b in abort () from /lib64/libc.so.6
#3 0x00007ffff7c29295 in __assert_fail_base.cold () from /lib64/libc.so.6
#4 0x00000000004082c9 in test_catch_assert ()
#5 0x000000000040c4b5 in run_test ()
#6 0x000000000040c7f4 in main ()
Target
- Instruction Set Architecture: x86-64 (native compilation)
- Toolchain and version: gcc 15.2.1 20260202
Host
- Host OS: openSUSE Tumbleweed
- Version: 20260408
To Reproduce
- Run the script embedded in test/unit-test/README.md
Additional context
I don't suspect this to be relevant, but I had to update the submodule tools/CMock/vendor/unity to the latest origin/HEAD in order to get a fix for a Ruby 4 incompatibility before I could build the tests.
- Dominant language
- C
- Stars
- 215
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FreeRTOS/FreeRTOS-Plus-TCP
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 63/100
FreeRTOS/FreeRTOS-Plus-TCP#1395 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 95/100
FreeRTOS/FreeRTOS-Plus-TCP#1389 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
FreeRTOS/FreeRTOS-Plus-TCP#1388 ·
-
[BUG] PhyHandling incorrectly lists LAN8742A as having 19 PHYCRPossibly taken @StitchLilo626 claimed this 41 days ago. Openbug
Difficulty 1/5 Under an hour Newbie friendliness 78/100
FreeRTOS/FreeRTOS-Plus-TCP#1361 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 66/100
FreeRTOS/FreeRTOS-Plus-TCP#1392 · 1 comment ·
All issues in FreeRTOS/FreeRTOS-Plus-TCP
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
shinyquagsire23/OpenJKDF2#540 ·
Maintainers usually reply within 12 days
-
Prison work hall: laundry and kitchen stations stand at bare walls, the hatch has no counter or signOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Life-Framework/Life-Framework#5939 ·
Maintainers usually reply within 1 day
-
autoconf failes to find libsodium even when present due to implicit function declarationPossibly taken @coderjoe claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 13 days
-
Bug Status: Needs Triage
Difficulty 1/5 Under an hour Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug python
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Jstar269/nakagawa-recomp#3521 ·
Maintainers usually reply within 1 day