Bug 1141117 - perl Tk applications crash with perl 5.20.0
Summary: perl Tk applications crash with perl 5.20.0
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Tk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1136197 1136237 1136334
TreeView+ depends on / blocked
 
Reported: 2014-09-12 09:05 UTC by Petr Pisar
Modified: 2014-10-10 07:47 UTC (History)
2 users (show)

Fixed In Version: perl-Tk-804.032-4.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-15 08:47:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 96280 0 None None None Never
CPAN 98831 0 None None None Never
CPAN 98891 0 None None None Never
CPAN 99411 0 None None None Never

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>).


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