Bug 914837 - [abrt] glances-1.5.2-1.fc18: _pslinux.py:373:wrapper:NoSuchProcess: process no longer exists (pid=11528, name='sleep')
Summary: [abrt] glances-1.5.2-1.fc18: _pslinux.py:373:wrapper:NoSuchProcess: process n...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: glances
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Edouard Bourguignon
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5de3bf7a227ebe59b0423df488e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-22 22:42 UTC by Christopher Dello Russo
Modified: 2013-03-17 14:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-17 14:56:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.23 KB, text/plain)
2013-02-22 22:42 UTC, Christopher Dello Russo
no flags Details
File: core_backtrace (728 bytes, text/plain)
2013-02-22 22:42 UTC, Christopher Dello Russo
no flags Details
File: environ (2.76 KB, text/plain)
2013-02-22 22:42 UTC, Christopher Dello Russo
no flags Details

Description Christopher Dello Russo 2013-02-22 22:42:04 UTC
Description of problem:
Had glances running in the background for a while when this occured. Was web browsing as well at the time.

Version-Release number of selected component:
glances-1.5.2-1.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/glances
dso_list:       python-psutil-0.6.1-1.fc18.x86_64
executable:     /usr/bin/glances
kernel:         3.7.9-201.fc18.x86_64
uid:            1000

Truncated backtrace:
_pslinux.py:373:wrapper:NoSuchProcess: process no longer exists (pid=11528, name='sleep')

Traceback (most recent call last):
  File "/usr/bin/glances", line 9, in <module>
    load_entry_point('Glances==1.5.2', 'console_scripts', 'glances')()
  File "/usr/lib/python2.7/site-packages/glances/glances.py", line 3152, in main
    stats.update()
  File "/usr/lib/python2.7/site-packages/glances/glances.py", line 910, in update
    self.__update__(input_stats)
  File "/usr/lib/python2.7/site-packages/glances/glances.py", line 890, in __update__
    self.glancesgrabprocesses.update()
  File "/usr/lib/python2.7/site-packages/glances/glances.py", line 574, in update
    self.processcount[str(proc.status)] += 1
  File "/usr/lib64/python2.7/site-packages/psutil/__init__.py", line 271, in status
    return self._platform_impl.get_process_status()
  File "/usr/lib64/python2.7/site-packages/psutil/_pslinux.py", line 373, in wrapper
    raise NoSuchProcess(self.pid, self._process_name)
NoSuchProcess: process no longer exists (pid=11528, name='sleep')

Local variables in innermost frame:
callable: <function get_process_status at 0x2a1d6e0>
self: <psutil._pslinux.Process object at 0x2b18c50>
args: ()
err: IOError(2, 'No such file or directory')
kwargs: {}

Comment 1 Christopher Dello Russo 2013-02-22 22:42:07 UTC
Created attachment 701390 [details]
File: backtrace

Comment 2 Christopher Dello Russo 2013-02-22 22:42:09 UTC
Created attachment 701391 [details]
File: core_backtrace

Comment 3 Christopher Dello Russo 2013-02-22 22:42:11 UTC
Created attachment 701392 [details]
File: environ

Comment 4 Edouard Bourguignon 2013-02-24 07:09:52 UTC
Same bug here, glances seems to crash when a process is terminated during its stats calculation. I don't have the problem anymore with this version http://kojipkgs.fedoraproject.org//packages/glances/1.5.2/4.fc18/noarch/glances-1.5.2-4.fc18.noarch.rpm I made. Can you try it Christopher?

Comment 5 Christopher Dello Russo 2013-02-25 01:32:03 UTC
Will do. I also recalled something from when it happened: I had stepped away from the computer to get a package from UPS. When I came back I had to unlock my screen from the screensaver. The crash happened just a little after that. Perhaps that had an influence?

Comment 6 Christopher Dello Russo 2013-02-25 17:15:00 UTC
I tried to recreate the crash with the original glances program (letting it run for a while, letting the monitor sleep). It didn't crash but it did cause a bit of glitching after I came back on (my dmenu launcher didn't load up correctly, and in the wrong spot).

After that I uninstalled the original version I had and installed the rpm you posted above. It's working fine now.

Comment 7 Edouard Bourguignon 2013-03-17 14:56:16 UTC
Ok thanks for your feedback Christopher. I close this bug. Btw 1.6 is on its way to updates-testing.


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