Error loading library after updating Wine 4.1 to 4.2

Questions about Wine on Linux
Locked
Doofus
Level 1
Level 1
Posts: 9
Joined: Tue May 06, 2008 7:01 pm

Error loading library after updating Wine 4.1 to 4.2

Post by Doofus »

I'm using Lubuntu 16.04 x86-64. The wineprefix I'm using is 32-bit only I think.

I just updated Wine from 4.1 to 4.2 via PPA. Now when I try to launch a program I see an error like this:

Code: Select all

$ WINEPREFIX=/home/user/Wine_testing/winuaetest wine winuae_4200b2.exe -log -nod3d9shader
0025:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0009:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
000d:err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0009:err:module:import_dll Loading library COMDLG32.dll (which is needed by L"C:\\Program Files\\WinUAE\\winuae_4200b2.exe") failed (error c000012f).
0009:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files\\WinUAE\\winuae_4200b2.exe" failed, status c0000135
Same message about COMDLG32.dll when just trying to run e.g. winecfg. Is anyone else seeing this problem? Any suggestions as to how to fix it?
Doofus
Level 1
Level 1
Posts: 9
Joined: Tue May 06, 2008 7:01 pm

Re: Error loading library after updating Wine 4.1 to 4.2

Post by Doofus »

An update on this. Doing WINEDEBUG=+module, I saw this:

Code: Select all

0009:trace:module:load_dll looking for L"comdlg32.dll" in L"C:\\windows\\system32;C:\\windows\\system32;C:\\windows\\system;C:\\windows;.;C:\\windows\\system32;C:\\windows;C:\\windows\\system32\\wbem"
0009:trace:module:get_load_order looking for L"C:\\windows\\system32\\comdlg32.dll"
0009:trace:module:get_load_order got hardcoded default for L"comdlg32.dll"
0009:trace:module:load_builtin_dll Trying built-in L"\\??\\C:\\windows\\system32\\comdlg32.dll"
0009:warn:module:load_builtin_dll failed to load .so lib for builtin L"\\??\\C:\\windows\\system32\\comdlg32.dll": /home/mark/Work/Wine_testing/winuaetest/dosdevices/c:/windows/system32/comdlg32.dll: invalid ELF header
0009:warn:module:load_dll Failed to load module L"comdlg32.dll"; status=c000012f
0009:err:module:import_dll Loading library comdlg32.dll (which is needed by L"C:\\windows\\system32\\winecfg.exe") failed (error c000012f).
The file windows/system32/comdlg32.dll (date Dec 5 2014) appeared to contain garbage. Not sure what caused that; I assume it doesn't happen for everybody? I deleted it and now I can run winecfg and other programs again.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Error loading library after updating Wine 4.1 to 4.2

Post by Bob Wya »

Doofus wrote: The file windows/system32/comdlg32.dll (date Dec 5 2014) appeared to contain garbage. Not sure what caused that; I assume it doesn't happen for everybody? I deleted it and now I can run winecfg and other programs again.
@Doofus

So I've manually downloaded the relevant Ubuntu Xenial package file:

Code: Select all

c758f0b80a5a4d520ebddf0f651a247566a53adb0a3850a862a8e4dffaaea0ae  wine-devel-i386_4.2~xenial_i386.deb
from: dl.winehq.org/wine-builds/ubuntu/dists/xenial/main/binary-i386/

Dumping the comdlg32.dll.so file, appears to indicate that it is intact:

Code: Select all

