Perl script freezes when accessing a USB serial port

Bug #644116 reported by odror on 2010-09-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
perl (Ubuntu)

Bug Description

Binary package hint: perl

I have the that controls IR blaster. it was working fine on Ubuntu 10.04. now it freezes
The following subroutine is called and freeze:

my $serial=init_serial("/dev/ttyUSB0","19200");

The first few line of this subroutine are:

sub init_serial {

        my $serial=new FileHandle("+>$port") || die "Could not open $port: $!\n";

The call to New FileHandler fails, which is in


In the subroutime new, when performing open()

It freezes in that routine.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: perl 5.10.1-12ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.32-generic
Uname: Linux 2.6.35-22-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Sep 20 22:41:24 2010
InstallationMedia: Mythbuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
 PATH=(custom, user)
SourcePackage: perl

odror (ozdror) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers