[Mono-list] Using mdb on a "hardened" system?

Miguel de Icaza miguel at novell.com
Mon Nov 9 14:50:26 EST 2009


Hello Mike,

    Although I do not have an answer for you when it comes to PaX or any
other hardened features, I can tell you that you might want to try Mono
2.6 from SVN (not the releases tarballs) and MonoDevelop 2.2 from SVN as
they both support the new Soft Debugger.

    The support is not complete, but we expect to have this finished
this week.

> I've recently put MonoDevelop onto a system that's running Hardened
> Gentoo -- the kernel has PaX active and the compiler defaults to PIE +
> SSP for all applications.
> 
> I can successfully run applications normally by disabling some of the
> PaX protections on /usr/bin/mono, but I've been unable to debug
> applications.  When I try to start an application via mdb (or via the
> monodevelop-debugger plugin) I get this:
> 
> EXCEPTION: Mono.Debugger.TargetMemoryException: Cannot read 8 bytes from
> target memory at address 0x0049de20
> 
> Does anyone have experience with this kind of setup?  Is there something
> I can do to make this work, or is it just never going to work on this
> system?
> 
> --Mike
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list