Summary: | www-client/netsurf-3.10-r4 fails tests: - make: [test/Makefile:<snip>: corestrings_test] Error 1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Philipp Ammann <philipp.ammann> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | mjo, proxy-maint |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 temp.tar.bz2 www-client:netsurf-3.10-r4:20211120-172617.log |
Description
Toralf Förster
2021-11-20 20:53:53 UTC
Created attachment 754030 [details]
emerge-info.txt
Created attachment 754034 [details]
emerge-history.txt
Created attachment 754038 [details]
environment
Created attachment 754042 [details]
etc.portage.tar.bz2
Created attachment 754046 [details]
temp.tar.bz2
Created attachment 754050 [details]
www-client:netsurf-3.10-r4:20211120-172617.log
Update summary. [something] is used when something refers to an overlay This is a malloc() test that should be succeeding but instead returned "no memory."
This number,
#define CORESTRING_TEST_COUNT 483
in the test is set to exactly the number of malloc() calls needed to run corestrings_init(). The test first loops 483 times, setting a limit of between 0 and 482 malloc calls before trying to call corestrings_init(). They all fail with "no memory," because we aren't allowed to run the real malloc() enough times and the wrapper is designed to fail when the limit is exceeded.
But then the last iteration of the test (the 484th) allows 483 mallocs. The call to corestrings_init() should then succeed, because the fake malloc limit shouldn't get in the way. Except in your case it still failed somehow.
> Assertion 'ires == NSERROR_OK' failed: ires == 2, NSERROR_OK == 0
2 is NSERROR_NOMEM
I guess you could have run out of memory at a very bad time? If the real malloc() fails, the test would fail in that way. Anyway, that's what's happening, but who knows why.
|