[ubuntu-mono] [Bug 247782] Re: Ubuntu mono patch dont_check_proc_self_exe causes FBFTS in evolution sharp
Michael Casadevall
sonicmctails at gmail.com
Wed Jul 16 21:46:50 UTC 2008
Here is some more information and related bugs on the issue:
https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/22410.
Essentially, readlink() on /proc/self/exe will return the path of the
executable that calls it, but on an unionfs based system, it will return
the wrong path (/squashfs/usr/bin/mono). THe old patch simply commented
out the check on /proc/self/exe, which obviously was a bad idea, and
also causes random segfaults all over the place (currently evolution-
sharp is known to FTBFS due to this issue, f-spot also FTBFS if its
rebuilt after clearing its dependency issues).
THe replacement patch (which I'm now testing) checks the prefix of any
path read via the readlink /proc/self/exe function call, and then strips
off the bad section of the path as necessary.
As evolution-sharp is known to trigger this bug, my test will involve
building it once in a normal chroot jail, and building it again on the
liveCD with the replacement mono. It should success both times if mono
has properly been fixed.
** Summary changed:
- Ubuntu mono patch dont_check_proc_self_exe causes FBFTS in evolution sharp
+ Ubuntu mono patch dont_check_proc_self_exe causes random segfaults in mono
--
Ubuntu mono patch dont_check_proc_self_exe causes random segfaults in mono
https://bugs.launchpad.net/bugs/247782
You received this bug notification because you are a member of MOTU Mono
Team, which is subscribed to mono in ubuntu.
More information about the Ubuntu-mono
mailing list