Bug 1077596

Summary: mdiff crash
Product: [Fedora] Fedora Reporter: Martin Cermak <mcermak>
Component: wdiffAssignee: Praveen Kumar <kumarpraveen.nitdgp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 19CC: kumarpraveen.nitdgp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: wdiff-1.2.2-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-29 05:22:37 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:
Embargoed:
Attachments:
Description Flags
corefile none

Description Martin Cermak 2014-03-18 09:53:36 UTC
Created attachment 875846 [details]
corefile

[mcermak@dhcp-25-232 ~]$ cat sample
7622
0
0
0
0
0
0
0
1438
0
0
0
[mcermak@dhcp-25-232 ~]$ mdiff -W /dev/null sample 
mdiff: mdiff.c:1799: prepare_clusters: Assertion `size_value < size_array[counter2]' failed.
Aborted (core dumped)
[mcermak@dhcp-25-232 ~]$ mdiff -W sample sample 
mdiff: mdiff.c:1799: prepare_clusters: Assertion `size_value < size_array[counter2]' failed.
Aborted (core dumped)
[mcermak@dhcp-25-232 ~]$ wdiff2 sample sample 
Launching `mdiff -W sample sample'
mdiff: mdiff.c:1799: prepare_clusters: Assertion `size_value < size_array[counter2]' failed.
Aborted (core dumped)

[mcermak@dhcp-25-232 ~]$ rpm -qf `which mdiff`
wdiff-1.1.2-3.fc19.x86_64

Comment 1 Praveen Kumar 2014-03-18 14:33:23 UTC
Thanks for your bug report, I will take look into it this weekend.

Comment 2 Fedora Update System 2014-03-19 05:17:38 UTC
wdiff-1.2.1-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/wdiff-1.2.1-2.fc19

Comment 3 Fedora Update System 2014-03-20 03:07:25 UTC
Package wdiff-1.2.1-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wdiff-1.2.1-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-4099/wdiff-1.2.1-2.fc19
then log in and leave karma (feedback).

Comment 4 Martin Cermak 2014-03-20 06:36:47 UTC
(In reply to Fedora Update System from comment #3)
> Package wdiff-1.2.1-2.fc19:
> * should fix your issue,

Hi Praveen, not there yet. I still see the very same issue:

[mcermak@dhcp-25-232 ~]$ rpm -qf `which mdiff`
wdiff-1.2.1-2.fc19.x86_64
[mcermak@dhcp-25-232 ~]$ cat sample 
7622
0
0
0
0
0
0
0
1438
0
0
0
[mcermak@dhcp-25-232 ~]$ mdiff -W /dev/null sample
mdiff: mdiff.c:1799: prepare_clusters: Assertion `size_value < size_array[counter2]' failed.
Aborted (core dumped)
[mcermak@dhcp-25-232 ~]$

Comment 5 Fedora Update System 2014-04-18 04:45:43 UTC
wdiff-1.2.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/wdiff-1.2.2-1.fc19

Comment 6 Fedora Update System 2014-04-18 15:36:35 UTC
Package wdiff-1.2.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing wdiff-1.2.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5311/wdiff-1.2.2-1.fc19
then log in and leave karma (feedback).

Comment 7 Martin Cermak 2014-04-18 16:23:42 UTC
Hello Praveen, I think we're still not there:

$ mdiff -W /dev/null sample
mdiff: mdiff.c:1800: prepare_clusters: Assertion `size_value < size_array[counter2]' failed.
Aborted (core dumped)
$ rpm -q wdiff
wdiff-1.2.2-1.fc19.x86_64
$ cat sample 
7622
0
0
0
0
0
0
0
1438
0
0
0
$

Comment 8 Fedora Update System 2014-04-29 05:22:37 UTC
wdiff-1.2.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.