Project

General

Profile

Bug #3114 » test_malloc_results.txt

results from malloc test - ddegroot, 12/18/2017 09:25 AM

 
Linux (x86_64):
SIZE_MAX=18446744073709551615
test0: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
test1: malloc size:223372036854775808, malloc failed, ptr == NULL, errno:12
test2: malloc size:23372036854775808, malloc failed, ptr == NULL, errno:12
test3: malloc size:3372036854775808, malloc failed, ptr == NULL, errno:12
test4: malloc size:372036854775808, malloc failed, ptr == NULL, errno:12
test5: malloc size:72036854775808, malloc failed, ptr == NULL, errno:12
test6: malloc size:2036854775808, malloc failed, ptr == NULL, errno:12
test7: malloc size:36854775808, malloc failed, ptr == NULL, errno:12
test8: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
test9: malloc size:18446744073709551615, malloc failed, ptr == NULL, errno:12
test10: malloc size:18446744073709551613, malloc failed, ptr == NULL, errno:12
test11: malloc size:18446744073709551615, malloc failed, ptr == NULL, errno:12
test12: malloc size:96, ptr == 0x7f6cd80008c0
test13: malloc size:18446744073709551614, malloc failed, ptr == NULL, errno:12

DragonFlyBSD:
SIZE_MAX=18446744073709551615
test0: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
test1: malloc size:223372036854775808, malloc failed, ptr == NULL, errno:12
test2: malloc size:23372036854775808, malloc failed, ptr == NULL, errno:12
test3: malloc size:3372036854775808, malloc failed, ptr == NULL, errno:12
test4: malloc size:372036854775808, malloc failed, ptr == NULL, errno:12
test5: malloc size:72036854775808, ptr == 0x800800000
test6: malloc size:2036854775808, ptr == 0x800800000
test7: malloc size:36854775808, ptr == 0x800800000
test8: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
test9: malloc size:18446744073709551615, ptr == 0x800455000
test10: malloc size:18446744073709551613, ptr == 0x800455000
test11: malloc size:18446744073709551615, ptr == 0x800455000
test12: malloc size:96, ptr == 0x8006200c0
test13: malloc size:18446744073709551614, ptr == 0x800455000
(2-2/4)