Bug 1389219

Summary: Segmentation fault (core dumped) if trace-cmd snapshot after trace-cmd start -p wakeup
Product: [Fedora] Fedora Reporter: Ziqian SUN (Zamir) <zsun>
Component: trace-cmdAssignee: Zamir SUN <sztsian>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: jonstanley, sztsian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: trace-cmd-2.6-2.1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1389223 (view as bug list) Environment:
Last Closed: 2017-04-05 18:50:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1389223    

Description Ziqian SUN (Zamir) 2016-10-27 08:33:43 UTC
Description of problem:
Segmentation fault (core dumped) if trace-cmd snapshot after trace-cmd start -p wakeup
Version-Release number of selected component (if applicable):
Fedora Rawhide x86_64
[root@nec-em13 ~]# uname -r
4.9.0-0.rc1.git4.1.fc26.x86_64
[root@nec-em13 ~]# dnf info trace-cmd
Last metadata expiration check: 0:06:30 ago on Thu Oct 27 04:21:22 2016 EDT.
Installed Packages
Name         : trace-cmd
Version      : 2.6
Release      : 2.fc26
Arch         : x86_64
Size         : 485 k
Source       : trace-cmd-2.6-2.fc26.src.rpm


How reproducible:
Always

Steps to Reproduce:
1.Start a new machine with Fedora Rawhide 
2.# trace-cmd start -p wakeup
3.# trace-cmd snapshot -s

Actual results:
[root@nec-em13 ~]# trace-cmd snapshot -s
trace-cmd: Device or resource busy
  Segmentation fault (core dumped)


Expected results:
Success without error. Or return an error (instead of segmentation fault) if this is not supported.

Additional info:

Comment 1 Fedora End Of Life 2017-02-28 10:31:16 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Zamir SUN 2017-03-27 08:01:46 UTC
Patch available in LKML.
http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1359060.html
Will update trace-cmd within this week.

Comment 3 Fedora Update System 2017-03-27 23:12:02 UTC
trace-cmd-2.6-2.1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-af4d515a6b

Comment 4 Fedora Update System 2017-03-27 23:13:58 UTC
trace-cmd-2.6-4.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-e1559dd7b6

Comment 5 Fedora Update System 2017-03-28 17:53:55 UTC
trace-cmd-2.6-4.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-e1559dd7b6

Comment 6 Fedora Update System 2017-03-29 04:23:10 UTC
trace-cmd-2.6-2.1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-af4d515a6b

Comment 7 Fedora Update System 2017-04-05 18:50:40 UTC
trace-cmd-2.6-2.1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2017-04-05 21:59:18 UTC
trace-cmd-2.6-4.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.