MPS issue job004147

TitleMMQA test function/167.c fails on w3i6mv
Statusclosed
Prioritynice
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionThis test case provokes an assertion failure:

    test$ perl test/qa run function/167.c
    % create arena: OK
    % register thread: OK
    % MPS ASSERTION FAILURE
    !assert=true
    !assert_or_abort=true
    !assertid=<none>
    !assertfile=c:\users\gdr\info.ravenbrook.com\project\mps\master\code\poolmvff.c
    !assertline=445
    !assertcond=avgSize <= extendBy
    -----------------------------------------------------------------------------
    FAILED TEST function/167.c
AnalysisThe test case uses the varargs interface to mps_pool_create, passing the arguments 65536,32,16,1,1,0. Under the usual varargs rules, 65536 will be treated as an int (32 bits), but in MVFFVarargs it is decoded as a Size (64 bits). The test case needs to cast the arguments to the appropriate type, or use the keyword argument interface.
How foundautomated_test
EvidenceNone
Created byGareth Rees
Created on2019-01-08 14:42:42
Last modified byGareth Rees
Last modified on2019-01-08 14:43:41
History2019-01-08 GDR Created.

Fixes

Change Effect Date User Description
195911 closed 2019-01-08 14:43:41 Gareth Rees Use keyword argument interface to avoid underpromotion of arguments.