Bug 234404 - Cannot manage big listboxes with perl-Tk.
Cannot manage big listboxes with perl-Tk.
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Andreas Bierfert
David Lawrence
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-28 17:30 EDT by Pierre Lacaze
Modified: 2008-01-06 20:29 EST (History)
3 users (show)

See Also:
Fixed In Version: 804.028-1.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-01-06 20:29:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Perl program which crashes. (733 bytes, application/x-perl)
2007-03-28 17:30 EDT, Pierre Lacaze
no flags Details

  None (edit)
Description Pierre Lacaze 2007-03-28 17:30:06 EDT
Description of problem:
Try to execute a little perl program (in attachment), creating a listbox of 200
entries, then try to select at the same time these entries. It fails.

Version-Release number of selected component (if applicable):
Fedora 7 test 2

How reproducible:
perl bugperl.pl


Actual results:
A new listbox windows is displayed, but it disappears immediately, and the
following error is displayed:

selection conversion left too many bytes unconverted
Abandon


Expected results:
Under windows (ActiveState Perl, + TK804 library), there is no error, and the
listbox window is displayed properly. 


Additional info: see attachment. If you replace the 200 in the loop by 30, it
works well. 
If you comment the 
$lbox->selectionSet(0,'end');
line, it works well too.
Comment 1 Pierre Lacaze 2007-03-28 17:30:06 EDT
Created attachment 151170 [details]
Perl program which crashes.
Comment 2 Steven Pritchard 2007-03-29 11:21:56 EDT
Is this using perl-Tk from Extras or a locally compiled module?
Comment 3 Pierre Lacaze 2007-03-29 15:29:27 EDT
I did not compile perl-Tk myself. Here is a yum info output.

Name   : perl-Tk
Arch   : i386
Version: 804.027
Release: 10.fc6
Size   : 6.7 M
Repo   : installed
Summary: Perl Graphical User Interface ToolKit

Name   : perl
Arch   : i386
Epoch  : 4
Version: 5.8.8
Release: 15.fc7
Size   : 28 M
Repo   : installed
Summary: The Perl programming language
Comment 4 Andreas Bierfert 2007-04-01 03:39:20 EDT
Hm I suspect that perl-Tk should be rebuild because on FC6 it works without a
problem. Will push a rebuild now. Please get back to me if it works afterwards.
Comment 5 Pierre Lacaze 2007-04-02 14:40:06 EDT
Hello,

I do not know if you have pushed the rebuild (yum update perl-Tk gives nothing
new). But I downloaded the sources from the Debian site
http://packages.debian.org/stable/source/perl-tk (file perl-tk_800.025.orig),
compiled them, and the bug has disappeared. 

Comment 6 Pierre Lacaze 2007-04-04 15:00:21 EDT
Hello,

I unsinstalled my self-compiled package, and installed perl-Tk via yum instead.
Now, the release is 804.027-11.fc7.

On my computer, the bug happens again, just like before. In fact, I think the
bug already happened in FC6, so I suppose a rebuild is not enough to solve the
bug. We should use the latest sources. 

Comment 7 Fedora Update System 2008-01-02 20:34:55 EST
perl-Tk-804.028-1.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl-Tk'
Comment 8 Fedora Update System 2008-01-02 20:35:55 EST
perl-Tk-804.028-1.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update perl-Tk'
Comment 9 Pierre Lacaze 2008-01-03 15:35:35 EST
Hi,

I donwloaded the package for Fedora 7. My perl programs work much better now.
Thank you! You can close the bug.

Comment 10 Andreas Bierfert 2008-01-03 17:47:15 EST
Thanks for the response. Bug will be closed once the package goes live.
Comment 11 Fedora Update System 2008-01-06 20:17:58 EST
perl-Tk-804.028-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2008-01-06 20:29:16 EST
perl-Tk-804.028-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

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