readelf -a comdlg32.dll.so

ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Shared object file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x12690
  Start of program headers:          52 (bytes into file)
  Start of section headers:          1003272 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         7
  Size of section headers:           40 (bytes)
  Number of section headers:         28
  Section header string table index: 27

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .note.gnu.build-i NOTE            00000114 000114 000024 00   A  0   0  4
  [ 2] .gnu.hash         GNU_HASH        00000138 000138 0000d4 04   A  3   0  4
  [ 3] .dynsym           DYNSYM          0000020c 00020c 000360 10   A  4   1  4
  [ 4] .dynstr           STRTAB          0000056c 00056c 000308 00   A  0   0  1
  [ 5] .gnu.version      VERSYM          00000874 000874 00006c 02   A  3   0  2
  [ 6] .gnu.version_r    VERNEED         000008e0 0008e0 000070 00   A  4   2  4
  [ 7] .rel.dyn          REL             00000950 000950 000af0 08   A  3   0  4
  [ 8] .rel.plt          REL             00001440 001440 0000a8 08  AI  3  23  4
  [ 9] .init             PROGBITS        000014e8 0014e8 01102d 00  AX  0   0  4
  [10] .plt              PROGBITS        00012520 012520 000160 04  AX  0   0 16
  [11] .plt.got          PROGBITS        00012680 012680 000010 00  AX  0   0  8
  [12] .text             PROGBITS        00012690 012690 02ac74 00  AX  0   0 16
  [13] .fini             PROGBITS        0003d304 03d304 000014 00  AX  0   0  4
  [14] .rodata           PROGBITS        0003d320 03d320 00aeb8 00   A  0   0 32
  [15] .eh_frame_hdr     PROGBITS        000481d8 0481d8 001564 00   A  0   0  4
  [16] .eh_frame         PROGBITS        0004973c 04973c 006dc0 00   A  0   0  4
  [17] .init_array       INIT_ARRAY      00051890 050890 000004 00  WA  0   0  4
  [18] .fini_array       FINI_ARRAY      00051894 050894 000008 00  WA  0   0  4
  [19] .jcr              PROGBITS        0005189c 05089c 000004 00  WA  0   0  4
  [20] .data.rel.ro      PROGBITS        000518a0 0508a0 000648 00  WA  0   0 32
  [21] .dynamic          DYNAMIC         00051ee8 050ee8 0000e0 08  WA  4   0  4
  [22] .got              PROGBITS        00051fc8 050fc8 00002c 04  WA  0   0  4
  [23] .got.plt          PROGBITS        00052000 051000 000060 04  WA  0   0  4
  [24] .data             PROGBITS        00052060 051060 0a3d7c 00  WA  0   0  4
  [25] .bss              NOBITS          000f5de0 0f4ddc 000878 00  WA  0   0 32
  [26] .gnu_debuglink    PROGBITS        00000000 0f4ddc 000034 00      0   0  1
  [27] .shstrtab         STRTAB          00000000 0f4e10 0000f7 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  L (link order), O (extra OS processing required), G (group), T (TLS),
  C (compressed), x (unknown), o (OS specific), E (exclude),
  p (processor specific)

There are no section groups in this file.

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000000 0x00000000 0x00000000 0x504fc 0x504fc R E 0x1000
  LOAD           0x050890 0x00051890 0x00051890 0xa454c 0xa4dc8 RW  0x1000
  DYNAMIC        0x050ee8 0x00051ee8 0x00051ee8 0x000e0 0x000e0 RW  0x4
  NOTE           0x000114 0x00000114 0x00000114 0x00024 0x00024 R   0x4
  GNU_EH_FRAME   0x0481d8 0x000481d8 0x000481d8 0x01564 0x01564 R   0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x10
  GNU_RELRO      0x050890 0x00051890 0x00051890 0x00770 0x00770 R   0x1

 Section to Segment mapping:
  Segment Sections...
   00     .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame 
   01     .init_array .fini_array .jcr .data.rel.ro .dynamic .got .got.plt .data .bss 
   02     .dynamic 
   03     .note.gnu.build-id 
   04     .eh_frame_hdr 
   05     
   06     .init_array .fini_array .jcr .data.rel.ro .dynamic .got 

Dynamic section at offset 0x50ee8 contains 24 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libwine.so.1]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000c (INIT)                       0x3cef0
 0x00000019 (INIT_ARRAY)                 0x51890
 0x0000001b (INIT_ARRAYSZ)               4 (bytes)
 0x0000001a (FINI_ARRAY)                 0x51894
 0x0000001c (FINI_ARRAYSZ)               8 (bytes)
 0x6ffffef5 (GNU_HASH)                   0x138
 0x00000005 (STRTAB)                     0x56c
 0x00000006 (SYMTAB)                     0x20c
 0x0000000a (STRSZ)                      776 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000003 (PLTGOT)                     0x52000
 0x00000002 (PLTRELSZ)                   168 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x1440
 0x00000011 (REL)                        0x950
 0x00000012 (RELSZ)                      2800 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x8e0
 0x6fffffff (VERNEEDNUM)                 2
 0x6ffffff0 (VERSYM)                     0x874
 0x6ffffffa (RELCOUNT)                   342
 0x00000000 (NULL)                       0x0

Relocation section '.rel.dyn' at offset 0x950 contains 350 entries:
 Offset     Info    Type            Sym.Value  Sym. Name
00051890  00000008 R_386_RELATIVE   
00051894  00000008 R_386_RELATIVE   
00051898  00000008 R_386_RELATIVE   
000518a0  00000008 R_386_RELATIVE   
000518a4  00000008 R_386_RELATIVE   
000518a8  00000008 R_386_RELATIVE   
000518ac  00000008 R_386_RELATIVE   
000518b0  00000008 R_386_RELATIVE   
000518c4  00000008 R_386_RELATIVE   
000518cc  00000008 R_386_RELATIVE   
000518d4  00000008 R_386_RELATIVE   
000518dc  00000008 R_386_RELATIVE   
000518e4  00000008 R_386_RELATIVE   
000518ec  00000008 R_386_RELATIVE   
000518f4  00000008 R_386_RELATIVE   
000518fc  00000008 R_386_RELATIVE   
00051904  00000008 R_386_RELATIVE   
0005190c  00000008 R_386_RELATIVE   
00051914  00000008 R_386_RELATIVE   
0005191c  00000008 R_386_RELATIVE   
00051924  00000008 R_386_RELATIVE   
0005192c  00000008 R_386_RELATIVE   
00051934  00000008 R_386_RELATIVE   
00051938  00000008 R_386_RELATIVE   
0005193c  00000008 R_386_RELATIVE   
00051940  00000008 R_386_RELATIVE   
00051944  00000008 R_386_RELATIVE   
00051948  00000008 R_386_RELATIVE   
0005194c  00000008 R_386_RELATIVE   
00051950  00000008 R_386_RELATIVE   
00051954  00000008 R_386_RELATIVE   
00051958  00000008 R_386_RELATIVE   
0005195c  00000008 R_386_RELATIVE   
00051960  00000008 R_386_RELATIVE   
00051964  00000008 R_386_RELATIVE   
00051968  00000008 R_386_RELATIVE   
0005196c  00000008 R_386_RELATIVE   
00051970  00000008 R_386_RELATIVE   
00051974  00000008 R_386_RELATIVE   
00051978  00000008 R_386_RELATIVE   
0005197c  00000008 R_386_RELATIVE   
00051980  00000008 R_386_RELATIVE   
00051984  00000008 R_386_RELATIVE   
00051988  00000008 R_386_RELATIVE   
0005198c  00000008 R_386_RELATIVE   
00051990  00000008 R_386_RELATIVE   
00051994  00000008 R_386_RELATIVE   
00051998  00000008 R_386_RELATIVE   
0005199c  00000008 R_386_RELATIVE   
000519a0  00000008 R_386_RELATIVE   
000519a4  00000008 R_386_RELATIVE   
000519c4  00000008 R_386_RELATIVE   
000519cc  00000008 R_386_RELATIVE   
000519d4  00000008 R_386_RELATIVE   
000519dc  00000008 R_386_RELATIVE   
000519e4  00000008 R_386_RELATIVE   
000519ec  00000008 R_386_RELATIVE   
000519f4  00000008 R_386_RELATIVE   
000519fc  00000008 R_386_RELATIVE   
00051a04  00000008 R_386_RELATIVE   
00051a0c  00000008 R_386_RELATIVE   
00051a14  00000008 R_386_RELATIVE   
00051a1c  00000008 R_386_RELATIVE   
00051a24  00000008 R_386_RELATIVE   
00051a2c  00000008 R_386_RELATIVE   
00051a34  00000008 R_386_RELATIVE   
00051a3c  00000008 R_386_RELATIVE   
00051a44  00000008 R_386_RELATIVE   
00051a4c  00000008 R_386_RELATIVE   
00051a54  00000008 R_386_RELATIVE   
00051a5c  00000008 R_386_RELATIVE   
00051a64  00000008 R_386_RELATIVE   
00051a6c  00000008 R_386_RELATIVE   
00051a74  00000008 R_386_RELATIVE   
00051a7c  00000008 R_386_RELATIVE   
00051a84  00000008 R_386_RELATIVE   
00051aa0  00000008 R_386_RELATIVE   
00051aa4  00000008 R_386_RELATIVE   
00051aa8  00000008 R_386_RELATIVE   
00051aac  00000008 R_386_RELATIVE   
00051ab0  00000008 R_386_RELATIVE   
00051ab4  00000008 R_386_RELATIVE   
00051ab8  00000008 R_386_RELATIVE   
00051abc  00000008 R_386_RELATIVE   
00051ac0  00000008 R_386_RELATIVE   
00051ac4  00000008 R_386_RELATIVE   
00051ac8  00000008 R_386_RELATIVE   
00051acc  00000008 R_386_RELATIVE   
00051ad0  00000008 R_386_RELATIVE   
00051ad4  00000008 R_386_RELATIVE   
00051ad8  00000008 R_386_RELATIVE   
00051adc  00000008 R_386_RELATIVE   
00051ae0  00000008 R_386_RELATIVE   
00051ae4  00000008 R_386_RELATIVE   
00051ae8  00000008 R_386_RELATIVE   
00051aec  00000008 R_386_RELATIVE   
00051af0  00000008 R_386_RELATIVE   
00051af4  00000008 R_386_RELATIVE   
00051af8  00000008 R_386_RELATIVE   
00051afc  00000008 R_386_RELATIVE   
00051b00  00000008 R_386_RELATIVE   
00051b20  00000008 R_386_RELATIVE   
00051b24  00000008 R_386_RELATIVE   
00051b28  00000008 R_386_RELATIVE   
00051b2c  00000008 R_386_RELATIVE   
00051b30  00000008 R_386_RELATIVE   
00051b34  00000008 R_386_RELATIVE   
00051b38  00000008 R_386_RELATIVE   
00051b3c  00000008 R_386_RELATIVE   
00051b40  00000008 R_386_RELATIVE   
00051b44  00000008 R_386_RELATIVE   
00051b48  00000008 R_386_RELATIVE   
00051b4c  00000008 R_386_RELATIVE   
00051b50  00000008 R_386_RELATIVE   
00051b54  00000008 R_386_RELATIVE   
00051b58  00000008 R_386_RELATIVE   
00051b5c  00000008 R_386_RELATIVE   
00051b60  00000008 R_386_RELATIVE   
00051b64  00000008 R_386_RELATIVE   
00051b68  00000008 R_386_RELATIVE   
00051b6c  00000008 R_386_RELATIVE   
00051b70  00000008 R_386_RELATIVE   
00051b74  00000008 R_386_RELATIVE   
00051b78  00000008 R_386_RELATIVE   
00051b7c  00000008 R_386_RELATIVE   
00051b80  00000008 R_386_RELATIVE   
00051b84  00000008 R_386_RELATIVE   
00051b88  00000008 R_386_RELATIVE   
00051b8c  00000008 R_386_RELATIVE   
00051b90  00000008 R_386_RELATIVE   
00051b94  00000008 R_386_RELATIVE   
00051b98  00000008 R_386_RELATIVE   
00051b9c  00000008 R_386_RELATIVE   
00051ba0  00000008 R_386_RELATIVE   
00051ba4  00000008 R_386_RELATIVE   
00051ba8  00000008 R_386_RELATIVE   
00051bc0  00000008 R_386_RELATIVE   
00051bc4  00000008 R_386_RELATIVE   
00051bc8  00000008 R_386_RELATIVE   
00051bcc  00000008 R_386_RELATIVE   
00051bd0  00000008 R_386_RELATIVE   
00051bd4  00000008 R_386_RELATIVE   
00051bd8  00000008 R_386_RELATIVE   
00051bdc  00000008 R_386_RELATIVE   
00051be0  00000008 R_386_RELATIVE   
00051be4  00000008 R_386_RELATIVE   
00051be8  00000008 R_386_RELATIVE   
00051bec  00000008 R_386_RELATIVE   
00051bf0  00000008 R_386_RELATIVE   
00051bf4  00000008 R_386_RELATIVE   
00051bf8  00000008 R_386_RELATIVE   
00051bfc  00000008 R_386_RELATIVE   
00051c00  00000008 R_386_RELATIVE   
00051c04  00000008 R_386_RELATIVE   
00051c08  00000008 R_386_RELATIVE   
00051c0c  00000008 R_386_RELATIVE   
00051c10  00000008 R_386_RELATIVE   
00051c14  00000008 R_386_RELATIVE   
00051c18  00000008 R_386_RELATIVE   
00051c20  00000008 R_386_RELATIVE   
00051c24  00000008 R_386_RELATIVE   
00051c28  00000008 R_386_RELATIVE   
00051c2c  00000008 R_386_RELATIVE   
00051c30  00000008 R_386_RELATIVE   
00051c34  00000008 R_386_RELATIVE   
00051c38  00000008 R_386_RELATIVE   
00051c3c  00000008 R_386_RELATIVE   
00051c40  00000008 R_386_RELATIVE   
00051c44  00000008 R_386_RELATIVE   
00051c48  00000008 R_386_RELATIVE   
00051c4c  00000008 R_386_RELATIVE   
00051c50  00000008 R_386_RELATIVE   
00051c54  00000008 R_386_RELATIVE   
00051c58  00000008 R_386_RELATIVE   
00051c5c  00000008 R_386_RELATIVE   
00051c60  00000008 R_386_RELATIVE   
00051c64  00000008 R_386_RELATIVE   
00051c68  00000008 R_386_RELATIVE   
00051c6c  00000008 R_386_RELATIVE   
00051c70  00000008 R_386_RELATIVE   
00051c74  00000008 R_386_RELATIVE   
00051c78  00000008 R_386_RELATIVE   
00051c7c  00000008 R_386_RELATIVE   
00051c80  00000008 R_386_RELATIVE   
00051c84  00000008 R_386_RELATIVE   
00051c88  00000008 R_386_RELATIVE   
00051c8c  00000008 R_386_RELATIVE   
00051c90  00000008 R_386_RELATIVE   
00051c94  00000008 R_386_RELATIVE   
00051c98  00000008 R_386_RELATIVE   
00051c9c  00000008 R_386_RELATIVE   
00051ca0  00000008 R_386_RELATIVE   
00051ca4  00000008 R_386_RELATIVE   
00051ca8  00000008 R_386_RELATIVE   
00051cac  00000008 R_386_RELATIVE   
00051cb0  00000008 R_386_RELATIVE   
00051cb4  00000008 R_386_RELATIVE   
00051cb8  00000008 R_386_RELATIVE   
00051cbc  00000008 R_386_RELATIVE   
00051cc0  00000008 R_386_RELATIVE   
00051cc4  00000008 R_386_RELATIVE   
00051cc8  00000008 R_386_RELATIVE   
00051ccc  00000008 R_386_RELATIVE   
00051cd0  00000008 R_386_RELATIVE   
00051cd4  00000008 R_386_RELATIVE   
00051cd8  00000008 R_386_RELATIVE   
00051cdc  00000008 R_386_RELATIVE   
00051ce0  00000008 R_386_RELATIVE   
00051ce4  00000008 R_386_RELATIVE   
00051ce8  00000008 R_386_RELATIVE   
00051cec  00000008 R_386_RELATIVE   
00051cf0  00000008 R_386_RELATIVE   
00051cf4  00000008 R_386_RELATIVE   
00051cf8  00000008 R_386_RELATIVE   
00051cfc  00000008 R_386_RELATIVE   
00051d00  00000008 R_386_RELATIVE   
00051d04  00000008 R_386_RELATIVE   
00051d08  00000008 R_386_RELATIVE   
00051d0c  00000008 R_386_RELATIVE   
00051d10  00000008 R_386_RELATIVE   
00051d20  00000008 R_386_RELATIVE   
00051d24  00000008 R_386_RELATIVE   
00051d28  00000008 R_386_RELATIVE   
00051d2c  00000008 R_386_RELATIVE   
00051d30  00000008 R_386_RELATIVE   
00051d34  00000008 R_386_RELATIVE   
00051d38  00000008 R_386_RELATIVE   
00051d3c  00000008 R_386_RELATIVE   
00051d40  00000008 R_386_RELATIVE   
00051d44  00000008 R_386_RELATIVE   
00051d48  00000008 R_386_RELATIVE   
00051d4c  00000008 R_386_RELATIVE   
00051d50  00000008 R_386_RELATIVE   
00051d54  00000008 R_386_RELATIVE   
00051d58  00000008 R_386_RELATIVE   
00051d5c  00000008 R_386_RELATIVE   
00051d60  00000008 R_386_RELATIVE   
00051d64  00000008 R_386_RELATIVE   
00051d68  00000008 R_386_RELATIVE   
00051d6c  00000008 R_386_RELATIVE   
00051d70  00000008 R_386_RELATIVE   
00051d74  00000008 R_386_RELATIVE   
00051d78  00000008 R_386_RELATIVE   
00051d7c  00000008 R_386_RELATIVE   
00051d80  00000008 R_386_RELATIVE   
00051d84  00000008 R_386_RELATIVE   
00051d88  00000008 R_386_RELATIVE   
00051d8c  00000008 R_386_RELATIVE   
00051d90  00000008 R_386_RELATIVE   
00051da4  00000008 R_386_RELATIVE   
00051dac  00000008 R_386_RELATIVE   
00051db4  00000008 R_386_RELATIVE   
00051dbc  00000008 R_386_RELATIVE   
00051dc4  00000008 R_386_RELATIVE   
00051dcc  00000008 R_386_RELATIVE   
00051dd4  00000008 R_386_RELATIVE   
00051ddc  00000008 R_386_RELATIVE   
00051de4  00000008 R_386_RELATIVE   
00051dec  00000008 R_386_RELATIVE   
00051df4  00000008 R_386_RELATIVE   
00051dfc  00000008 R_386_RELATIVE   
00051e04  00000008 R_386_RELATIVE   
00051e0c  00000008 R_386_RELATIVE   
00051e14  00000008 R_386_RELATIVE   
00051e1c  00000008 R_386_RELATIVE   
00051e24  00000008 R_386_RELATIVE   
00051e2c  00000008 R_386_RELATIVE   
00051e34  00000008 R_386_RELATIVE   
00051e3c  00000008 R_386_RELATIVE   
00051e44  00000008 R_386_RELATIVE   
00051e4c  00000008 R_386_RELATIVE   
00051e64  00000008 R_386_RELATIVE   
00051e6c  00000008 R_386_RELATIVE   
00051e74  00000008 R_386_RELATIVE   
00051e7c  00000008 R_386_RELATIVE   
00051e84  00000008 R_386_RELATIVE   
00051e8c  00000008 R_386_RELATIVE   
00051e94  00000008 R_386_RELATIVE   
00051e9c  00000008 R_386_RELATIVE   
00051ea4  00000008 R_386_RELATIVE   
00051eac  00000008 R_386_RELATIVE   
00051eb4  00000008 R_386_RELATIVE   
00051ebc  00000008 R_386_RELATIVE   
00051ec4  00000008 R_386_RELATIVE   
00051ecc  00000008 R_386_RELATIVE   
00051ed4  00000008 R_386_RELATIVE   
00051edc  00000008 R_386_RELATIVE   
00051fd0  00000008 R_386_RELATIVE   
00051fd8  00000008 R_386_RELATIVE   
00051fe8  00000008 R_386_RELATIVE   
00052060  00000008 R_386_RELATIVE   
0005208c  00000008 R_386_RELATIVE   
00052098  00000008 R_386_RELATIVE   
00052184  00000008 R_386_RELATIVE   
00052188  00000008 R_386_RELATIVE   
0005218c  00000008 R_386_RELATIVE   
00052190  00000008 R_386_RELATIVE   
00052194  00000008 R_386_RELATIVE   
00052198  00000008 R_386_RELATIVE   
0005219c  00000008 R_386_RELATIVE   
000521a0  00000008 R_386_RELATIVE   
000521a4  00000008 R_386_RELATIVE   
000521a8  00000008 R_386_RELATIVE   
000521ac  00000008 R_386_RELATIVE   
000521b0  00000008 R_386_RELATIVE   
000521b4  00000008 R_386_RELATIVE   
000521b8  00000008 R_386_RELATIVE   
000521bc  00000008 R_386_RELATIVE   
000521c0  00000008 R_386_RELATIVE   
000521c4  00000008 R_386_RELATIVE   
000521c8  00000008 R_386_RELATIVE   
000521cc  00000008 R_386_RELATIVE   
000521d0  00000008 R_386_RELATIVE   
000521d4  00000008 R_386_RELATIVE   
000521d8  00000008 R_386_RELATIVE   
000521dc  00000008 R_386_RELATIVE   
000521e0  00000008 R_386_RELATIVE   
000521e4  00000008 R_386_RELATIVE   
000521e8  00000008 R_386_RELATIVE   
000521ec  00000008 R_386_RELATIVE   
000521f0  00000008 R_386_RELATIVE   
00052440  00000008 R_386_RELATIVE   
00052444  00000008 R_386_RELATIVE   
00052448  00000008 R_386_RELATIVE   
00053f34  00000008 R_386_RELATIVE   
00053f38  00000008 R_386_RELATIVE   
00053f3c  00000008 R_386_RELATIVE   
00053f40  00000008 R_386_RELATIVE   
00053f70  00000008 R_386_RELATIVE   
00053f74  00000008 R_386_RELATIVE   
00053f78  00000008 R_386_RELATIVE   
00053f7c  00000008 R_386_RELATIVE   
00053f80  00000008 R_386_RELATIVE   
00053f84  00000008 R_386_RELATIVE   
00053f88  00000008 R_386_RELATIVE   
00053f8c  00000008 R_386_RELATIVE   
00053f90  00000008 R_386_RELATIVE   
00053f94  00000008 R_386_RELATIVE   
000f5d38  00000008 R_386_RELATIVE   
000f5d3c  00000008 R_386_RELATIVE   
000f5d40  00000008 R_386_RELATIVE   
000f5d44  00000008 R_386_RELATIVE   
00051fc8  00000506 R_386_GLOB_DAT    00000000   _ITM_deregisterTMClone
00051fcc  00000606 R_386_GLOB_DAT    00000000   wine_wctype_table@WINE_1.0
00051fd4  00000706 R_386_GLOB_DAT    00000000   __wine_main_argv@WINE_1.0
00051fdc  00000a06 R_386_GLOB_DAT    00000000   __wine_main_argc@WINE_1.0
00051fe0  00000e06 R_386_GLOB_DAT    00000000   __cxa_finalize@GLIBC_2.1.3
00051fe4  00001306 R_386_GLOB_DAT    00000000   __gmon_start__
00051fec  00001906 R_386_GLOB_DAT    00000000   _Jv_RegisterClasses
00051ff0  00001b06 R_386_GLOB_DAT    00000000   _ITM_registerTMCloneTa

