Debian Bug report logs -
#491909
System.Posix.Resource.setResourceLimit gives "setResourceLimit: invalid argument (Invalid argument)"
Reported by: Chris Lamb <chris@chris-lamb.co.uk>
Date: Tue, 22 Jul 2008 17:45:04 UTC
Severity: serious
Found in version ghc6/6.8.2-5
Fixed in version ghc6/6.8.2-6
Done: Kari Pahula <kaol@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Ian Lynagh (wibble) <igloo@debian.org>:
Bug#491909; Package ghc6.
(full text, mbox, link).
Acknowledgement sent to Chris Lamb <chris@chris-lamb.co.uk>:
New Bug report received and forwarded. Copy sent to Ian Lynagh (wibble) <igloo@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: ghc6
Version: 6.8.2-5
Severity: important
Just importing this bug from upstream:
# http://hackage.haskell.org/trac/ghc/ticket/2038
import System.Exit (exitWith, ExitCode(ExitSuccess))
import System.IO (putStrLn)
import System.Posix.Resource
rlimit = ResourceLimit 3
f = do
putStrLn "whoooooo"
f
main = do
setResourceLimit ResourceCPUTime (ResourceLimits rlimit rlimit)
r <- getResourceLimit ResourceCPUTime
let (ResourceLimit s) = softLimit r
let (ResourceLimit h) = hardLimit r
putStrLn $ show s
putStrLn $ show h
f
exitWith ExitSuccess
Returns:
$ strace -etrace=setrlimit ./m
setrlimit(RLIMIT_CPU, {rlim_cur=3, rlim_max=0}) = -1 EINVAL (Invalid
argument)
m: setResourceLimit: invalid argument (Invalid argument)
.. so that I can request that the patch be applied to ghc6 for Lenny. As
Eelis mentions on the haskell.org BR, this breaks geordi on x86-32.
Regards,
--
Chris Lamb, UK chris@chris-lamb.co.uk
GPG: 0x634F9A20
[signature.asc (application/pgp-signature, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Ian Lynagh (wibble) <igloo@debian.org>:
Bug#491909; Package ghc6.
(full text, mbox, link).
Acknowledgement sent to Chris Lamb <chris@chris-lamb.co.uk>:
Extra info received and forwarded to list. Copy sent to Ian Lynagh (wibble) <igloo@debian.org>.
(full text, mbox, link).
Message #10 received at 491909@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
severity 491909 serious
thanks
Hi, am bumping the severity of this bug as it is breaking geordi.
A patch (by Igloo) has been available upstream for a little while now and
was released with the 6.8.3 "bugfix" release. Please could you backport it
to Debian's 6.8.2 release for Lenny?
Regards,
--
Chris Lamb, UK chris@chris-lamb.co.uk
GPG: 0x634F9A20
[signature.asc (application/pgp-signature, attachment)]
Severity set to `serious' from `important'
Request was from Chris Lamb <chris@chris-lamb.co.uk>
to control@bugs.debian.org.
(Sat, 02 Aug 2008 19:21:02 GMT) (full text, mbox, link).
Reply sent to Kari Pahula <kaol@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Chris Lamb <chris@chris-lamb.co.uk>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #17 received at 491909-close@bugs.debian.org (full text, mbox, reply):
Source: ghc6
Source-Version: 6.8.2-6
We believe that the bug you reported is fixed in the latest version of
ghc6, which is due to be installed in the Debian FTP archive:
ghc6-doc_6.8.2-6_all.deb
to pool/main/g/ghc6/ghc6-doc_6.8.2-6_all.deb
ghc6-prof_6.8.2-6_i386.deb
to pool/main/g/ghc6/ghc6-prof_6.8.2-6_i386.deb
ghc6_6.8.2-6.diff.gz
to pool/main/g/ghc6/ghc6_6.8.2-6.diff.gz
ghc6_6.8.2-6.dsc
to pool/main/g/ghc6/ghc6_6.8.2-6.dsc
ghc6_6.8.2-6_i386.deb
to pool/main/g/ghc6/ghc6_6.8.2-6_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 491909@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kari Pahula <kaol@debian.org> (supplier of updated ghc6 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 03 Sep 2008 23:41:18 +0300
Source: ghc6
Binary: ghc6 ghc6-prof ghc6-doc
Architecture: source i386 all
Version: 6.8.2-6
Distribution: unstable
Urgency: medium
Maintainer: Kari Pahula <kaol@debian.org>
Changed-By: Kari Pahula <kaol@debian.org>
Description:
ghc6 - GHC - the Glasgow Haskell Compilation system
ghc6-doc - Documentation for the Glasgow Haskell Compilation system
ghc6-prof - Profiling libraries for the Glasgow Haskell Compilation system
Closes: 489157 491909
Changes:
ghc6 (6.8.2-6) unstable; urgency=medium
.
* New maintainer.
* Made the perl script driver/split/ghc-split not use the obsolete $*
var (Closes: #489157)
* Copied libraries/unix/System/Posix/Resource.hsc and
libraries/base/include/HsBase.h from 6.8.3 to fix issues with
setResourceLimit. (Closes: #491909)
Checksums-Sha1:
d094cd46aa2f26ddc0d1cb355203c7d315bfc39e 1124 ghc6_6.8.2-6.dsc
fcc4438dbf4ad5c5648934900cff75ad4001b70e 27404 ghc6_6.8.2-6.diff.gz
5a23bc147e70ab024f95e0e6956b61ddb90a70fb 28458690 ghc6_6.8.2-6_i386.deb
3f5b34cc5d19240b4c23811ada667ad794ccfeda 10348068 ghc6-prof_6.8.2-6_i386.deb
3c3e08ab017298f7e97a23779a04d2388f29daca 2444770 ghc6-doc_6.8.2-6_all.deb
Checksums-Sha256:
31c9bf60686b9ece6c5e1a747c8cf46acf9d861b00ca4def657b344020f542eb 1124 ghc6_6.8.2-6.dsc
915fdfdeeb4edbf16141216011f2ac1703f04debd9cd738317e5035ed84604e9 27404 ghc6_6.8.2-6.diff.gz
12ced389d317a5ec19fb9c71f022f6148b5d34709f08111afd52f4c1db910f5d 28458690 ghc6_6.8.2-6_i386.deb
c14e6d8f9b6a66e9c0c3e1ca32f1b6837403f8cf677d825094fff31fa1e9d581 10348068 ghc6-prof_6.8.2-6_i386.deb
b7898f3f97cf23f4588c4d20ad44250d76cfb092ac53f61028df5089c3006492 2444770 ghc6-doc_6.8.2-6_all.deb
Files:
f1e985ddc47ec9fffdd943c78936124f 1124 devel optional ghc6_6.8.2-6.dsc
e36d4500b38c17e4c7c2f47f82c2d0f3 27404 devel optional ghc6_6.8.2-6.diff.gz
53d3d9fb531ec5e236ddbf6227abe3da 28458690 devel optional ghc6_6.8.2-6_i386.deb
b5562554a0aab998d4d153db307b8b36 10348068 devel optional ghc6-prof_6.8.2-6_i386.deb
68e024bfe4b833094f4519c64b26bad4 2444770 doc optional ghc6-doc_6.8.2-6_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAki+/WAACgkQeYl9593Atw32iACeMnVyArLqo7w9fycu9ttrCVFp
aJYAn0Zh9MGjmb+1i6PShXNZ743f3dpL
=tT9t
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 09 Oct 2008 07:26:52 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 12 01:29:43 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.