ruby ioctl: Error integer 2148012656 too big to convert to `int'

Bug #997150 reported by Hadmut Danisch
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ruby1.9.1 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

the upgrade to ubuntu 12.04 came with an upgrade to ruby 1.9.3. Unfortunately, in recent 1.9.3 versions of ruby there's a bug in the ioctl function. E.g. if you want to do getbsz() on a block device and do a

f.ioctl(0x80081270,a)

you'll get the error message

Error integer 2148012656 too big to convert to `int'
RangeError

(2148012656 = 0x80081270)
which is somewhat related to a quite similar (but not same) bug in

http://www.ruby-forum.com/topic/3820494

regards

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ruby1.9.1 1.9.3.0-1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Wed May 9 17:01:57 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/tcsh
SourcePackage: ruby1.9.1
UpgradeStatus: Upgraded to precise on 2012-05-03 (5 days ago)

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ruby1.9.1 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.