Bug 2279533 - segfault when opening trace.dat
Summary: segfault when opening trace.dat
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernelshark
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zamir SUN
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-05-07 11:53 UTC by Akira TAGOH
Modified: 2024-06-23 06:51 UTC (History)
2 users (show)

Fixed In Version: kernelshark-2.3.1-1.fc40
Clone Of:
Environment:
Last Closed: 2024-06-23 06:51:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2024-05-07 11:53:02 UTC
kernelshark segfaults when opening trace.dat.

Reproducible: Always

Steps to Reproduce:
1.sudo trace-cmd record -p function_graph ls /bin
2.kernelshark
3.
Actual Results:  
loading plugin "sched_events" from /usr/lib64/kernelshark/plugins/plugin-sched_events.so
loading plugin "event_field_plot" from /usr/lib64/kernelshark/plugins/plugin-event_field_plot.so
loading plugin "latency_plot" from /usr/lib64/kernelshark/plugins/plugin-latency_plot.so
loading plugin "kvm_combo" from /usr/lib64/kernelshark/plugins/plugin-kvm_combo.so
loading plugin "missed_events" from /usr/lib64/kernelshark/plugins/plugin-missed_events.so
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
Loading  "trace.dat"
kernelshark: /builddir/build/BUILD/kernel-shark-kernelshark-v2.3.0/src/libkshark-model.c:249: ksmodel_set_upper_edge: Assertion `row != BSEARCH_ALL_GREATER' failed.


Expected Results:  
no segfaults

Comment 1 Akira TAGOH 2024-05-07 11:54:49 UTC
$ rpm -q kernelshark trace-cmd
kernelshark-2.3.0-4.fc40.x86_64
trace-cmd-3.2-2.fc40.x86_64

Comment 2 Jerome Marchand 2024-06-11 15:22:13 UTC
The fix to that specific issue is:
0597614 kernelshark: Fix modelReset() signaling, rename update to updateGeom

However, there was a lot of other issues regarding Qt6 that was fixed upstream. I'd suggest to update kernelshark to v2.3.1.

Comment 3 Fedora Update System 2024-06-14 10:19:22 UTC
FEDORA-2024-c18d728b08 (kernelshark-2.3.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c18d728b08

Comment 4 Fedora Update System 2024-06-15 03:59:25 UTC
FEDORA-2024-c18d728b08 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c18d728b08`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c18d728b08

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2024-06-23 06:51:58 UTC
FEDORA-2024-c18d728b08 (kernelshark-2.3.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.