Still reproducible with 0.10-2.1 (sid) and vanilla kernel 2.6.25-rc8. However now gexmap seems to be more verbose (or hits more errors). When running as a normal user:
------------------------------------------------------------
$ gexmap
3486 /lib/ld-2.7.so calc_map_for_seg: non-file backed first vma
3486 /lib/ld-2.7.so calc_maps_for_elf_file: can't calc map for seg
3486 /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 3486
Snapshot::load - failed to load: calculate file mappings
Vma::get_pages_for_range - start pgnum out of range: 0, 0 [vsyscall]
sizes_for_mem_range: Can't get pages for range
(ffffffffff600000,ffffffffff601000)
gexmap: /usr/include/boost/shared_ptr.hpp:315: T*
boost::shared_ptr<T>::operator->() const [with T = Exmap::Sizes]: Assertion `px
!= 0' failed.
Aborted
------------------------------------------------------------
When running as root, it outputs this:
------------------------------------------------------------
$ sudo gexmap
1 /lib/ld-2.7.so calc_map_for_seg: non-file backed first vma
1 /lib/ld-2.7.so calc_maps_for_elf_file: can't calc map for seg
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
------------------------------------------------------------
After that it starts, but all values for processes are 0.00. Only one
file has non-zero values in the Files tab, namely /lib/ld-2.7.so.
/lib/libc-2.7.so and friends show everything as 0.00.
The only kernel message is
/proc/exmap: insert
.
Sami
signature.asc
Description: Digital signature

