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: {}
Created attachment 701390 [details] File: backtrace
Created attachment 701391 [details] File: core_backtrace
Created attachment 701392 [details] File: environ
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?
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?
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.
Ok thanks for your feedback Christopher. I close this bug. Btw 1.6 is on its way to updates-testing.