https://bugs.winehq.org/show_bug.cgi?id=53132
Bug ID: 53132 Summary: Stack overflow in Lotus Approach on installation and in document number dialogue Product: Wine Version: 7.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: winehq.bugs@kjpetrie.co.uk CC: zzhang@codeweavers.com Regression SHA1: ccc2c6c613264aa228bd6b113dffebc7bcf2c1f3 Distribution: ---
If Approach is already installed it will mostly function normally, until opening the Document number selection dialogue box.
If installing Approach it will proceed as far as the box confirming installation is complete. This will have a pale blue title bar instead of the shaded version seen when the bug is not present and clicking the Done button will crash with a Stack Overflow.
A Regression Test shows: ccc2c6c613264aa228bd6b113dffebc7bcf2c1f3 is the first bad commit commit ccc2c6c613264aa228bd6b113dffebc7bcf2c1f3 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Wed Mar 2 14:21:48 2022 +0800
wine.inf: Enable Light theme by default.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
loader/wine.inf.in | 10 ++++++++++ 1 file changed, 10 insertions(+)
Steps to reproduce installation error: 1. Clear .wine and using the above commit or later begin the Smartsuite installation process, selecting default options and at least Approach as the program to install. Continue accepting defaults until files are copied across. If you see boxes reporting errors click Ignore. A dialogue box appears to confirm installation. 2. Click the Done button.
Expected results: The dialogue will have the same shaded titlebar as earlier ones in the process and clicking Done will bring up questions about registration.
Actual result: The box has a plain royal blue titlebar and clicking Done crashes the program and abruptly closes the window. However the installed program still functions if called using wine from a terminal.
Steps to reproduce the number selection crash: 1. Use wine <7.4 to install Approach from a Smartsuite '97 ISO and create a simple sample database with at least two records for testing. Store that DB outside ~/.wine to ensure it remains available after removing .wine. 2. Clear .wine and install the above commit or later. 3. Open the sample database and select a view (eg form) which contains the Document number box near the bottom left. 4. Click the "Document number 1" box.
Expected result: An active dialogue box opens inviting entry of the required document number.
Actual result. An inactive small window frame appears and freezes with its initial background as content. The terminal reports a Stack Overflow. Clicking the close button will produce a "not responding" query.
https://bugs.winehq.org/show_bug.cgi?id=53132
--- Comment #1 from kjpetrie winehq.bugs@kjpetrie.co.uk --- If necessary I can supply an ISO for testing only (there is no need to register for the first fortnight), or I can test and report if you prefer.
At 3. above you might see "Click for document number" rather than "Document number1", in which case an extra click will be needed to bring it up.
It occurs to me this commit might just be extending the reach of bug 52586, which would explain why they look so similar.
The bug looks to a layman like wine altering the properties of a requested dialogue box and the application trying to correct the "error" with a recursive function call to remake the box...
In Windows <=XP Lotus Smartsuite displayed its own theme as part of its branding. Although no longer displayed by any modern OS I know it is presumably still set (and silently ignored).
https://bugs.winehq.org/show_bug.cgi?id=53132
--- Comment #2 from Zhiyi Zhang zzhang@codeweavers.com --- (In reply to kjpetrie from comment #1)
If necessary I can supply an ISO for testing only (there is no need to register for the first fortnight), or I can test and report if you prefer.
Please provide the ISO.
https://bugs.winehq.org/show_bug.cgi?id=53132
--- Comment #3 from kjpetrie winehq.bugs@kjpetrie.co.uk --- I've sent you a link by e-mail.
Thanks
https://bugs.winehq.org/show_bug.cgi?id=53132
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- It's probably the same as bug 52586. Please test with the patches there.
https://bugs.winehq.org/show_bug.cgi?id=53132
--- Comment #5 from Zhiyi Zhang zzhang@codeweavers.com --- The crash at installation is gone after applying those patches. As for the Document number crash, I am not sure where is it. Is it one of the "Record *" buttons? If you still experience the crash after the fix. Please upload a video.
https://bugs.winehq.org/show_bug.cgi?id=53132
--- Comment #6 from kjpetrie winehq.bugs@kjpetrie.co.uk --- In the bottom left corner is a button which reads "Record Number 1" or "Click for record number". If clicked when it displays the record number (1 at launch) it brings up a box to enter a number to jump to.
Anyway, this works now with your patches.
https://bugs.winehq.org/show_bug.cgi?id=53132
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #7 from Zhiyi Zhang zzhang@codeweavers.com --- Marking as duplicate of bug 52586
*** This bug has been marked as a duplicate of bug 52586 ***
https://bugs.winehq.org/show_bug.cgi?id=53132
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate.