Title | MMQA test function/167.c fails on w3i6mv |
Status | closed |
Priority | nice |
Assigned user | Gareth Rees |
Organization | Ravenbrook |
Description | This 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 |
Analysis | The 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 found | automated_test |
Evidence | None |
Created by | Gareth Rees |
Created on | 2019-01-08 14:42:42 |
Last modified by | Gareth Rees |
Last modified on | 2019-01-08 14:43:41 |
History | 2019-01-08 GDR Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
195911 | closed | 2019-01-08 14:43:41 | Gareth Rees | Use keyword argument interface to avoid underpromotion of arguments. |