I've attached a patch to fix this.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
Description: Don't give Ran into unknown state (hex char: 0) when EACCESS on
stat on /proc dirs
--- libproc-processtable-perl-0.637.orig/os/Linux.c
+++ libproc-processtable-perl-0.637/os/Linux.c
@@ -764,10 +764,7 @@ void OS_get_table()
/* scrape /proc/${pid}/stat */
if(get_proc_stat(dir_result->d_name, format_str, prs, &mem_pool) == false)
{
- /* did the pid directory go away mid flight? */
- if(pid_exists(dir_result->d_name, &mem_pool) == false) {
continue;
- }
}
/* correct values (times) found in /proc/${pid}/stat */