[Bug 59977] New: Acrobat Reader DC locks up opening a PDF directly with "wine some.pdf"
http://bugs.winehq.org/show_bug.cgi?id=59977 Bug ID: 59977 Summary: Acrobat Reader DC locks up opening a PDF directly with "wine some.pdf" Product: Wine Version: 11.12 Hardware: x86-64 URL: https://ardownload2.adobe.com/pub/adobe/reader/win/Acr obatDC/2001320064/AcroRdrDC2001320064_en_US.exe OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@list.winehq.org Reporter: imwellcushtymelike@gmail.com CC: alexhenrie24@gmail.com Target Milestone: --- Regression SHA1: 42579f1dcd2f14e765e2f53ceb5b46fff5623f10 Distribution: --- Created attachment 81378 --> http://bugs.winehq.org/attachment.cgi?id=81378 Wine 11.12 console output [3.8 MiB] Opening a PDF directly causes Adobe Acrobat Reader DC to lock up and it has to be killed. In a 32-bit wineprefix: 1. winetricks -q mspatcha 2. wine AcroRdrDC2001320064_en_US.exe 3. wine 'c:\\program files\\adobe\\acrobat reader dc\\reader\\welcome.pdf' (You may need to accept the licence agreement, and open "without the container".) This works correctly in Wine 8.0.1. Bisect led me to commit 42579f1dcd2f14e765e2f53ceb5b46fff5623f10 Author: Alex Henrie <alexhenrie24@gmail.com> Date: Sun Sep 24 11:36:20 2023 -0600 riched20: Use CRT allocation functions. However, this does not occur if Wine is compiled with -O0 or -O1. Normally: gcc (Debian 15.3.0-1) 15.3.0 While bisecting between 8.0.1 and 9.0.1: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 https://ardownload2.adobe.com/pub/adobe/reader/win/AcrobatDC/2001320064/Acro... http://web.archive.org/web/20260706223227/https://ardownload2.adobe.com/pub/... sha1sum: c908742e4f456742dc6c3e863dea80fe68925e53 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59977 --- Comment #1 from Ken Sharp <imwellcushtymelike@gmail.com> --- Created attachment 81379 --> http://bugs.winehq.org/attachment.cgi?id=81379 Wine 11.12 +richedit -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59977 --- Comment #2 from Ken Sharp <imwellcushtymelike@gmail.com> --- Note that there is a hang if you first open acrord32.exe, then open the PDF, but the console output is different. Still trying to find out why. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59977 --- Comment #3 from Alex Henrie <alexhenrie24@gmail.com> --- AcroRd32.exe was crashing on start until I ran the following command to disable protected mode in the registry: wine reg add "HKCU\Software\Adobe\Acrobat Reader\DC\Privileged" /v bProtectedMode /t REG_DWORD /d 0 /f After that, it runs but hangs if you try to click anything in the user interface, and eventually there is a stack overflow: 0124:fixme:richedit:TextPara_GetAlignment stack overflow 1220 bytes addr 0x7ba65cc6 stack 0x220b3c (0x220000-0x221000-0x320000) I am not seeing any difference in behavior before or after commit 42579f1dcd2. The following patch fixes it for me: diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c index 11fde52873e..42ed8a084d7 100644 --- a/dlls/riched20/richole.c +++ b/dlls/riched20/richole.c @@ -3678,6 +3678,7 @@ static HRESULT WINAPI TextPara_GetAlignment(ITextPara *iface, LONG *value) { ITextParaImpl *This = impl_from_ITextPara(iface); FIXME("(%p)->(%p)\n", This, value); + if (value) *value = 0; return E_NOTIMPL; } -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59977 --- Comment #4 from Ken Sharp <imwellcushtymelike@gmail.com> --- It doesn't crash for me if I start the .exe directly, on its own, without opening a PDF. Nor does it hang, until I open a PDF. It asks me if I want to continue without protected mode, or exit. Did you run it like this? wine 'c:\\program files\\adobe\\acrobat reader dc\\reader\\welcome.pdf' I'll try the patch for the other type of hang. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59977 --- Comment #5 from Ken Sharp <imwellcushtymelike@gmail.com> --- (In reply to Ken Sharp from comment #4)
It doesn't crash for me
Sigh. It does if compiling with -O1. That's another one to add to the list. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59977 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Severity|normal |minor --- Comment #6 from Ken Sharp <imwellcushtymelike@gmail.com> --- Your patch fixes this bug, and the other hang that occurs, so the cause must have been the same. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59977 --- Comment #7 from Alex Henrie <alexhenrie24@gmail.com> --- (In reply to Ken Sharp from comment #6)
Your patch fixes this bug, and the other hang that occurs, so the cause must have been the same.
Great! I sent the patch as https://gitlab.winehq.org/wine/wine/-/merge_requests/11365 -- 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.
participants (1)
-
WineHQ Bugzilla