Relocation section '.rel.plt' at offset 0x1440 contains 21 entries:
 Offset     Info    Type            Sym.Value  Sym. Name
0005200c  00000107 R_386_JUMP_SLOT   00000000   __ctype_toupper_loc@GLIBC_2.3
00052010  00000207 R_386_JUMP_SLOT   00000000   strcmp@GLIBC_2.0
00052014  00000307 R_386_JUMP_SLOT   00000000   wine_dbgstr_an@WINE_1.0
00052018  00000407 R_386_JUMP_SLOT   00000000   __wine_dll_register@WINE_1.0
0005201c  00000807 R_386_JUMP_SLOT   00000000   memcpy@GLIBC_2.0
00052020  00000907 R_386_JUMP_SLOT   00000000   memcmp@GLIBC_2.0
00052024  00000b07 R_386_JUMP_SLOT   00000000   stpcpy@GLIBC_2.0
00052028  00000c07 R_386_JUMP_SLOT   00000000   __stack_chk_fail@GLIBC_2.4
0005202c  00000d07 R_386_JUMP_SLOT   00000000   strcmpiW@WINE_1.0
00052030  00000f07 R_386_JUMP_SLOT   00000000   strcat@GLIBC_2.0
00052034  00001007 R_386_JUMP_SLOT   00000000   strcpy@GLIBC_2.0
00052038  00001107 R_386_JUMP_SLOT   00000000   wine_dbg_sprintf@WINE_1.0
0005203c  00001207 R_386_JUMP_SLOT   00000000   __wine_dbg_get_channel@WINE_1.0
00052040  00001407 R_386_JUMP_SLOT   00000000   wine_dbg_log@WINE_1.0
00052044  00001507 R_386_JUMP_SLOT   00000000   strlen@GLIBC_2.0
00052048  00001607 R_386_JUMP_SLOT   00000000   wine_dbgstr_wn@WINE_1.0
0005204c  00001707 R_386_JUMP_SLOT   00000000   sprintfW@WINE_1.0
00052050  00001807 R_386_JUMP_SLOT   00000000   strrchr@GLIBC_2.0
00052054  00001a07 R_386_JUMP_SLOT   00000000   sprintf@GLIBC_2.0
00052058  00001c07 R_386_JUMP_SLOT   00000000   strtolW@WINE_1.0
0005205c  00001d07 R_386_JUMP_SLOT   00000000   strtol@GLIBC_2.0

