[Mono-bugs] [Bug 412723] System.SystemException: The process has exited -- while iterating processes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 28 15:50:55 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=412723

User casey.s.marshall at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412723#c3





--- Comment #3 from Casey Marshall <casey.s.marshall at gmail.com>  2008-07-28 13:50:55 MDT ---
$ ls -l /proc/1/maps
-r--r--r-- 1 root root 0 2008-07-28 10:45 /proc/1/maps

But running `cat /proc/1/maps' (as a normal user) prints nothing, while running
`sudo cat /proc/1/maps' prints the map correctly. This is Ubuntu 8.04.

I'll attach a patch that I've come up with that seems to fix this issue -- if
it can't find the process name through the /proc/$pid/maps file, even if it
opened it up correctly, it will make one final attempt with
get_process_name_from_proc. The patch is against the mono-2-0 branch.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list