I recently encountered assertion error in the following line in lmm_add_free():
This error happens when the caller calls lmm_add_free(lmm, (void *)0x2345, 2). Suppose alignment is 8. Then:
- On line 23
min = 0x2345
- On line 24
max = 0x2347
- On line 31
min = 0x2348
- On line 32
max = 0x2340
- On line 33 assertion error is triggered, since
max >= min is false (0x2340 >= 0x2348 is false)
I recently encountered assertion error in the following line in lmm_add_free():
oskit/lmm/lmm_add_free.c
Line 33 in c9e5fcd
This error happens when the caller calls
lmm_add_free(lmm, (void *)0x2345, 2). Suppose alignment is 8. Then:min = 0x2345max = 0x2347min = 0x2348max = 0x2340max >= minis false (0x2340 >= 0x2348is false)