On Thu, May 09, 2019 at 10:55:44AM +0200, Hrvoje Popovski wrote:
> 
> with this diff i'm getting new traces

it is (somehow) expected.

the commit that starts showing traces do the following:
- when there is missing size on free() reports it (with a backtrace to know the 
caller)
- but report only a fixed number of calls (5), because else users will be mad

so by correcting some sizes it makes others calls to free() to be visible.

> free with zero size: (127)
> Starting stack trace...
> free(ffff80000013f800,7f,0,ffff80000013f800,cf43c4f465ef43f8,0) at free+0xd8
> uhidev_attach(ffff800000071200,ffff80000014ed00,ffff8000224a40a0,ffff800000071200,89eb6e07df884e85,ffff800000071200)
>  at uhidev_attach+0x1b4

> free with zero size: (127)
> Starting stack trace...
> free(ffff80000013f800,7f,0,ffff80000013f800,cf43c4f465284bc3,0) at free+0xd8
> hid_report_size(ffff800000070c00,41,0,0,764c887b264d079f,0) at 
> hid_report_size+0x10f

> free with zero size: (127)
> Starting stack trace...
> free(ffff80000013f800,7f,0,ffff80000013f800,cf43c4f465284185,0) at free+0xd8
> hid_is_collection(ffff800000070c00,41,ff,10006,a6cb281b8426ee7e,ffffffff81cf60e0)
>  at hid_is_collection+0xe9

> free with zero size: (127)
> Starting stack trace...
> free(ffff80000013f800,7f,0,ffff80000013f800,cf43c4f465284185,0) at free+0xd8
> hid_is_collection(ffff800000070c00,41,ff,10001,a6cb281b844568dc,ffffffff81cf6118)
>  at hid_is_collection+0xe9

> free with zero size: (127)
> Starting stack trace...
> free(ffff80000013f800,7f,0,ffff80000013f800,cf43c4f465284185,0) at free+0xd8
> hid_is_collection(ffff800000070c00,41,ff,10002,a6cb281b844568fc,3) at 
> hid_is_collection+0xe9

I am leaving others free() calls to people that would like to play this game 
too.
-- 
Sebastien Marie

Reply via email to