Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169379 - x11-plugins/asmem 1.12 does work with large memory or swap
Summary: x11-plugins/asmem 1.12 does work with large memory or swap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Afterstep Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-04 23:35 UTC by Michael Krelin
Modified: 2008-01-17 06:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
asmem-1.10-longmem.patch (asmem-1.10-longmem.patch,621 bytes, patch)
2007-03-04 23:36 UTC, Michael Krelin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Krelin 2007-03-04 23:35:30 UTC
when having more than int kilobytes of memory or swapspace asmem display is corrupt. I've sent a patch upstream and asked whether the patched version is going to be released soon. The guy answered that he would expect it in a month or so, so it's up to you to decide whether you want to add the small patch or wait for a new release.

Reproducible: Sometimes

Steps to Reproduce:
1. Buy a lot of ram or add a big swap file/partition
2. Run asmem
3. Enjoy

Actual Results:  
shows 92mb of swap with 967265mb free claiming it's 48%

Expected Results:  
should've shown 4188mb of swap with 4065mb free which is approx 97%

patch follows.
Comment 1 Michael Krelin 2007-03-04 23:36:14 UTC
Created attachment 112125 [details, diff]
asmem-1.10-longmem.patch
Comment 2 Michael Krelin 2007-04-12 21:52:29 UTC
Upstream accepted a patch and released a new version.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-01-17 06:55:14 UTC
Upstream changelog:

12 Apr 2007     1.12    albert@tigr.net

                Missed to change the function's type in 1.11
                making it not fix anything really :) Now should be fine.
                Additionally, some small changes to get rid of
                the warnings and additional small changes to the
                behaviour of the reading function in case of errors.

08 Apr 2007     1.11    albert@tigr.net

                Patch from Michael Krelin <hacker@klever.net>
                patch which enables comfortable use of asmem 
                when you have a plenty if memory (or swaps for 
                that matter).

Gentoo changelog:

*asmem-1.12 (17 Jan 2008)

  17 Jan 2008; Samuli Suominen <drac@gentoo.org> +asmem-1.12.ebuild:
  Version bump.

Bug:

Fixed.