[Bug 52296] New: UltraVNC 1.3.4.0 and later hangs after pressing Connect.
https://bugs.winehq.org/show_bug.cgi?id=52296 Bug ID: 52296 Summary: UltraVNC 1.3.4.0 and later hangs after pressing Connect. Product: Wine Version: 7.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: bernhardu(a)mailbox.org Distribution: --- Starting vncviewer with no parameters shows the connection window. After specifiying a UltraVNC server (1.3.6.0) and pressing "Connect" the connection window closes and nothing more happens. This is observable with versions 1.3.4.0, 1.3.4.1, 1.3.4.2, 1.3.6.0. In previous version 1.3.2a after pressing "Connect" a connection status window and another window to enter the password appears. -- 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=52296 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Distribution|--- |Debian URL| |https://uvnc.com/downloads/ | |ultravnc.html -- 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=52296 --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 71450 --> https://bugs.winehq.org/attachment.cgi?id=71450 "WINEDEBUG=+message wine vncviewer.exe", just few seconds. It seems it loops all the time over window size/position changes. -- 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=52296 --- Comment #2 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 71490 --> https://bugs.winehq.org/attachment.cgi?id=71490 Backtrace while looping with debug symbols also for vncviewer.exe. Seems SetScrollInfo causes enabling of the scrollbars, which causes WM_WINDOWPOSCHANGED to which the application reacts with ShowScrollBar(SB_VERT, 0, 0) which causes another WM_WINDOWPOSCHANGED which causes SetScrollInfo which enables the scrollbars again ... -- 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=52296 --- Comment #3 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Tried to find out a little more about it and hit that recursion_count variable in WINPROC_call_window. This variable increases fast until MAX_WINPROC_RECURSION is reached and gets always decreased and increased around that value. If MAX_WINPROC_RECURSION is set to 9 I could get past this issue in time and could connect. -- 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=52296 --- Comment #4 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 71501 --> https://bugs.winehq.org/attachment.cgi?id=71501 Hack to avoid sending a WM_WINDOWPOSCHANGED which leads to a recursion. Added some logging to the WindowProc of vncserver.exe and this is the message which seems to be where native and wine diverts. -- 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=52296 jacknone(a)mail.bg changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jacknone(a)mail.bg --- Comment #5 from jacknone(a)mail.bg --- I can confirm this issue is present with the latest UltraVNC vncviewer.exe (1.3.8.1) and the latest Wine (built from source cloned from git). I tried applying patch, but apparently there was some refactoring done and it didn't apply. Lowering MAX_WINPROC_RECURSION still does appear to mitigate the issue. -- 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=52296 Neustradamus <Neustradamus(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Neustradamus(a)hotmail.com --- Comment #6 from Neustradamus <Neustradamus(a)hotmail.com> --- Jack None, Bernhard Übelacker: What is the status with latest current version? - 1.4.3.1 (2023-07-07) All help is welcome to solve it. Thanks in advance. -- 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=52296 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #71501|0 |1 is obsolete| | --- Comment #7 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 74951 --> https://bugs.winehq.org/attachment.cgi?id=74951 Hack to avoid sending a WM_WINDOWPOSCHANGED which leads to a recursion. Issue is still visible with current wine git and UltraVNC 1.4.3.1 (Zip, x86 and x64, running winvnc.exe in wine too). Updated hack because files got moved around. With it applied a connection is possible. Setting MAX_WINPROC_RECURSION from 64 to 9 also still works around the issue. -- 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=52296 Neustradamus <Neustradamus(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard(a)winehq.org -- 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=52296 --- Comment #8 from Neustradamus <Neustradamus(a)hotmail.com> --- Now there is a 1.6.1.0, it is possible to test? All help is welcome to solve it in upstream. Thanks in advance. -- 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