Bug 1141117

Summary: perl Tk applications crash with perl 5.20.0
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-TkAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: andreas.bierfert, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Tk-804.032-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-15 08:47:12 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:
Bug Depends On:    
Bug Blocks: 1136197, 1136237, 1136334    

Description Petr Pisar 2014-09-12 09:05:33 UTC
perl-Tk-804.032-3.fc22.x86_64 segfaults with perl-5.20.0-307.fc22.x86_64:

$ perl -MTk -e '$mw = new MainWindow'
c69028 is not a hash at /usr/lib64/perl5/vendor_perl/Tk/MainWindow.pm line 53.
Aborted (core dumped)

Comment 1 Petr Pisar 2014-09-12 12:22:04 UTC
Applying upstream patches helps. Then all Tk tests pass except one. See CPAN RT#98831.

Comment 2 Petr Pisar 2014-09-12 13:03:01 UTC
(In reply to Petr Pisar from comment #1)
> Applying upstream patches helps. Then all Tk tests pass except one. See CPAN
> RT#98831.

liberation-sans-fonts is needed. The test is sensitive to fonts.

Comment 3 Petr Pisar 2014-09-15 07:45:53 UTC
t/fileevent2.t fails in mock due missing missing a blocing TTY on stdin (see CPAN RT#98891).

Comment 4 Petr Pisar 2014-10-10 07:47:35 UTC
(In reply to Petr Pisar from comment #2)
> (In reply to Petr Pisar from comment #1)
> > Applying upstream patches helps. Then all Tk tests pass except one. See CPAN
> > RT#98831.
> 
> liberation-sans-fonts is needed. The test is sensitive to fonts.

This was fixed by upstream commit:

commit 39ce3fa564b0843a00553f5444b2110ed5e9701e
Author: Slaven Rezic <slaven>
Date:   Sat Sep 20 21:46:54 2014 +0200

    entry.t tweaking
    
    This should fix the (font-related) issues described in RT #98831.

Then only t/font.t fails without liberation-sans-fonts because it checks for number of font families available (see <https://rt.cpan.org/Public/Bug/Display.html?id=99411>).