> 
> Second, I believe there is a double free in the trace extension. When 
> ftrace_init_pages() fails it will free
> 
>    cpu_buffer->pages
> 
> and
> 
>    cpu_buffer->linear_pages
> 
> But when ftrace_init_pages() fails, ftrace_init_buffers() will call 
> ftrace_destroy_buffers() which also free's this space. For me this resulted 
> in a segfault in a malloc() a little later.
> 
> 

Good.
Acked.

Thanks,
Lai

--
Crash-utility mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/crash-utility

Reply via email to