Package: memstat
Version: 0.6
Severity: normal

When running memstat with a 32-bit x86 userland on a 64-bit amd64
kernel, I get this:

eckert:~# memstat 
strtol: Numerical result out of range
eckert:~# ltrace memstat
...
strlen("/dev/mem")                               = 8
strncmp("/lib/ld-2.9.so", "/dev/mem", 8)         = 8
strlen("/dev/dri/")                              = 9
strncmp("/lib/ld-2.9.so", "/dev/dri/", 9)        = 8
fgets("fff52000-fff67000 rw-p 7ffffffea"..., 4396, 0x9908428) = 0xff89272c
strchr("fff52000-fff67000 rw-p 7ffffffea"..., '-') = "-fff67000 rw-p 
7ffffffea000 00:0"...
strlen("fff52000 fff67000 rw-p 7ffffffea"...)    = 81
sscanf(0xff89272c, 0x804980c, 0xff8938b0, 0xff8938ac, 0xff892724) = 7
strtol(0xff893858, 0, 16, 0xff8938ac, 0xff892724) = 0
__errno_location()                               = 0xf7dfb688
perror("strtol"strtol: Numerical result out of range
)                                 = <void>
exit(1 <unfinished ...>
+++ exited (status 1) +++
eckert:~# 

It happends every time, rendering memstat useless.

Version 0.6 and 0.7 has this problem, 0.5 is working fine.

/ Anders

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.29.4 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to sv_SE.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages memstat depends on:
ii  libc6                         2.9-12     GNU C Library: Shared libraries

memstat recommends no packages.

memstat suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to