The decoding of unwind sections for machine type Intel 80386 is not currently supported.

Symbol table '.dynsym' contains 54 entries:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 00000000     0 FUNC    GLOBAL DEFAULT  UND __ctype_toupper_loc@GLIBC_2.3 (2)
     2: 00000000     0 FUNC    GLOBAL DEFAULT  UND strcmp@GLIBC_2.0 (3)
     3: 00000000     0 FUNC    GLOBAL DEFAULT  UND wine_dbgstr_an@WINE_1.0 (4)
     4: 00000000     0 FUNC    GLOBAL DEFAULT  UND __wine_dll_register@WINE_1.0 (4)
     5: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_deregisterTMCloneTab
     6: 00000000     0 OBJECT  GLOBAL DEFAULT  UND wine_wctype_table@WINE_1.0 (4)
     7: 00000000     0 OBJECT  GLOBAL DEFAULT  UND __wine_main_argv@WINE_1.0 (4)
     8: 00000000     0 FUNC    GLOBAL DEFAULT  UND memcpy@GLIBC_2.0 (3)
     9: 00000000     0 FUNC    GLOBAL DEFAULT  UND memcmp@GLIBC_2.0 (3)
    10: 00000000     0 OBJECT  GLOBAL DEFAULT  UND __wine_main_argc@WINE_1.0 (4)
    11: 00000000     0 FUNC    GLOBAL DEFAULT  UND stpcpy@GLIBC_2.0 (3)
    12: 00000000     0 FUNC    GLOBAL DEFAULT  UND __stack_chk_fail@GLIBC_2.4 (5)
    13: 00000000     0 FUNC    GLOBAL DEFAULT  UND strcmpiW@WINE_1.0 (4)
    14: 00000000     0 FUNC    WEAK   DEFAULT  UND __cxa_finalize@GLIBC_2.1.3 (6)
    15: 00000000     0 FUNC    GLOBAL DEFAULT  UND strcat@GLIBC_2.0 (3)
    16: 00000000     0 FUNC    GLOBAL DEFAULT  UND strcpy@GLIBC_2.0 (3)
    17: 00000000     0 FUNC    GLOBAL DEFAULT  UND wine_dbg_sprintf@WINE_1.0 (4)
    18: 00000000     0 FUNC    GLOBAL DEFAULT  UND __wine_dbg_get_channel_fl@WINE_1.0 (4)
    19: 00000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
    20: 00000000     0 FUNC    GLOBAL DEFAULT  UND wine_dbg_log@WINE_1.0 (4)
    21: 00000000     0 FUNC    GLOBAL DEFAULT  UND strlen@GLIBC_2.0 (3)
    22: 00000000     0 FUNC    GLOBAL DEFAULT  UND wine_dbgstr_wn@WINE_1.0 (4)
    23: 00000000     0 FUNC    GLOBAL DEFAULT  UND sprintfW@WINE_1.0 (4)
    24: 00000000     0 FUNC    GLOBAL DEFAULT  UND strrchr@GLIBC_2.0 (3)
    25: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
    26: 00000000     0 FUNC    GLOBAL DEFAULT  UND sprintf@GLIBC_2.0 (3)
    27: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _ITM_registerTMCloneTable
    28: 00000000     0 FUNC    GLOBAL DEFAULT  UND strtolW@WINE_1.0 (4)
    29: 00000000     0 FUNC    GLOBAL DEFAULT  UND strtol@GLIBC_2.0 (3)
    30: 0001eef0   166 FUNC    GLOBAL DEFAULT   12 GetSaveFileNameW
    31: 0001ed40   247 FUNC    GLOBAL DEFAULT   12 GetOpenFileNameW
    32: 00027ae0   420 FUNC    GLOBAL DEFAULT   12 ChooseFontW
    33: 0003a8c0  2443 FUNC    GLOBAL DEFAULT   12 PrintDlgW
    34: 00024b70   246 FUNC    GLOBAL DEFAULT   12 ReplaceTextA
    35: 000f5ddc     0 NOTYPE  GLOBAL DEFAULT   25 __bss_start
    36: 000f6658     0 NOTYPE  GLOBAL DEFAULT   25 _end
    37: 000163c0   301 FUNC    GLOBAL DEFAULT   12 ChooseColorA
    38: 000f5ddc     0 NOTYPE  GLOBAL DEFAULT   24 _edata
    39: 0003c060  1663 FUNC    GLOBAL DEFAULT   12 PrintDlgExA
    40: 0003bf80   102 FUNC    GLOBAL DEFAULT   12 PageSetupDlgA
    41: 00024db0   375 FUNC    GLOBAL DEFAULT   12 ReplaceTextW
    42: 0001f1e0   203 FUNC    GLOBAL DEFAULT   12 GetFileTitleA
    43: 00024a80   227 FUNC    GLOBAL DEFAULT   12 FindTextA
    44: 00016240   372 FUNC    GLOBAL DEFAULT   12 ChooseColorW
    45: 00013c40    67 FUNC    GLOBAL DEFAULT   12 CommDlgExtendedError
    46: 0003c6e0  1663 FUNC    GLOBAL DEFAULT   12 PrintDlgExW
    47: 0001ee40   166 FUNC    GLOBAL DEFAULT   12 GetSaveFileNameA
    48: 0003bff0   102 FUNC    GLOBAL DEFAULT   12 PageSetupDlgW
    49: 0001ec40   247 FUNC    GLOBAL DEFAULT   12 GetOpenFileNameA
    50: 0001efa0   567 FUNC    GLOBAL DEFAULT   12 GetFileTitleW
    51: 00027c90   423 FUNC    GLOBAL DEFAULT   12 ChooseFontA
    52: 0003a0b0  2057 FUNC    GLOBAL DEFAULT   12 PrintDlgA
    53: 00024c70   308 FUNC    GLOBAL DEFAULT   12 FindTextW

