[Bug 38661] 64-bit .NET CLR/managed executables can' t be run by Wine loader (entry point not set to mscoree.dll _CorExeMain/ _CorDllMain)(Demoscene 'Coronoid', Rust, SIGMA Photo Pro 6)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Feb 9 22:10:04 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=38661

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Demoscene 'Coronoid' and    |64-bit .NET CLR/managed
                   |Rust (64-bit .NET apps)     |executables can't be run by
                   |fails to run, Wine loader   |Wine loader (entry point
                   |reports 'executable doesn't |not set to mscoree.dll
                   |have an entry point, it     |_CorExeMain/_CorDllMain)(De
                   |cannot be executed'         |moscene 'Coronoid', Rust,
                   |                            |SIGMA Photo Pro 6)

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

bug 44445 -> 64-bit SIGMA Photo Pro 6 (.NET 4.0 app) also has this problem.

Due to recent rewrite of Wine loader code, the Wine-Staging patches don't apply
anymore. Even worse, Wine crashes now when the entry point is not set.

--- snip ---
...
0009:trace:module:process_attach (L"SIGMA_PhotoPro6.exe",0x53fb00) - END
0009:Starting process L"C:\\Program Files\\SIGMA\\SIGMA Photo Pro
6\\SIGMA_PhotoPro6.exe" (entryproc=0x140000000)
0009:trace:ntdll:NtQueryInformationProcess
(0xffffffffffffffff,0x00000007,0x53fda8,0x00000008,(nil))
0009: get_process_info( handle=ffffffff )
0009: get_process_info() = 0 { pid=0008, ppid=0000, affinity=000000ff,
peb=7fffffeaf000, start_time=1d3a21ecc8a2296 (-0.0048600), end_time=0,
exit_code=259, priority=2, cpu=x86_64, debugger_present=0, debug_children=1 }
0009:trace:seh:NtRaiseException code=c0000005 flags=0 addr=0x140000000
ip=140000000 tid=0009
0009:trace:seh:NtRaiseException  info[0]=0000000000000000
0009:trace:seh:NtRaiseException  info[1]=0000000140000000
0009:trace:seh:NtRaiseException  rax=0000000140000000 rbx=0000000000000000
rcx=00007fffffeaf000 rdx=00007fffffeaf000
0009:trace:seh:NtRaiseException  rsi=0000000140000000 rdi=00007fffffeaf000
rbp=000000000053fdc0 rsp=000000000053fd88
0009:trace:seh:NtRaiseException   r8=0000003de5787683  r9=0000000000000005
r10=0000000000000008 r11=0000000000000246
0009:trace:seh:NtRaiseException  r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
0009:warn:seh:call_stack_handlers exception data not found in
L"SIGMA_PhotoPro6.exe" 
...
--- snip ---

--- snip ---
...
->File Header
   Machine:               0x8664  (AMD64)
   NumberOfSections:      0x0002
   TimeDateStamp:         0x59783667  (GMT: Wed Jul 26 06:27:51 2017)
   PointerToSymbolTable:  0x00000000
   NumberOfSymbols:       0x00000000
   SizeOfOptionalHeader:  0x00F0
   Characteristics:       0x0022
                          (EXECUTABLE_IMAGE)
                          (LARGE_ADDRESS_AWARE)

->Optional Header 64
   Magic:                        0x020B  (HDR64_MAGIC)
   MajorLinkerVersion:           0x0B
   MinorLinkerVersion:           0x00  -> 11.00
   SizeOfCode:                   0x0095A200
   SizeOfInitializedData:        0x00047000
   SizeOfUninitializedData:      0x00000000
   AddressOfEntryPoint:          0x00000000
   BaseOfCode:                   0x00002000
   ImageBase:                    0x0000000140000000
   SectionAlignment:             0x00002000
   FileAlignment:                0x00000200
   MajorOperatingSystemVersion:  0x0004
   MinorOperatingSystemVersion:  0x0000  -> 4.00
   MajorImageVersion:            0x0000
   MinorImageVersion:            0x0000  -> 0.00
   MajorSubsystemVersion:        0x0004
   MinorSubsystemVersion:        0x0000  -> 4.00
   Win32VersionValue:            0x00000000
   SizeOfImage:                  0x009A4E28
   SizeOfHeaders:                0x00000200
   CheckSum:                     0x009A5561
   Subsystem:                    0x0002  (WINDOWS_GUI)
   DllCharacteristics:           0x8540
   SizeOfStackReserve:           0x0000000000400000
   SizeOfStackCommit:            0x0000000000004000
   SizeOfHeapReserve:            0x0000000000100000
   SizeOfHeapCommit:             0x0000000000002000
   LoaderFlags:                  0x00000000
   NumberOfRvaAndSizes:          0x00000010

   DataDirectory (16)            RVA        Size
   -------------                 ---------- ----------
   ExportTable                   0x00000000 0x00000000
   ImportTable                   0x00000000 0x00000000
   Resource                      0x0095E000 0x00046E28  (".rsrc")
   Exception                     0x00000000 0x00000000
   Security                      0x00000000 0x00000000
   Relocation                    0x00000000 0x00000000
   Debug                         0x0095BFAC 0x0000001C  (".text")
   Copyright                     0x00000000 0x00000000
   GlobalPtr                     0x00000000 0x00000000
   TLSTable                      0x00000000 0x00000000
   LoadConfig                    0x00000000 0x00000000
   BoundImport                   0x00000000 0x00000000
   IAT                           0x00000000 0x00000000
   DelayImport                   0x00000000 0x00000000
   COM                           0x00002000 0x00000048  (".text")
   Reserved                      0x00000000 0x00000000
--- snip ---

Refining summary to collect more apps.

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