Bug 628655 - perl segfaults when joining a thread and using perl-Tk
Summary: perl segfaults when joining a thread and using perl-Tk
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Tk
Version: 19
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-30 16:48 UTC by rdv
Modified: 2015-01-14 17:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-14 17:31:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description rdv 2010-08-30 16:48:04 UTC
Description of problem:
perl segfaults when joining a thread and using perl-Tk

Version-Release number of selected component (if applicable):
perl-5.10.1-116.fc13.x86_64

How reproducible:
Execute the next code:
use strict;
use Tk;
use threads;

sub init {
    print "exiting init\n";
}

my $thread1  = threads->create("init");

my $mw = MainWindow->new();
$thread1->join();
print "finished\n";
exit(0);

Steps to Reproduce:
execute the above code by:
perl threadtest.pl
  
Actual results:
perl ./threadtest.pl 
exiting init
finished
Segmentation fault (core dumped)

Exit value of process:
>echo $?
139

Expected results:
perl ./threadtest.pl 
exiting init
finished

Exit value of process:
>echo $?
0

Additional info:
using perl-Tk package: perl-Tk-804.028-11.fc13.x86_64

Comment 1 Bug Zapper 2011-05-31 15:01:02 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora End Of Life 2012-08-07 19:26:56 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Jan Pazdziora 2012-08-08 08:14:58 UTC
This segfaulting in Fedora 17:

$ cat > ./threadtest.pl
use strict;
use Tk;
use threads;

sub init {
    print "exiting init\n";
}

my $thread1  = threads->create("init");

my $mw = MainWindow->new();
$thread1->join();
print "finished\n";
exit(0);
$ perl ./threadtest.pl
exiting init
finished
Segmentation fault
$ echo $?
139
$ rpm -q perl perl-Tk
perl-5.14.2-212.fc17.x86_64
perl-Tk-804.029-6.fc17.x86_64
$ 

Reopening.

Comment 4 Fedora End Of Life 2013-07-04 06:44:55 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Jan Pazdziora 2013-07-04 07:38:16 UTC
The same result in Fedora 19:

# perl /tmp/code.pl
exiting init
finished
Segmentation fault
# echo $?
139
# rpm -q perl perl-Tk
perl-5.16.3-265.fc19.x86_64
perl-Tk-804.030-4.fc19.x86_64
#

Comment 6 Petr Pisar 2014-10-10 07:59:34 UTC
It crashes in F20:

tcl-8.5.14-1.fc20.x86_64
perl-5.18.4-290.fc20.x86_64
perl-threads-1.92-1.fc20.x86_64
perl-Tk-804.031-4.fc20.x86_64

It does not crash in F22:

tcl-8.6.2-1.fc22.x86_64
perl-5.20.1-309.fc22.x86_64
perl-threads-1.96-1.fc22.x86_64
perl-Tk-804.032-4.fc22.x86_64

Comment 7 Fedora End Of Life 2015-01-09 21:45:31 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Jan Pazdziora 2015-01-12 09:51:25 UTC
(In reply to Petr Pisar from comment #6)
> It crashes in F20:
> 
> tcl-8.5.14-1.fc20.x86_64
> perl-5.18.4-290.fc20.x86_64
> perl-threads-1.92-1.fc20.x86_64
> perl-Tk-804.031-4.fc20.x86_64
> 
> It does not crash in F22:
> 
> tcl-8.6.2-1.fc22.x86_64
> perl-5.20.1-309.fc22.x86_64
> perl-threads-1.96-1.fc22.x86_64
> perl-Tk-804.032-4.fc22.x86_64

Should this be NEXTRELEASE, then? I can see the segfault in Fedora 21 with

tcl-8.6.3-1.fc21.x86_64
perl-5.18.4-305.fc21.x86_64
perl-threads-1.92-3.fc21.x86_64
perl-Tk-804.031-7.fc21.x86_64

Comment 9 Petr Pisar 2015-01-12 09:59:56 UTC
(In reply to Jan Pazdziora from comment #8)
> Should this be NEXTRELEASE, then? I can see the segfault in Fedora 21 with
> 
It should.

Comment 10 Jan Pazdziora 2015-01-13 16:31:53 UTC
Andreas, I don't want to mess up with your bugzilla -- would you like to close this bugzilla based on the above comments?

Comment 11 Andreas Bierfert 2015-01-14 17:31:55 UTC
Yes. Thanks for the reminder...


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