Histogram for `.gnu.hash' bucket list length (total of 17 buckets):
 Length  Number     % of total  Coverage
      0  2          ( 11.8%)
      1  8          ( 47.1%)     33.3%
      2  5          ( 29.4%)     75.0%
      3  2          ( 11.8%)    100.0%

Version symbols section '.gnu.version' contains 54 entries:
 Addr: 0000000000000874  Offset: 0x000874  Link: 3 (.dynsym)
  000:   0 (*local*)       2 (GLIBC_2.3)     3 (GLIBC_2.0)     4 (WINE_1.0)   
  004:   4 (WINE_1.0)      0 (*local*)       4 (WINE_1.0)      4 (WINE_1.0)   
  008:   3 (GLIBC_2.0)     3 (GLIBC_2.0)     4 (WINE_1.0)      3 (GLIBC_2.0)  
  00c:   5 (GLIBC_2.4)     4 (WINE_1.0)      6 (GLIBC_2.1.3)   3 (GLIBC_2.0)  
  010:   3 (GLIBC_2.0)     4 (WINE_1.0)      4 (WINE_1.0)      0 (*local*)    
  014:   4 (WINE_1.0)      3 (GLIBC_2.0)     4 (WINE_1.0)      4 (WINE_1.0)   
  018:   3 (GLIBC_2.0)     0 (*local*)       3 (GLIBC_2.0)     0 (*local*)    
  01c:   4 (WINE_1.0)      3 (GLIBC_2.0)     1 (*global*)      1 (*global*)   
  020:   1 (*global*)      1 (*global*)      1 (*global*)      1 (*global*)   
  024:   1 (*global*)      1 (*global*)      1 (*global*)      1 (*global*)   
  028:   1 (*global*)      1 (*global*)      1 (*global*)      1 (*global*)   
  02c:   1 (*global*)      1 (*global*)      1 (*global*)      1 (*global*)   
  030:   1 (*global*)      1 (*global*)      1 (*global*)      1 (*global*)   
  034:   1 (*global*)      1 (*global*)   

Version needs section '.gnu.version_r' contains 2 entries:
 Addr: 0x00000000000008e0  Offset: 0x0008e0  Link: 4 (.dynstr)
  000000: Version: 1  File: libwine.so.1  Cnt: 1
  0x0010:   Name: WINE_1.0  Flags: none  Version: 4
  0x0020: Version: 1  File: libc.so.6  Cnt: 4
  0x0030:   Name: GLIBC_2.1.3  Flags: none  Version: 6
  0x0040:   Name: GLIBC_2.4  Flags: none  Version: 5
  0x0050:   Name: GLIBC_2.0  Flags: none  Version: 3
  0x0060:   Name: GLIBC_2.3  Flags: none  Version: 2

Displaying notes found in: .note.gnu.build-id
  Owner                 Data size	Description
  GNU                  0x00000014	NT_GNU_BUILD_ID (unique build ID bitstring)
    Build ID: 4396174bb764e7c885b9faeb982e7e0da7f562ec
You'd might want to run an fsck check on your disk(s)!

Bob
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error loading library after updating Wine 4.1 to 4.2

Post by dimesio »

The file windows/system32/comdlg32.dll (date Dec 5 2014) appeared to contain garbage.
The files in /windows/system32 are all fake dlls, intended merely to fool apps that won't run if they don't find dlls in the expected location. The dates of those files should all match the last time the wineprefix was updated, which shouldn't be 2014 if you just upgraded to 4.2. Did you at some point install native comdlg32? Unnecessary overrides can prevent Wine from working.
Locked