Bug 204195
Summary: | Segfault in kernelshark when scrolling in graph window with empty file | ||
---|---|---|---|
Product: | Tools | Reporter: | Steven Rostedt (rostedt) |
Component: | Trace-cmd/Kernelshark | Assignee: | Default virtual assignee for Trace-cmd and kernelshark (tools_tracecmd_kernelshark) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | ykaradzhov |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | N/A | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Steven Rostedt
2019-07-17 02:23:35 UTC
Hi Steve, Thanks for the report! I played a bit with the GUI and I found a number of other ways to crash the GUI by clicking buttons or play with the mouse before any data is loaded. The patch-set here https://lore.kernel.org/linux-trace-devel/20190717085306.12393-2-y.karadz@gmail.com/T/#u tries to fix all problems I found so far. cheers, Yordan Fixed by commit eb1baa7c5d993 ("kernel-shark: Initialize all fields of struct kshark_trace_histo") |