http://bugs.winehq.org/show_bug.cgi?id=35594
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |dotnet CC| |focht@gmx.net Summary|Photoatix crashing since |Photomatix Pro 5 crashes |update to Wine 1.7 |after update to Wine 1.7
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
--- snip --- Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x79394e36). ... Backtrace: =>0 0x79394e36 in mscorlib.ni (+0x2d4e36) (0x0033e66c) 1 0x793952f4 in mscorlib.ni (+0x2d52f3) (0x0033e6a8) 2 0x793694b6 in mscorlib.ni (+0x2a94b5) (0x0033e6f8) 3 0x79369312 in mscorlib.ni (+0x2a9311) (0x007f15cc) --- snip ---
That's a crash in native .NET compiled code ('.ni' -> native image). To improve performance, .NET compiles managed assemblies to native host code which includes several load-time optimizations (hard-binding).
If one of the dependencies changes (which includes win32 core dlls), for example due to addition/change of APIs, native images become invalid and need to be regenerated.
On Windows, the regeneration/update of assembly cache is triggered by service pack/hotfix installers or scheduled jobs hence this problem doesn't exist there.
You could try to force manual regeneration of native images in GAC by running the following command:
For .NET Framework 2.x/3.x:
--- snip --- $ wine "c:\windows\Microsoft.NET\Framework\v2.0.50727\ngen.exe" update --- snip ---
For .NET Framework 4.x:
--- snip --- $ wine "c:\windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe" update --- snip ---
(be patient this might will take some time until completion).
If this doesn't help try to install the app (and prerequisites) in new WINEPREFIX.
Just tested with a clean install of Photomatix Pro 5 and it works fine with Wine 1.7.12
Regards