[Bug 35826] PascalABC.NET 2.2 (.NET 4.0 app) compiler crashes

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 20 13:30:52 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=35826

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dotnet, download
                URL|                            |http://pascalabc.net/downlo
                   |                            |ads/PascalABCNETSetup.exe
                 CC|                            |focht at gmx.net
            Summary|PascalABC.NET crash at      |PascalABC.NET 2.2 (.NET 4.0
                   |startup                     |app) compiler crashes

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello kivill,

your crash log shows it's not the main IDE (gui) but the compiler
'pabcnetc.exe' (console app).
What are the exact steps to reproduce?

I can't confirm the crash, runs and compiles examples fine here.

Prerequisite: 32-bit WINEPREFIX with .NET Framework 4.0

I created a simple Windows Forms project, dropped a button UI element and added
an event handler for click event.
Compiled and executed successfully.

Installer tidbit: there are some scary looking NGEN failures during install:

--- snip ---
...
Microsoft (R) CLR Native Image Generator - Version 4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.
Installing assembly C:\Program Files\PascalABC.NET\Pause.exe
Failed to load the runtime. (Exception from HRESULT: 0x80131700). Assembly
C:\Program Files\PascalABC.NET\Pause.exe requires a version of the runtime
which is not installed. The file has version v2.0.50727 burned into it, but
also check whether there is an exe.config that might be altering the runtime
version being requested.
Assembly will be compiled once the correct runtime is installed.
...
Microsoft (R) CLR Native Image Generator - Version 4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.
Installing assembly C:\Program Files\PascalABC.NET\NETXP.Controls.dll
Failed to load the runtime. (Exception from HRESULT: 0x80131700). Assembly
C:\Program Files\PascalABC.NET\NETXP.Controls.dll requires version v1.1.4322 of
the runtime to run.
Assembly will be compiled once the correct runtime is installed.
...
--- snip ---

It basically means that some app assemblies are targeting older .NET runtimes.
This is usually not a problem (one doesn't need to have them NGENned).

I checked with a prefix which has multiple .NET runtimes installed: .NET
Framework 1.1, 2.0, 4.0 and it doesn't make a difference (still doesn't crash).
Newer 'winetricks' will refuse to install many combinations of .NET runtimes
now (which makes it kind of useless for this use case).

Again: it's not really needed, 

$ sha1sum PascalABCNETSetup.exe 
e762e51a8ffc89c128b2c07ba46347b1381ee2c3  PascalABCNETSetup.exe

$ du -sh PascalABCNETSetup.exe 
7.9M    PascalABCNETSetup.exe

$ wine --version
wine-1.7.14-185-g5cf20ce

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list