Project

General

Profile

test_malloc_results.txt

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

 
1
Linux (x86_64):
2
SIZE_MAX=18446744073709551615
3
test0: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
4
test1: malloc size:223372036854775808, malloc failed, ptr == NULL, errno:12
5
test2: malloc size:23372036854775808, malloc failed, ptr == NULL, errno:12
6
test3: malloc size:3372036854775808, malloc failed, ptr == NULL, errno:12
7
test4: malloc size:372036854775808, malloc failed, ptr == NULL, errno:12
8
test5: malloc size:72036854775808, malloc failed, ptr == NULL, errno:12
9
test6: malloc size:2036854775808, malloc failed, ptr == NULL, errno:12
10
test7: malloc size:36854775808, malloc failed, ptr == NULL, errno:12
11
test8: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
12
test9: malloc size:18446744073709551615, malloc failed, ptr == NULL, errno:12
13
test10: malloc size:18446744073709551613, malloc failed, ptr == NULL, errno:12
14
test11: malloc size:18446744073709551615, malloc failed, ptr == NULL, errno:12
15
test12: malloc size:96,  ptr == 0x7f6cd80008c0
16
test13: malloc size:18446744073709551614, malloc failed, ptr == NULL, errno:12
17

    
18
DragonFlyBSD:
19
SIZE_MAX=18446744073709551615
20
test0: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
21
test1: malloc size:223372036854775808, malloc failed, ptr == NULL, errno:12
22
test2: malloc size:23372036854775808, malloc failed, ptr == NULL, errno:12
23
test3: malloc size:3372036854775808, malloc failed, ptr == NULL, errno:12
24
test4: malloc size:372036854775808, malloc failed, ptr == NULL, errno:12
25
test5: malloc size:72036854775808,  ptr == 0x800800000
26
test6: malloc size:2036854775808,  ptr == 0x800800000
27
test7: malloc size:36854775808,  ptr == 0x800800000
28
test8: malloc size:9223372036854775807, malloc failed, ptr == NULL, errno:12
29
test9: malloc size:18446744073709551615,  ptr == 0x800455000
30
test10: malloc size:18446744073709551613,  ptr == 0x800455000
31
test11: malloc size:18446744073709551615,  ptr == 0x800455000
32
test12: malloc size:96,  ptr == 0x8006200c0
33
test13: malloc size:18446744073709551614,  ptr == 0x800455000