[Bug 55705] New: PDF Xchange editor crashes
https://bugs.winehq.org/show_bug.cgi?id=55705 Bug ID: 55705 Summary: PDF Xchange editor crashes Product: Wine Version: 8.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: donescamillo(a)gmail.com Distribution: --- Wine 8.17 development branch. PdfXchange Editor free version i.e. not registered version. portable, version 10.0.1.371 Linux Mint 21.2 PdfXchange editor works OK, can highlight, add labels, images, whatever the free version allows. The problem is that after some time, when PdfXchange Editor is being closed, it hangs, and the dialog asking for forcing the application to close appears. This happens in previous versions, too. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- Please attach the terminal output. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 --- Comment #2 from donescamillo(a)gmail.com --- How do I get the terminal output? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 --- Comment #3 from donescamillo(a)gmail.com --- Created attachment 75552 --> https://bugs.winehq.org/attachment.cgi?id=75552 Log file after freeze -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 --- Comment #4 from donescamillo(a)gmail.com --- Created attachment 75553 --> https://bugs.winehq.org/attachment.cgi?id=75553 Log file after crash -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 donescamillo(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|8.17 |9.0 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 Christoph.Schmidpeter(a)gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Christoph.Schmidpeter(a)gmx.d | |e --- Comment #5 from Christoph.Schmidpeter(a)gmx.de --- I can confirm the sometimes occuring hang on trying to close the app after some time. I do not get a dialog to close the app though. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 temp82(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82(a)luukku.com --- Comment #6 from temp82(a)luukku.com --- the original reported version should not be changed. Please provide a working download link into URL field. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=55705 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Version|9.0 |8.17 -- 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=55705 --- Comment #7 from mokopel352@limtu.com --- The hang has happened a little differently with different versions of PDF XChange and Wine. With the current version 10.8 of PDF XChange and recent versions of Wine I have seen the hang only with a licensed version that was behind a firewall. If the portable version is started from a terminal using `WINEDEBUG=fixme-all wine PDFXEdit.exe` then after about 40 minutes it will display: 0520:err:rpc:rpcrt4_protseq_np_wait_for_new_connection wait failed with error 87 0290:err:rpc:RpcAssoc_BindConnection receive failed with error 1726 0304:err:sync:RtlpWaitForCriticalSection section 00006FFFFE369480 "dlls/combase/rpc.c: dcom registered server interfaces" wait timed out in thread 0304, blocked by 0548, retrying (60 sec) 0624:err:sync:RtlpWaitForCriticalSection section 00006FFFFD77E3A0 "dlls/rpcrt4/rpc_server.c: server_cs" wait timed out in thread 0624, blocked by 0548, retrying (60 sec) The RtlpWaitForCriticalSection messages will repeat every 60 seconds. If in file dlls/rpcrt4/rpc_transport.c, line 752 in the rpcrt4_protseq_np_wait_for_new_connection function is changed to `if (conn->io_status.Status == STATUS_SUCCESS)` instead of `if (conn->io_status.Status == STATUS_SUCCESS || conn->io_status.Status == STATUS_PIPE_CONNECTED)` the hang doesn't happen anymore. I can't imagine that this is a proper fix since I assume the extra check must be there for a good reason. But maybe someone else with the problem can try it and see if it also works for them. -- 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=55705 --- Comment #8 from donescamillo@gmail.com --- Wine 11.0, stable. I can confirm it, it still happens. Free license of the PdfXchange Editor, no firewall. Open a PDF document in PdfXchange in Wine and leave it. After sometime close the document or Wine, it will hang. Other than this PdfXchange works, you can scroll and highlight and do other operation, all OK until you close the document or Wine, then it hangs. -- 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=55705 mokopel352@limtu.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mokopel352@limtu.com --- Comment #9 from mokopel352@limtu.com --- Are you able to try the fix that I found? -- 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=55705 --- Comment #10 from donescamillo@gmail.com --- No, I have not, I dont know how to apply this fix. Does it mean I have to rebuild Wine from source? Because this I really dont know how to do. -- 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=55705 --- Comment #11 from mokopel352@limtu.com --- Yes. The source would need to have that one line changed and then it would need to be compiled. No problems have been experienced since doing that. -- 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=55705 mokopel352@limtu.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC|mokopel352@limtu.com | -- 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=55705 KRosUser <kyle.kcsoftwares@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle.kcsoftwares@gmail.com --- Comment #12 from KRosUser <kyle.kcsoftwares@gmail.com> --- Related or duplicate of https://bugs.winehq.org/show_bug.cgi?id=39711 ? -- 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=55705 --- Comment #13 from donescamillo@gmail.com --- Just to confirm that the bug still happens in Wine 11.3 stable and PdfXchange Editor Portable 10.8.2 build 407, unlicened version (using only the free features). I have no firewalls installed. Also, I dont know how to build Wine with the fix that mokopel352@limtu.com suggested. -- 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=55705 mokopel352@limtu.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mokopel352@limtu.com --- Comment #14 from mokopel352@limtu.com --- The fix no longer works for PDF XChange version 11. Version 11 freezes when attempting to use the program after about an hour of sitting idle. -- 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=55705 --- Comment #15 from Ken Sharp <imwellcushtymelike@gmail.com> --- A new bug needs a new bug report. https://gitlab.winehq.org/wine/wine/-/wikis/Bugs -- 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=55705 --- Comment #16 from mokopel352@limtu.com --- The fix I found I'm sure wasn't a proper fix and never became an official patch. The real problem is the error message like what follows, which can be seen in the console when using WINEDEBUG=fixme-all: 0624:err:sync:RtlpWaitForCriticalSection section 00006FFFFD77E3A0 "dlls/rpcrt4/rpc_server.c: server_cs" wait timed out in thread 0624, blocked by 0548, retrying (60 sec) The fix I had for version 10 no longer affects this error in version 11. When this error happens, the program will then freeze, either in version 10 or in version 11. So if this error gets fixed properly so that version 11 runs, it's likely that version 10 will also be fixed. Version 10 is no longer publicly available from the publisher's website, so if a new bug report needs to be created, that would make this one moot. -- 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=55705 --- Comment #17 from mokopel352@limtu.com --- Created attachment 81640 --> http://bugs.winehq.org/attachment.cgi?id=81640 patch for rpc_transport.c A patch has been attached. This patch extends on the previous workaround. So far PDF XChange version 11.0.1 has not been freezing in my testing. This patch does not resolve the cause for the rpc time out errors, so it is not a proper fix. It just keeps wine from trying to process the error and then freezing. But maybe it will help someone else who may be experiencing this freeze until a developer is able to take a look into it. To be able to see the rpc time out error, use WINEDEBUG=fixme-all to avoid the console from being overrun by all the other error messages. I use X11, so that may also be a factor in how this error gets handled and whether or not the program freezes. -- 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 (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla