[Bug 47230] Provide hint in crash report module table to distinguish between Wine builtins cross-compiled to PE format and native overrides

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 4 07:53:51 CST 2020


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

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

revisiting, still present.

For Wine PE builtins it will display 'PDB' now if the module is part of the
call chain in the current exception context and symbol files have been
generated via llvm-mingw.

Another example, from bug 39463

--- snip ---
$ wine ./HealthCoach.exe
...
Unhandled exception: page fault on execute access to 0x00000a29 in 32-bit code
(0x00000a29).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00000a29 ESP:025bfd88 EBP:025bfe2c EFLAGS:00210206(  R- --  I   - -P- )
 EAX:025bfda0 EBX:8007000e ECX:00000000 EDX:00000000
 ESI:ffffffff EDI:01b6f338
...
Backtrace:
=>0 0x00000a29 (0x025bfe2c)
  1 0x02be7ff6 exec_global_code+0x205()
[Z:\home\focht\projects\wine\mainline-src\dlls\vbscript\vbscript.c:2147483824]
in vbscript (0x025bfe70)
  2 0x0032ee18 (0x025bfe70)
  3 0x02be75fe VBScript_SetScriptState+0x15d()
[Z:\home\focht\projects\wine\mainline-src\dlls\vbscript\vbscript.c:2147484205]
in vbscript (0x025bfea0)
  4 0x7ad9c781 (0x025bfea0)
  5 0x004a00f5 call_script+0x224()
[Z:\home\focht\projects\wine\mainline-src\dlls\msi\script.c:2147484002] in msi
(0x025bff0c)
  6 0x7ad9c781 (0x025bff0c)
  7 0x00463bac ScriptThread+0x19b()
[Z:\home\focht\projects\wine\mainline-src\dlls\msi\custom.c:2147484721] in msi
(0x025bff4c)
  8 0x7ad9c781 (0x025bff4c)
  9 0x7bcb01fc call_thread_func_wrapper+0xb() in ntdll (0x025bff5c)
  10 0x7bcb37d7 call_thread_func+0x86()
[Z:\home\focht\projects\wine\mainline-src\dlls\ntdll\signal_i386.c:2690] in
ntdll (0x025bffdc)
  11 0x7bcb01ee call_thread_entry+0x9() in ntdll (0x025bffec)
0x00000a29: -- no code accessible --
Modules:
Module    Address            Debug info    Name (134 modules)
PE      330000-  343000    Deferred        version
PE      350000-  3e0000    Deferred        shlwapi
PE      3e0000-  400000    Deferred        odbccp32
PE      400000-  434000    Deferred        msiexec
PE      440000-  75f000    PDB             msi
PE      760000-  8e9000    Deferred        urlmon
...
PE     1650000- 165c000    Deferred        api-ms-win-crt-runtime-l1-1-0
...
PE     2930000- 297a000    Deferred        propsys
PE     2bc0000- 2cc7000    PDB             vbscript
PE     2cd0000- 2d1a000    Deferred        wbemdisp
PE     2d20000- 2d46000    Deferred        wmiutils
PE     2d50000- 2e10000    Deferred        wbemprox
PE    10000000-101c1000    Deferred        kernelbase
PE    603b0000-60416000    Deferred        mscoreei
PE    79000000-7904a000    Deferred        mscoree
ELF    7a800000-7a944000    Deferred        opengl32<elf>
  \-PE    7a840000-7a944000    \               opengl32
ELF    7b400000-7b670000    Deferred        kernel32<elf>
  \-PE    7b420000-7b670000    \               kernel32
...
ELF    7bc00000-7beb1000    Dwarf           ntdll<elf>
  \-PE    7bc30000-7beb1000    \               ntdll
...
ELF    7c000000-7c004000    Deferred        <wine-loader>
...
ELF    7ccd8000-7cd5f000    Deferred        dbghelp<elf>
  \-PE    7ccf0000-7cd5f000    \               dbghelp
...
ELF    f7d47000-f7ef9000    Dwarf           libwine.so.1
ELF    f7efb000-f7f24000    Deferred        ld-linux.so.2
ELF    f7f27000-f7f28000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 HealthCoach.exe
    00000009    0
...
0000002b (D) C:\windows\system32\msiexec.exe
    0000003d    0
    0000003a    0 <==
    00000034    0
    00000033    0
    00000032    0
    0000002d    0
    0000002c    0
...
--- snip ---

It still not easy to guess if a native override is present or not, especially
if the module(s) are not part of the call chain in the current exception
context.

$ wine --version
wine-5.0-rc4

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