Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83020 - Access Violations Arise When Emerging Mono-Related Packages with MONO_AOT_CACHE
Summary: Access Violations Arise When Emerging Mono-Related Packages with MONO_AOT_CACHE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 18:21 UTC by William Swartzendruber
Modified: 2008-12-26 00:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Portage Output (portage_output,15.94 KB, text/plain)
2005-02-22 18:24 UTC, William Swartzendruber
Details
full emerge log (gedit.emerge.log,191.02 KB, text/plain)
2006-08-08 17:12 UTC, Christian Schöne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Swartzendruber 2005-02-22 18:21:14 UTC
When emerging Mono-related packages while MONO_AOT_CACHE is set, Portage may experience access violations within /root/.mono/aot-cache/ or whatever directory happens to store the cached machine code for IL binaries.
Comment 1 William Swartzendruber 2005-02-22 18:24:05 UTC
Created attachment 51916 [details]
Portage Output

This is the output that Portage gave when emerging mod_mono-1.0.6.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2005-02-22 18:27:46 UTC
This is gonna take either unsetting this variable when emerging things (gross), or an extra variable for mono for overriding the AOT cache dir. I'd much prefer the later, and am testing a patch right now that does that. If that seems to work, i'll submit it upstream, and if they like it, include the patch in our 1.1.4 ebuilds.

Then, we can simply override that variable in the mono.eclass, like what is done now with the MONO_SHARED_DIR variable.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2005-08-04 11:18:10 UTC
Changing to an enhancement, as this requires quite a bit of upstream work, and
is not really relevant until MONO_AOT_CACHE works on more arches and is more
prevalent.
Comment 4 Christian Schöne 2006-08-08 17:12:28 UTC
Created attachment 93805 [details]
full emerge log
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2008-12-26 00:38:09 UTC
+# Fix bug 83020:
+# "Access Violations Arise When Emerging Mono-Related Packages with MONO_AOT_CACHE"
+
+unset MONO_AOT_CACHE