https://bugs.winehq.org/show_bug.cgi?id=40132
Bug ID: 40132 Summary: battle.net.exe crashes at start - program error - Unhandled exception: unimplemented function Product: Wine Version: 1.9.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: edouardvallet@gmail.com Distribution: ---
Created attachment 53631 --> https://bugs.winehq.org/attachment.cgi?id=53631 program_error
battle.net.exe crashes at start. A popup entitled 'program error' appear.
Clicking on the option 'Show details' give the following error message :
--- Unhandled exception: unimplemented function imagehlp.dll.ImageGetCertificateHeader called in 32-bit code (0x7b83d9b2). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b83d9b2 ESP:0033efc4 EBP:0033f038 EFLAGS:00200283( - -- I S - - -C) EAX:7b828441 EBX:7b8c4000 ECX:7e3c3cc4 EDX:0033efe4 ESI:00000002 EDI:7e3c3cc4 Stack dump: 0x0033efc4: 0033f078 00000008 7bcdf000 80000100 0x0033efd4: 00000001 00000000 7b83d9b2 00000002 0x0033efe4: 7e3c3cc4 7e3c3d0f 7b898a96 7ffd8bf8 0x0033eff4: 0033f010 f751772b f76c5000 00000001 0x0033f004: 7ba6d310 0033f048 f7517a72 00000001 0x0033f014: 7ba6d310 7b898a96 7b89897f 0033f060 000c: sel=0067 base=00000000 limit=00000000 16-bit r-- Backtrace: =>0 0x7b83d9b2 in kernel32 (+0x2d9b2) (0x0033f038) 1 0x7b85d45b DelayLoadFailureHook+0x6a() in kernel32 (0x0033f098) 2 0x7e3b95c5 in wintrust (+0x195c4) (0x0033f0e8) 3 0x7e3a3120 in wintrust (+0x311f) (0x0033f1e8) 4 0x7e3abaa4 CryptSIPGetSignedDataMsg+0x703() in wintrust (0x0033f1e8) 5 0x7e323438 CryptSIPGetSignedDataMsg+0x77() in crypt32 (0x0033f258) 6 0x7e3b3960 in wintrust (+0x1395f) (0x0033f2c8) 7 0x7e3b4502 SoftpubLoadMessage+0x3a1() in wintrust (0x0033f358) 8 0x7e3b5c20 in wintrust (+0x15c1f) (0x0033f398) 9 0x7e3b73a7 in wintrust (+0x173a6) (0x0033f428) 10 0x7e3b7576 in wintrust (+0x17575) (0x0033f488) 11 0x7e3b7bf8 WinVerifyTrust+0x537() in wintrust (0x0033f524) 12 0x00440f70 in battle.net (+0x40f6f) (0x0033f59c) 13 0x0043f7bf in battle.net (+0x3f7be) (0x0033f7a8) 14 0x005b9a5d in battle.net (+0x1b9a5c) (0x0033f974) 15 0x005b973c in battle.net (+0x1b973b) (0x0033f994) 16 0x00567298 in battle.net (+0x167297) (0x0033fa0c) 17 0x00559ab0 in battle.net (+0x159aaf) (0x0033fa60) 18 0x005595dd in battle.net (+0x1595dc) (0x0033faf0) 19 0x00558c25 in battle.net (+0x158c24) (0x0033fb04) 20 0x00462327 in battle.net (+0x62326) (0x0033fc40) 21 0x0046212c in battle.net (+0x6212b) (0x0033fd88) 22 0x00401050 in battle.net (+0x104f) (0x0033fd9c) 23 0x007c2e43 in battle.net (+0x3c2e42) (0x0033fe50) 24 0x7b864acc call_process_entry+0xb() in kernel32 (0x0033fe68) 25 0x7b866149 in kernel32 (+0x56148) (0x0033feb8) 26 0x7bc8a740 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8) 27 0x7bc8da6d call_thread_func+0x7c() in ntdll (0x0033ffa8) 28 0x7bc8a71e RtlRaiseException+0x21() in ntdll (0x0033ffc8) 29 0x7bc5ba7f in ntdll (+0x3ba7e) (0x0033ffe8) 30 0xf751baed wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) 31 0xf751bbab wine_switch_to_stack+0x2a() in libwine.so.1 (0xffc9ac88) 32 0x7bc60c24 LdrInitializeThunk+0x263() in ntdll (0xffc9ace8) 33 0x7b86ce90 __wine_kernel_init+0xbcf() in kernel32 (0xffc9be08) 34 0x7bc61193 __wine_process_init+0x192() in ntdll (0xffc9be98) 35 0xf751978a wine_init+0x299() in libwine.so.1 (0xffc9bef8) 36 0x7bf00f0b main+0x8a() in <wine-loader> (0xffc9c358) 37 0xf7340a83 __libc_start_main+0xf2() in libc.so.6 (0x00000000) 0x7b83d9b2: movl 0xfffffff4(%ebp),%ecx Modules: Module Address Debug info Name (176 modules) PE 340000- 3fa000 Deferred libglesv2 PE 400000- e7e000 Export battle.net PE e80000- 11ab000 Deferred qt5gui PE 11b0000- 123b000 Deferred qt5multimedia PE 1240000- 14b1000 Deferred qt5quick PE 14c0000- 14f3000 Deferred qt5winextras PE 1500000- 19f9000 Deferred vivoxsdk PE 1a00000- 1a4c000 Deferred ortp PE 2470000- 2554000 Deferred qwindows PE 2560000- 2585000 Deferred libegl PE 26a0000- 26a9000 Deferred qgif PE 26b0000- 26b9000 Deferred qico PE 26c0000- 26f6000 Deferred qjpeg PE 2700000- 273b000 Deferred qmng PE 2740000- 2748000 Deferred qsvg PE 2750000- 2787000 Deferred qt5svg PE 2790000- 27e1000 Deferred qtiff PE 4440000- 4647000 Deferred d3dcompiler_43 PE 10000000-11921000 Deferred libcef PE 3c910000-3d0af000 Deferred battle.net PE 4ad00000-4b681000 Deferred icudt PE 61000000-6102a000 Deferred qt5xml PE 64000000-640b6000 Deferred qt5network PE 65000000-65448000 Deferred qt5widgets PE 66000000-66287000 Deferred qt5qml PE 67000000-67473000 Deferred qt5core PE 78050000-780b9000 Deferred msvcp100 PE 78aa0000-78b5f000 Deferred msvcr100 ELF 7a800000-7a92c000 Deferred opengl32<elf> -PE 7a820000-7a92c000 \ opengl32 ELF 7b800000-7ba6e000 Dwarf kernel32<elf> -PE 7b810000-7ba6e000 \ kernel32 ELF 7bc00000-7bcfc000 Dwarf ntdll<elf> -PE 7bc20000-7bcfc000 \ ntdll ELF 7bf00000-7bf04000 Dwarf <wine-loader> ELF 7c647000-7c700000 Deferred msvcrt<elf> -PE 7c660000-7c700000 \ msvcrt ELF 7c89b000-7c8ba000 Deferred wintab32<elf> -PE 7c8a0000-7c8ba000 \ wintab32 ELF 7ca06000-7ca23000 Deferred libgcc_s.so.1 ELF 7cb0b000-7cb42000 Deferred libtxc_dxtn_s2tc.so.0 ELF 7cb5f000-7cb98000 Deferred uxtheme<elf> -PE 7cb70000-7cb98000 \ uxtheme ELF 7cb98000-7cb9e000 Deferred libxfixes.so.3 ELF 7cb9e000-7cba9000 Deferred libxcursor.so.1 ELF 7cd17000-7cd40000 Deferred libexpat.so.1 ELF 7cd40000-7cd7b000 Deferred libfontconfig.so.1 ELF 7cd7b000-7ce1b000 Deferred libfreetype.so.6 ELF 7ce1b000-7cf4f000 Deferred libx11.so.6 ELF 7cfcb000-7cff3000 Deferred libpng12.so.0 ELF 7cff3000-7d003000 Deferred libxi.so.6 ELF 7d003000-7d007000 Deferred libxcomposite.so.1 ELF 7d007000-7d012000 Deferred libxrandr.so.2 ELF 7d012000-7d01d000 Deferred libxrender.so.1 ELF 7d01d000-7d023000 Deferred libxxf86vm.so.1 ELF 7d023000-7d027000 Deferred libxinerama.so.1 ELF 7d027000-7d02e000 Deferred libxdmcp.so.6 ELF 7d02e000-7d032000 Deferred libxau.so.6 ELF 7d032000-7d054000 Deferred libxcb.so.1 ELF 7d054000-7d067000 Deferred libxext.so.6 ELF 7d067000-7d0fd000 Deferred winex11<elf> -PE 7d070000-7d0fd000 \ winex11 ELF 7d0fd000-7d106000 Deferred librt.so.1 ELF 7d106000-7d10a000 Deferred libkeyutils.so.1 ELF 7d10a000-7d155000 Deferred libdbus-1.so.3 ELF 7d155000-7d161000 Deferred libkrb5support.so.0 ELF 7d161000-7d191000 Deferred libk5crypto.so.3 ELF 7d191000-7d24f000 Deferred libkrb5.so.3 ELF 7d24f000-7d261000 Deferred libavahi-client.so.3 ELF 7d261000-7d26f000 Deferred libavahi-common.so.3 ELF 7d26f000-7d2b5000 Deferred libgssapi_krb5.so.2 ELF 7d2b5000-7d322000 Deferred libcups.so.2 ELF 7d33f000-7d352000 Deferred gnome-keyring-pkcs11.so ELF 7d352000-7d382000 Deferred p11-kit-trust.so ELF 7d382000-7d396000 Deferred sensapi<elf> -PE 7d390000-7d396000 \ sensapi ELF 7d396000-7d40e000 Deferred ddraw<elf> -PE 7d3a0000-7d40e000 \ ddraw ELF 7d40e000-7d426000 Deferred wtsapi32<elf> -PE 7d410000-7d426000 \ wtsapi32 ELF 7d426000-7d446000 Deferred dnsapi<elf> -PE 7d430000-7d446000 \ dnsapi ELF 7d446000-7d5a3000 Deferred wined3d<elf> -PE 7d450000-7d5a3000 \ wined3d ELF 7d5a3000-7d5e2000 Deferred d3d9<elf> -PE 7d5b0000-7d5e2000 \ d3d9 ELF 7d5e2000-7d607000 Deferred imm32<elf> -PE 7d5f0000-7d607000 \ imm32 ELF 7d607000-7d713000 Deferred comctl32<elf> -PE 7d610000-7d713000 \ comctl32 ELF 7d713000-7d804000 Deferred comdlg32<elf> -PE 7d720000-7d804000 \ comdlg32 ELF 7d804000-7d847000 Deferred winspool<elf> -PE 7d810000-7d847000 \ winspool ELF 7d847000-7d902000 Deferred winmm<elf> -PE 7d850000-7d902000 \ winmm ELF 7d902000-7d916000 Deferred psapi<elf> -PE 7d910000-7d916000 \ psapi ELF 7d916000-7d95c000 Deferred usp10<elf> -PE 7d920000-7d95c000 \ usp10 ELF 7d95c000-7d98c000 Deferred netapi32<elf> -PE 7d960000-7d98c000 \ netapi32 ELF 7d98c000-7d9c0000 Deferred secur32<elf> -PE 7d990000-7d9c0000 \ secur32 ELF 7d9c0000-7d9e8000 Deferred mpr<elf> -PE 7d9d0000-7d9e8000 \ mpr ELF 7d9e8000-7da66000 Deferred wininet<elf> -PE 7d9f0000-7da66000 \ wininet ELF 7da66000-7db0a000 Deferred urlmon<elf> -PE 7da70000-7db0a000 \ urlmon ELF 7db0a000-7db34000 Deferred iphlpapi<elf> -PE 7db10000-7db34000 \ iphlpapi ELF 7db34000-7dc77000 Deferred oleaut32<elf> -PE 7db50000-7dc77000 \ oleaut32 ELF 7dc77000-7dcb7000 Deferred winhttp<elf> -PE 7dc80000-7dcb7000 \ winhttp ELF 7dcb7000-7dcbe000 Deferred libffi.so.6 ELF 7dcbe000-7dcef000 Deferred libcrypt.so.1 ELF 7dcef000-7ddac000 Deferred libsqlite3.so.0 ELF 7ddac000-7ddf3000 Deferred libhx509.so.5 ELF 7ddf3000-7de02000 Deferred libheimbase.so.1 ELF 7de02000-7de2b000 Deferred libwind.so.0 ELF 7de2b000-7de30000 Deferred libgpg-error.so.0 ELF 7de30000-7de6c000 Deferred libp11-kit.so.0 ELF 7de6c000-7de80000 Deferred libtasn1.so.6 ELF 7de80000-7de9a000 Deferred libz.so.1 ELF 7de9a000-7deb0000 Deferred libroken.so.18 ELF 7deb0000-7dee5000 Deferred libhcrypto.so.4 ELF 7dee5000-7deea000 Deferred libcom_err.so.2 ELF 7deea000-7df90000 Deferred libasn1.so.8 ELF 7df90000-7e016000 Deferred libkrb5.so.26 ELF 7e016000-7e01f000 Deferred libheimntlm.so.0 ELF 7e01f000-7e0a5000 Deferred libgcrypt.so.11 ELF 7e0a5000-7e16b000 Deferred libgnutls.so.26 ELF 7e16b000-7e1a7000 Deferred libgssapi.so.3 ELF 7e1a7000-7e1c2000 Deferred libsasl2.so.2 ELF 7e1c2000-7e1da000 Deferred libresolv.so.2 ELF 7e1da000-7e1e9000 Deferred liblber-2.4.so.2 ELF 7e1e9000-7e23b000 Deferred libldap_r-2.4.so.2 ELF 7e23b000-7e258000 Deferred jsproxy<elf> -PE 7e240000-7e258000 \ jsproxy ELF 7e258000-7e2bd000 Deferred wldap32<elf> -PE 7e260000-7e2bd000 \ wldap32 ELF 7e2bd000-7e38f000 Dwarf crypt32<elf> -PE 7e2d0000-7e38f000 \ crypt32 ELF 7e38f000-7e3c5000 Dwarf wintrust<elf> -PE 7e3a0000-7e3c5000 \ wintrust ELF 7e3c5000-7e402000 Deferred ws2_32<elf> -PE 7e3d0000-7e402000 \ ws2_32 ELF 7e402000-7e487000 Deferred rpcrt4<elf> -PE 7e410000-7e487000 \ rpcrt4 ELF 7e487000-7e5ce000 Deferred ole32<elf> -PE 7e4a0000-7e5ce000 \ ole32 ELF 7e5ce000-7e64a000 Deferred shlwapi<elf> -PE 7e5e0000-7e64a000 \ shlwapi ELF 7e64a000-7e8fb000 Deferred shell32<elf> -PE 7e660000-7e8fb000 \ shell32 ELF 7e8fb000-7e975000 Deferred advapi32<elf> -PE 7e910000-7e975000 \ advapi32 ELF 7e975000-7ea97000 Deferred gdi32<elf> -PE 7e980000-7ea97000 \ gdi32 ELF 7ea97000-7ec0f000 Deferred user32<elf> -PE 7eab0000-7ec0f000 \ user32 ELF 7ef7f000-7ef8c000 Deferred libnss_files.so.2 ELF 7ef8c000-7ef98000 Deferred libnss_nis.so.2 ELF 7ef98000-7efb1000 Deferred libnsl.so.1 ELF 7efb1000-7efba000 Deferred libnss_compat.so.2 ELF 7efba000-7f000000 Deferred libm.so.6 ELF f7322000-f7327000 Deferred libdl.so.2 ELF f7327000-f74d5000 Dwarf libc.so.6 ELF f74d6000-f74f2000 Deferred libpthread.so.0 ELF f74f3000-f750d000 Deferred version<elf> -PE f7500000-f750d000 \ version ELF f750f000-f76d9000 Dwarf libwine.so.1 ELF f76db000-f76fd000 Deferred ld-linux.so.2 ELF f76ff000-f7700000 Deferred [vdso].so Threads: process tid prio (all id:s are in hex) 0000000e services.exe 000000ac 0 0000001f 0 00000016 0 00000012 0 0000000f 0 00000010 explorer.exe 00000025 0 00000024 0 00000023 0 00000011 0 00000014 winedevice.exe 0000001e 0 0000001b 0 0000001a 0 00000015 0 0000001c plugplay.exe 00000022 0 00000021 0 0000001d 0 00000035 Agent.exe 0000004f 0 0000004e 0 0000004d 0 0000004c 0 0000004b 0 0000004a 0 00000049 0 00000048 0 00000047 0 00000046 0 00000045 0 00000044 0 00000040 0 00000036 0 00000038 wineconsole.exe 00000039 0 0000008e Battle.net Launcher.exe 000000a1 0 0000009a 0 00000093 0 0000008f 0 000000b0 (D) C:\Program Files (x86)\Battle.net\Battle.net.6734\Battle.net.exe 000000d5 0 000000d4 0 000000d3 0 000000d2 0 000000d1 0 000000d0 0 000000cf 0 000000ce 0 000000cd 0 000000cc 0 000000cb 0 000000ca 0 000000c9 0 000000c8 0 000000c7 0 000000c6 0 000000c5 0 000000c4 0 000000c3 0 000000c2 0 000000c1 0 000000c0 0 000000bf 0 000000be 0 000000bd 0 000000bc 0 000000bb 0 000000ba 0 000000b9 0 000000b8 0 000000b3 0 000000b1 0 <== System information: Wine build: wine-1.9.3 (Staging) Platform: i386 (WOW64) Version: Windows XP Host system: Linux Host version: 3.19.0-49-generic ---
Please find the enclosed picture for the 'program error' popup. Battle.net used to work very well but I had to reinstall ubuntu and I cannot make it works since. This is a clean Ubuntu install, a clean Wine install and a clean Battle.net install.
https://bugs.winehq.org/show_bug.cgi?id=40132
Edouard edouardvallet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=40132
--- Comment #1 from Edouard edouardvallet@gmail.com --- I tried to install battle.net using playonlinux and it worked. I wonder why it is not working with wine 1.9.3
https://bugs.winehq.org/show_bug.cgi?id=40132
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- Please add logs as attachments in the future.
The function ImageGetCertificateHeader is already implemented since a long time. Your issue is very likely caused by a corrupted wine prefix. Did you maybe try to disable dbghelp in winecfg?
Please try again in a fresh prefix without executing any unnecessary winetricks recipes.
https://bugs.winehq.org/show_bug.cgi?id=40132
Edouard edouardvallet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Edouard edouardvallet@gmail.com ---
Sorry for the logs, I realised it after posting.
I reset the setting with winetricks and this command :
winetricks alldlls=default
You were right, the settings were not the default ones. It was probably coming from a previous install.
Battle.net.exe worked out-of-the-box.
https://bugs.winehq.org/show_bug.cgi?id=40132
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID
--- Comment #4 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Edouard from comment #3)
Sorry for the logs, I realised it after posting.
I reset the setting with winetricks and this command :
winetricks alldlls=default
You were right, the settings were not the default ones. It was probably coming from a previous install.
Battle.net.exe worked out-of-the-box.
Glad to hear that it works now. :)
https://bugs.winehq.org/show_bug.cgi?id=40132
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=40132
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|battle.net.exe crashes at |battle.net.exe crashes on |start - program error - |startup with delay load |Unhandled exception: |failure of |unimplemented function |imagehlp.dll.ImageGetCertif | |icateHeader ('dbghelp.dll' | |disabled or native override | |not found)
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
always provide the console output too, not only the backtrace. Console was very likely showing something like this:
--- snip --- ... err:module:import_dll Library dbghelp.dll (which is needed by L"C:\windows\system32\imagehlp.dll") not found err:module: DelayLoadFailureHook failed to delay load imagehlp.dll.ImageGetCertificateHeader --- snip ---
This is caused by either disabling 'dbghelp.dll' (comment #2) or native override of 'dbghelp.dll' but the native dll not being present/found in dll search path.
Regards