[Bug 33162] Acrobat Reader 11 crashes on start (native API application virtualization, NtProtectVirtualMemory removes execute page protection on its own code)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Mar 7 16:01:59 CST 2020


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://ardownload.adobe.com |https://web.archive.org/web
                   |/pub/adobe/reader/win/11.x/ |/20150628191320/http://ardo
                   |11.0.00/pl_PL/AdbeRdr11000_ |wnload.adobe.com/pub/adobe/
                   |pl_PL.exe                   |reader/win/11.x/11.0.00/pl_
                   |                            |PL/AdbeRdr11000_pl_PL.exe

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

--- quote ---
Bug still occurs with wine-5.3.
--- quote ---

while testing Wine releases is always welcome, it's not sufficient in this
case. Any related source code change in mainline Wine needs to be checked as
well.

To show how random the results are for reasons outlined in earlier comments,
the stats of my Wine 4.x and 5.x release builds:

--- snip ---
$ find ~/projects/wine/mainline-install-{4*,5*}-x86_64/lib/wine/ \
  -iname ntdll.dll.so -exec nm -A -S {} \; \
  | egrep "(NtProtectVirtualMemory|NtCreateSection)" \
  | sed 's/.*mainline-install-\(.*\)-x86_64\/lib\/wine.*:\(.*\).*/\1 - \2/ig' \
  | sort -V \
  | sed '0~2 s/$/\n/g'

4.0 - 7bca2cb0 000003a4 T NtProtectVirtualMemory
4.0 - 7bca3780 00000172 T NtCreateSection

4.1 - 7bca2d60 000003a4 T NtProtectVirtualMemory
4.1 - 7bca3830 00000172 T NtCreateSection

4.2 - 7bca3590 000003a4 T NtProtectVirtualMemory
4.2 - 7bca4060 00000172 T NtCreateSection

4.3 - 7bca7e90 00000172 T NtCreateSection
4.3 - 7bca73a0 000003a4 T NtProtectVirtualMemory

4.4 - 7bca76f0 000003a4 T NtProtectVirtualMemory
4.4 - 7bca81e0 00000172 T NtCreateSection

4.5 - 7bca81f0 00000172 T NtCreateSection
4.5 - 7bca7700 000003a4 T NtProtectVirtualMemory

4.6 - 7bcb5b20 000003a4 T NtProtectVirtualMemory
4.6 - 7bcb65d0 00000172 T NtCreateSection

4.7 - 7bcb7c70 00000172 T NtCreateSection
4.7 - 7bcb71c0 000003a4 T NtProtectVirtualMemory

4.8 - 7bcc0b90 0000035e T NtProtectVirtualMemory
4.8 - 7bcc1590 00000156 T NtCreateSection

4.9 - 7bcc1ca0 00000156 T NtCreateSection
4.9 - 7bcc12a0 0000035e T NtProtectVirtualMemory

4.10 - 7bcc1eb0 00000156 T NtCreateSection
4.10 - 7bcc14b0 0000035e T NtProtectVirtualMemory

4.11 - 7bcc3b30 00000156 T NtCreateSection
4.11 - 7bcc3130 0000035e T NtProtectVirtualMemory

4.12.1 - 7bcc6d50 0000035e T NtProtectVirtualMemory
4.12.1 - 7bcc7750 00000156 T NtCreateSection

4.13 - 7bcc7bb0 00000156 T NtCreateSection
4.13 - 7bcc71b0 0000035e T NtProtectVirtualMemory

4.14 - 7bcc6e40 00000156 T NtCreateSection
4.14 - 7bcc6440 0000035e T NtProtectVirtualMemory

4.15 - 7bcc6730 0000035e T NtProtectVirtualMemory
4.15 - 7bcc7130 00000156 T NtCreateSection

4.16 - 7bcc7790 0000035e T NtProtectVirtualMemory
4.16 - 7bcc8190 00000156 T NtCreateSection

4.17 - 7bcc78c0 0000035e T NtProtectVirtualMemory
4.17 - 7bcc82c0 00000156 T NtCreateSection

4.18 - 7bcc9b30 00000156 T NtCreateSection
4.18 - 7bcc9130 0000035e T NtProtectVirtualMemory

4.19 - 7bccc730 0000035e T NtProtectVirtualMemory
4.19 - 7bccd130 00000156 T NtCreateSection

4.20 - 7bcce520 0000035e T NtProtectVirtualMemory
4.20 - 7bccef20 00000156 T NtCreateSection

4.21 - 7bcd1ee0 00000156 T NtCreateSection
4.21 - 7bcd14e0 0000035e T NtProtectVirtualMemory

5.0 - 7bcd1d20 00000156 T NtCreateSection
5.0 - 7bcd1320 0000035e T NtProtectVirtualMemory

5.1 - 7bcd1c40 00000156 T NtCreateSection
5.1 - 7bcd1240 0000035e T NtProtectVirtualMemory

5.2 - 7bcd0b90 0000035e T NtProtectVirtualMemory
5.2 - 7bcd1930 00000156 T NtCreateSection

5.3 - 7bcd25b0 00000156 T NtCreateSection
5.3 - 7bcd1810 0000035e T NtProtectVirtualMemory
--- snip ---

(nm: '-A' = prepend filename, '-S' = output symbol/function size as well)

Taking Wine 5.x releases from above output as example:

* 5.0 = does not work (code in same page)
* 5.1 = does not work (code in same page)
* 5.2 = "works" (root cause not fixed)
* 5.3 = "works" (root cause not fixed)

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