Bug 498915

Summary: btt segfaults when analyzing an input file
Product: Red Hat Enterprise Linux 5 Reporter: Milos Malik <mmalik>
Component: blktraceAssignee: Eric Sandeen <esandeen>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 09:41:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
blktrace output file
none
blkrawverify output file
none
strace output when running btt none

Description Milos Malik 2009-05-04 13:23:01 UTC
Description of problem:
btt segfaults when analyzing an input file created by blktrace

Version-Release number of selected component (if applicable):
blktrace-1.0.0-3.el5

How reproducible:
always

Steps to Reproduce:
# blktrace -d /dev/mapper/VolGroup00-LogVol00 -w 10
Device: /dev/mapper/VolGroup00-LogVol00
  CPU  0:                    0 events,        2 KiB data
  Total:                     0 events (dropped 0),        2 KiB data
# ls -l *.blktrace.*
-rw-r--r-- 1 root root 1584 May  4 09:18 dm-0.blktrace.0
# blkrawverify dm-0
Verifying dm-0
    CPU 0 
Wrote output to dm-0.verify.out
# btt -i dm-0.blktrace.0 
Segmentation fault
# echo $?
139

  
Actual results:
segfault

Expected results:
no segfaults

Additional info:

Comment 1 Milos Malik 2009-05-04 13:24:10 UTC
Created attachment 342301 [details]
blktrace output file

Comment 2 Milos Malik 2009-05-04 13:25:23 UTC
Created attachment 342302 [details]
blkrawverify output file

Comment 3 Milos Malik 2009-05-04 13:26:25 UTC
Created attachment 342303 [details]
strace output when running btt

Comment 6 Eric Sandeen 2009-05-04 20:50:33 UTC
Fixed by:

http://git.kernel.dk/?p=blktrace.git;a=commitdiff;h=f3db34733e7c8a46e9e26305e424a3ecd49ac06d

upstream; I'll pull it in.

Thanks,
-Eric

Comment 7 Eric Sandeen 2009-05-04 20:53:26 UTC
Building in blktrace-1.0.0-4.el5

Comment 12 errata-xmlrpc 2009-09-02 09:41:11 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1284.html