exmap permission errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
exmap (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: exmap
Installed exmap and exmap-modules-
Hardy Heron, AMD64 version.
Errors when running: gksudo gexmap:
1 /lib/ld-2.7.so calc_maps_
1 /lib/ld-2.7.so calc_maps_for_file: failed to calc elf file maps
calc_maps: failed to calc for /lib/ld-2.7.so
Failed to process maps for pid 1
Snapshot::load - failed to load: calculate file mappings
1: empty restriction to file [stack]
1: empty restriction to file /sbin/init
1: empty restriction to file [heap]
1: empty restriction to file [vsyscall]
1: empty restriction to file [anon]
1: empty restriction to file /lib/libc-2.7.so
1: empty restriction to file [vdso]
1: empty restriction to file /lib/ld-2.7.so
1: empty restriction to file [stack]
1: empty restriction to file /sbin/init
1: empty restriction to file [heap]
1: empty restriction to file [vsyscall]
1: empty restriction to file [anon]
1: empty restriction to file /lib/libc-2.7.so
1: empty restriction to file [vdso]
1: empty restriction to file /lib/ld-2.7.so
1: empty restriction to file [stack]
1: empty restriction to file /sbin/init
1: empty restriction to file [heap]
1: empty restriction to file [vsyscall]
1: empty restriction to file [anon]
1: empty restriction to file /lib/libc-2.7.so
1: empty restriction to file [vdso]
1: empty restriction to file /lib/ld-2.7.so
1: empty restriction to file /lib/ld-2.7.so
1: empty restriction to file /lib/libc-2.7.so
1: empty restriction to file /sbin/init
1: empty restriction to file [anon]
1: empty restriction to file [stack]
1: empty restriction to file /sbin/init
1: empty restriction to file [heap]
1: empty restriction to file [vsyscall]
1: empty restriction to file [anon]
1: empty restriction to file /lib/libc-2.7.so
1: empty restriction to file [vdso]
1: empty restriction to file /lib/ld-2.7.so
It then shows zero for all processes.
And when trying to run it as normal user:
Can't open file: /var/cache/
File::load - can't open file: /var/cache/
Can't open file: /var/cache/
File::load - can't open file: /var/cache/
Can't open file: /var/cache/
File::load - can't open file: /var/cache/
10963 /lib/ld-2.7.so calc_map_for_seg: non-file backed first vma
10963 /lib/ld-2.7.so calc_maps_
10963 /lib/ld-2.7.so calc_maps_for_file: failed to calc elf file maps
calc_maps: failed to calc for /lib/ld-2.7.so
Failed to process maps for pid 10963
Snapshot::load - failed to load: calculate file mappings
Vma::get_
sizes_for_
gexmap: /usr/include/
Abandon
description: | updated |
summary: |
- exmap not working + exmap permission errors |
Did you try to sudo it? for_elf_ file: can't calc map for seg pages_for_ range - start pgnum out of range: 0, 0 [vsyscall] mem_range: Can't get pages for range (ffffffffff6000 00,ffffffffff60 1000) boost/shared_ ptr.hpp: 419: T* boost::shared_ptr< <template- parameter- 1-1> >::operator->() const [with T = Exmap::Sizes]: Assertion `px != 0' failed.
I got a similar error:
$ gexmap
1857 /lib/ld-2.10.1.so calc_map_for_seg: non-file backed first vma
1857 /lib/ld-2.10.1.so calc_maps_
1857 /lib/ld-2.10.1.so calc_maps_for_file: failed to calc elf file maps
calc_maps: failed to calc for /lib/ld-2.10.1.so
Failed to process maps for pid 1857
Snapshot::load - failed to load: calculate file mappings
Vma::get_
sizes_for_
gexmap: /usr/include/
Aborted
Starting it with sudo however worked (in that sense that it started the gui).
Should yield an appropriate error-message though.
The bug is still valid because the GUI shows 0,0 for all values and I guess my system might be using slightly more RAM ;)