Perl 5.10 gives segmentation faults (ubuntu intrepid)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: perl
Hi. I've finally upgrade to ubuntu intrepid, but then I get disappointed when my perl scripts stop running correctly.
I used to run an script for editing playlists in my Sansa player, which can be downloaded from this link:
http://
This script was running fine with perl 5.8x on Ubuntu hardy (8.04). But now on Intrepid(8.10) with perl 5.10 it gives "segmentation faul" errors.
By tracing this script I've discovered that most of the errors come from the GTK module on perl.
I've just put some lines for tracing the case when it gives a Segmentation fault. Exactly it gives error when I choose an item from the Folder Tree view, and then it raises "segmentation fault" errors when evaluating the selected Tree item. Check the line 190 in the function update_tree_folder.
But curiously, when running this script on debugging mode, it runs without problems. (on shell I just put : perl -d <some script>)
I guess that some binary component of perl has runtime problems when is compiled on Release mode, and I could think that some optimization options on gcc 4.3 could produce buggy apps. Who knows!! or may there is a problem in perl 5.10, since I've also seen many threads about perl 5.10 issues. Or may some perl modules are buggy, specially the GTK perl module.
So I've just decided to install ActivePerl while this issue is solved.
thanks.