ruby ioctl: Error integer 2148012656 too big to convert to `int'
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(
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://
regards
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ruby1.9.1 1.9.3.0-1ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
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)
Status changed to 'Confirmed' because the bug affects multiple users.