Bug 20805 - pmap broken
Summary: pmap broken
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: procps (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-17 07:59 MSD by Alexey Voinov
Modified: 2010-09-24 05:50 MSD (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Voinov 2009-07-17 07:59:53 MSD
$ pmap 21821
21821: zsh
START       SIZE     RSS     PSS   DIRTY PERM MAPPING
08048000    520K    500K    125K      0K r-xp /bin/zsh
failed to parse /proc/21821/smaps

$ uname -a
Linux ansero.localdomain 2.6.30-std-def-alt1 #1 SMP Thu Jun 25 07:23:18 UTC 2009 i686 GNU/Linux
$ rpm -q procps
procps-3.2.7-alt2

Не исключаю, что виновато ядро.
Comment 1 Dmitry V. Levin 2009-07-17 11:59:02 MSD
Проверил на разных ядрах вокруг, везде запуск pmap заканчивается этим failed to parse.
Comment 2 Andrey Rahmatullin 2009-07-18 00:39:51 MSD
2.6.29-linode18 - нормально.
2.6.18-92.1.18.el5.028stab060.2PAE - нормально.
Это дебианы с procps 1:3.2.8-1
Comment 3 Andrey Rahmatullin 2009-07-24 13:40:02 MSD
2.6.18-128.1.1.el5.028stab062.3
procps-3.2.7-11.1.el5
Работает.
Comment 4 Andrey Rahmatullin 2010-02-24 14:44:14 MSK
Кривопатч bcecd8160417dadedb1b2eab632181c58ad29828, видимо.
В Debian, кажется, чтение smaps осуществляется патчем pmaps_smaps.patch из http://ftp.de.debian.org/debian/pool/main/p/procps/procps_3.2.8-7.debian.tar.gz
Comment 5 Dmitry V. Levin 2010-09-21 14:47:43 MSD
будет исправлено в качестве побочного эффекта от обновления пакета до 3.2.8-alt1
Comment 6 Repository Robot 2010-09-24 05:50:03 MSD
procps-3.2.8-alt1 -> sisyphus:

* Fri Sep 24 2010 Dmitry V. Levin <ldv@altlinux> 3.2.8-alt1
- Updated to 3.2.8.
- Updated patches from Debian procps-3.2.8-9, Fedora procps-3.2.8-10
  and openSUSE procps-3.2.8-19.8.
- Reviewed patches (closes: #20805); thanks to almost dead upstream,
  the amount of patches we have to maintain grows with time.
  In this release, the number of patches raised to 85.
- Fixed SELinux support.