Libcups.so causes delay at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Starting various applications with wine (e.g. xnview) I see a long delay (several seconds) until the application starts. Using WINEDEBUG=all I can see printer specific stuff before the delay (attached below). 
Wine 1.1.12
Up-to-date Arch Linux
libcups.2.so from package libcups 1.3.9-2 is installed as dependency of gtk2. CUPS is not configured at all.

Now the catch: Removing libcups.so and libcups.2.so makes the long delay go away. How can I have a fast startup with libcups.so in place?


Code:

01e6:trace:module:process_attach (L"winspool.drv",0x1) - START
01e6:Call PE DLL (proc=0x7e653850,module=0x7e630000 L"winspool.drv",reason=PROCESS_ATTACH,res=0x1)
01e6:Call KERNEL32.DisableThreadLibraryCalls(7e630000) ret=7e6536b0
01e6:Ret  KERNEL32.DisableThreadLibraryCalls() retval=00000001 ret=7e6536b0
01e6:Call advapi32.RegCreateKeyW(80000002,7e656260 L"System\\CurrentControlSet\\Control\\Print\\Printers",0032fd74) ret=7e6524ea
01e6:trace:reg:NtCreateKey (0x28,L"System\\CurrentControlSet\\Control\\Print\\Printers",(null),0,f003f,0x32fd74)
01e6:trace:reg:NtCreateKey <- 0x5c
01e6:Ret  advapi32.RegCreateKeyW() retval=00000000 ret=7e6524ea
01e6:Call advapi32.RegQueryInfoKeyA(0000005c,00000000,00000000,00000000,0032fd68,00000000,00000000,00000000,00000000,00000000,00000000,00000000) ret=7e652bc4
01e6:trace:reg:RegQueryInfoKeyA (0x5c,(nil),0,(nil),0x32fd68,(nil),(nil),(nil),(nil),(nil),(nil))
01e6:Ret  advapi32.RegQueryInfoKeyA() retval=00000000 ret=7e652bc4
01e6:Call advapi32.RegCloseKey(0000005c) ret=7e652ca3
01e6:Ret  advapi32.RegCloseKey() retval=00000000 ret=7e652ca3
01e6:trace:winspool:EnumPrintersA (0x2, (null), 5, (nil), 0, 0x32fd6c, 0x32fd68)
01e6:Call advapi32.RegCreateKeyW(80000002,7e656260 L"System\\CurrentControlSet\\Control\\Print\\Printers",0032f7e8) ret=7e64a8b5
01e6:trace:reg:NtCreateKey (0x28,L"System\\CurrentControlSet\\Control\\Print\\Printers",(null),0,f003f,0x32f7e8)
01e6:trace:reg:NtCreateKey <- 0x5c
01e6:Ret  advapi32.RegCreateKeyW() retval=00000000 ret=7e64a8b5
01e6:Call advapi32.RegQueryInfoKeyA(0000005c,00000000,00000000,00000000,0032f7dc,00000000,00000000,00000000,00000000,00000000,00000000,00000000) ret=7e64a9c2
01e6:trace:reg:RegQueryInfoKeyA (0x5c,(nil),0,(nil),0x32f7dc,(nil),(nil),(nil),(nil),(nil),(nil))
01e6:Ret  advapi32.RegQueryInfoKeyA() retval=00000000 ret=7e64a9c2
01e6:trace:winspool:WINSPOOL_EnumPrinters Found 0 printers
01e6:Call advapi32.RegCloseKey(0000005c) ret=7e64ac23
01e6:Ret  advapi32.RegCloseKey() retval=00000000 ret=7e64ac23
01e6:Call ntdll.RtlFreeUnicodeString(0032f894) ret=7e64f64a
01e6:Ret  ntdll.RtlFreeUnicodeString() retval=7efb5640 ret=7e64f64a
01e6:trace:winspool:convert_printerinfo_W_to_A ((nil), (nil), 5, 0, 0)
01e6:Call ntdll.RtlFreeHeap(00110000,00000000,00000000) ret=7e64f674
01e6:Ret  ntdll.RtlFreeHeap() retval=00000001 ret=7e64f674
01e6:trace:winspool:CUPS_LoadPrinters 0x7dbbfb30: libcups.so.2 loaded
01e6:Call advapi32.RegCreateKeyW(80000002,7e656260 L"System\\CurrentControlSet\\Control\\Print\\Printers",0032fd5c) ret=7e65264f
01e6:trace:reg:NtCreateKey (0x28,L"System\\CurrentControlSet\\Control\\Print\\Printers",(null),0,f003f,0x32fd5c)
01e6:trace:reg:NtCreateKey <- 0x5c
01e6:Ret  advapi32.RegCreateKeyW() retval=00000000 ret=7e65264f









[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux