Bug 573213 - [abrt] crash in smem-0.1-5.fc12: smem:26:_stat:OSError: [Errno 2] No such file or directory: '/proc/1846/cmdline'
Summary: [abrt] crash in smem-0.1-5.fc12: smem:26:_stat:OSError: [Errno 2] No such fil...
Keywords:
Status: CLOSED DUPLICATE of bug 678249
Alias: None
Product: Fedora
Classification: Fedora
Component: smem
Version: 14
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthew Miller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5cf6bfca
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-13 13:16 UTC by Oliver Henshaw
Modified: 2011-08-10 23:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-10 23:36:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (896 bytes, text/plain)
2010-03-13 13:16 UTC, Oliver Henshaw
no flags Details

Description Oliver Henshaw 2010-03-13 13:16:04 UTC
abrt 1.0.8 detected a crash.

architecture: i686
cmdline: /usr/bin/python /usr/bin/smem -t
comment: If processes can disappear between enumerating processes and reading them, then this is a case that should be handled. Obviously it's hard to reproduce.
component: smem
executable: /usr/bin/smem
kernel: 2.6.32.9-70.fc12.i686
package: smem-0.1-5.fc12
reason: smem:26:_stat:OSError: [Errno 2] No such file or directory: '/proc/1846/cmdline'
release: Fedora release 12 (Constantine)

backtrace
-----
smem:26:_stat:OSError: [Errno 2] No such file or directory: '/proc/1846/cmdline'

Traceback (most recent call last):
  File "/usr/bin/smem", line 624, in <module>
    showpids()
  File "/usr/bin/smem", line 243, in showpids
    showtable(pt.keys(), fields, columns.split(), options.sort or 'pss')
  File "/usr/bin/smem", line 438, in showtable
    r = [fields[c][1](n) for c in columns]
  File "/usr/bin/smem", line 217, in showuser
    return pidusername(p)
  File "/usr/bin/smem", line 159, in pidusername
    return username(src.piduser(pid))
  File "/usr/bin/smem", line 43, in piduser
    return self._stat('%d/cmdline' % pid).st_uid
  File "/usr/bin/smem", line 26, in _stat
    return os.stat(self.source + "/proc/" + f)
OSError: [Errno 2] No such file or directory: '/proc/1846/cmdline'

Local variables in innermost frame:
self: <__main__.procdata object at 0x91cd2ec>
f: '1846/cmdline'

How to reproduce
-----
$ smem -t

I guess the process finished or crashed. Is that plausibIe?

Comment 1 Oliver Henshaw 2010-03-13 13:16:09 UTC
Created attachment 399851 [details]
File: backtrace

Comment 2 Matthew Miller 2010-03-13 13:22:59 UTC
Thanks -- I'll forward this upstream.

Comment 3 Bug Zapper 2010-11-03 19:55:02 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Oliver Henshaw 2010-11-03 23:30:17 UTC
Changed version to F14 as I have every reason to believe the crash has not been fixed. Indeed this very issue is currently being discussed on the mailing list, beginning at http://selenic.com/pipermail/smem/2010-November/000093.html

Comment 5 Oliver Henshaw 2011-05-03 17:56:27 UTC
This may be fixed in upstream hg [1]. Additionally, smem 1.0 has been
'released' [2], albeit as an hg tag [3] rather than as a tarball.

[1] http://selenic.com/pipermail/smem/2011-February/000101.html
[2] http://selenic.com/pipermail/smem/2011-February/000103.html
[3] http://selenic.com/repo/smem

Comment 6 Matthew Miller 2011-08-10 23:36:09 UTC

*** This bug has been marked as a duplicate of bug 678249 ***


Note You need to log in before you can comment on or make changes to this bug.