[Bug 47228] Kundenkartei 5 crashes on startup (Wine's 'packager.dll' is preferred over native, causing failure to load app provided library with same name)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat May 18 19:54:17 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=47228
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |download
CC| |focht at gmx.net
Hardware|x86 |x86-64
URL| |https://web.archive.org/web
| |/20190519003329/https://kun
| |denkartei.net/download/Kund
| |enkartei_installer.exe
Summary|crash on new application |Kundenkartei 5 crashes on
| |startup (Wine's
| |'packager.dll' is preferred
| |over native, causing
| |failure to load app
| |provided library with same
| |name)
Version|unspecified |3.0.4
Status|NEEDINFO |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
confirming, dupe of bug 43472
Next time please really try to follow bug reporting guidelines.
I've created a stable download link using Internet Archive:
https://web.archive.org/web/20190519003329/https://kundenkartei.net/download/Kundenkartei_installer.exe
--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Local Settings/Application
Data/Kundenkartei5
$ file *.{dll,exe}
msvcp120.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
msvcp140.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
msvcr100.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
msvcr120.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
packager.dll: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
Kundenkartei5.exe: PE32+ executable (GUI) x86-64, for MS Windows
unins000.exe: PE32 executable (GUI) Intel 80386, for MS Windows
$ WINEDEBUG=+seh,+relay wine ./Kundenkartei5.exe >>log.txt 2>&1
...
002c:Starting process L"C:\\users\\focht\\Local Settings\\Application
Data\\Kundenkartei5\\Kundenkartei5.exe" (entryproc=0x140002a54)
...
002c:Call shcore.CommandLineToArgvW(0001ba38 L"\"C:\\users\\focht\\Local
Settings\\Application Data\\Kundenkartei5\\Kundenkartei5.exe\"",0024fd00)
ret=140002298
002c:Call KERNEL32.LocalAlloc(00000000,000000b2) ret=7fcc936b75c1
002c:Ret KERNEL32.LocalAlloc() retval=00095110 ret=7fcc936b75c1
002c:Ret shcore.CommandLineToArgvW() retval=00095110 ret=140002298
002c:Call KERNEL32.LoadLibraryW(140004400 L"packager.dll") ret=1400022a8
002c:Call PE DLL (proc=0x7fcc9217e4c0,module=0x7fcc92170000
L"packager.dll",reason=WINE_PREATTACH,res=(nil))
002c:Ret PE DLL (proc=0x7fcc9217e4c0,module=0x7fcc92170000
L"packager.dll",reason=WINE_PREATTACH,res=(nil)) retval=1
002c:Call PE DLL (proc=0x7fcc9217e4c0,module=0x7fcc92170000
L"packager.dll",reason=PROCESS_ATTACH,res=(nil))
002c:Call KERNEL32.DisableThreadLibraryCalls(7fcc92170000) ret=7fcc9217e4b3
002c:Ret KERNEL32.DisableThreadLibraryCalls() retval=00000001 ret=7fcc9217e4b3
002c:Ret PE DLL (proc=0x7fcc9217e4c0,module=0x7fcc92170000
L"packager.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1
002c:Ret KERNEL32.LoadLibraryW() retval=7fcc92170000 ret=1400022a8
002c:Call KERNEL32.GetProcAddress(7fcc92170000,140004438 "start_launcher")
ret=1400023ba
002c:Ret KERNEL32.GetProcAddress() retval=00000000 ret=1400023ba
002c:Call KERNEL32.GetProcAddress(7fcc92170000,140004448 "stop_launcher")
ret=1400023cd
002c:Ret KERNEL32.GetProcAddress() retval=00000000 ret=1400023cd
002c:trace:seh:NtRaiseException code=c0000005 flags=0 addr=(nil) ip=0 tid=002c
002c:trace:seh:NtRaiseException info[0]=0000000000000008
002c:trace:seh:NtRaiseException info[1]=0000000000000000
002c:trace:seh:NtRaiseException rax=0000000000000000 rbx=0000000000000000
rcx=0000000000000001 rdx=0000000000095110
002c:trace:seh:NtRaiseException rsi=0000000000000000 rdi=0000000000000001
rbp=000000000024fd49 rsp=000000000024fcd8
002c:trace:seh:NtRaiseException r8=000000003fffffff r9=000000000024f4df
r10=0000000000000000 r11=0000000000000246
002c:trace:seh:NtRaiseException r12=0000000000000000 r13=0000000000000000
r14=0000000000095110 r15=00007fcc92170000
002c:trace:seh:RtlVirtualUnwind type 1 rip 1400023d8 rsp 24fce0
--- snip ---
Workaround:
--- snip ---
$ pwd
/home/focht/.wine/drive_c/users/focht/Local Settings/Application
Data/Kundenkartei5
$ WINEDLLOVERRIDES=packager=n wine ./Kundenkartei5.exe
--- snip ---
NOTE: There is another crash following up which is a different issue. It can be
worked around by using Wine-Staging (4.8 is most recent).
--- snip ---
...
0071:fixme:win:EnumDisplayDevicesW ((null),0,0x2159d640,0x00000000), stub!
0071:fixme:d3d:wined3d_check_device_format_conversion wined3d 0xac270,
adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format
WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0071:fixme:d3d:wined3d_check_device_format_conversion wined3d 0xac270,
adapter_idx 0, device_type WINED3D_DEVICE_TYPE_HAL, src_format
WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0074:err:d3d:wined3d_context_gl_init Failed to set pixel format 1 on device
context 0x250048.
0074:err:d3d:swapchain_create_context Failed to create a new context for the
swapchain
0074:err:d3d:wined3d_context_gl_init Failed to set pixel format 1 on device
context 0x20049.
0074:err:d3d:swapchain_create_context Failed to create a new context for the
swapchain
wine: Unhandled page fault on read access to 0x00000000 at address
0x7f71c91b2889 (thread 0074), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 64-bit code
(0x00007f71c91b2889).
Register dump:
rip:00007f71c91b2889 rsp:0000000021adfc40 rbp:00000000000d6800 eflags:00010206
( R- -- I - -P- )
rax:0000000000000000 rbx:00000000000d1040 rcx:00007f71dac73ab7
rdx:00000000000000ff
rsi:00007f71c927e608 rdi:0000000000000000 r8:0000000000000000
r9:00007f71daa1ee20 r10:0000000000000000
r11:0000000000000000 r12:00000000217d12a4 r13:0000000000000002
r14:00000000217d12ec r15:0000000000000023
...
Backtrace:
=>0 0x00007f71c91b2889
wined3d_device_create_primary_opengl_context_cs+0xb9(object=0xd1040)
[/home/focht/projects/wine/mainline-src/dlls/wined3d/device.c:646] in wined3d
(0x00000000000d6800)
1 0x00007f71c91ae36c wined3d_cs_run+0x14b(ctx=<is not available>)
[/home/focht/projects/wine/mainline-src/dlls/wined3d/cs.c:2818] in wined3d
(0x0000000021adfdf0)
2 0x000000007bca87d7 call_thread_func+0xf6(entry=0x7f71c91ae220,
arg=0x217c4030)
[/home/focht/projects/wine/mainline-src/dlls/ntdll/signal_x86_64.c:4457] in
ntdll (0x0000000021adffd0)
0x00007f71c91b2889 wined3d_device_create_primary_opengl_context_cs+0xb9
[/home/focht/projects/wine/mainline-src/dlls/wined3d/device.c:646] in wined3d:
movq (%rax),%rbp
646 const struct wined3d_gl_info *gl_info = context->gl_info;
...
--- snip ---
$ sha1sum Kundenkartei_installer.exe
a33c512da3db76af70e442fc6658928e867966e2 Kundenkartei_installer.exe
$ du -sh Kundenkartei_installer.exe
168M Kundenkartei_installer.exe
$ wine --version
wine-4.8-202-g61aea5a987
Regards
*** This bug has been marked as a duplicate of bug 43472 ***
--
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