[Bug 55218] New: Lotus Script "Print" macro crashes Lotus Approach
https://bugs.winehq.org/show_bug.cgi?id=55218 Bug ID: 55218 Summary: Lotus Script "Print" macro crashes Lotus Approach Product: Wine-staging Version: 8.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: ToddAndMargo(a)zoho.com CC: leslie_alistair(a)hotmail.com, z.figura12(a)gmail.com Distribution: --- Created attachment 74832 --> https://bugs.winehq.org/attachment.cgi?id=74832 $ WINEDEBUG=seh,gdi,enhmetafile,winspool,localspl,psdrv wine approach.exe 2&>1
WinePrintError.txt
Fedora 38 Wine 8.11 Lotus Approach N99.8.0208.0800 (Smart Suite) In Lotus Approach, when you call the "Print" macro from a Lotus Script: RunApproachMacro("Print") Lotus Approach crashes. This happens about one out of every two print attempts. Occasionally, a "MEM_BAD_POINTER" will popup from Approach when it crashes. The attachment was created with: $ WINEDEBUG=seh,gdi,enhmetafile,winspool,localspl,psdrv wine approach.exe 2&>1
WinePrintError.txt
-- 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=55218 --- Comment #1 from Todd Chester <ToddAndMargo(a)zoho.com> --- Note: a workaround to this bug: In your Lotus Script, replace RunApproachMacro("Print") with CurrentWindow.Print -- 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=55218 --- Comment #2 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Does this occur in vanilla Wine? -- 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=55218 --- Comment #3 from Todd Chester <ToddAndMargo(a)zoho.com> --- (In reply to Ken Sharp from comment #2)
Does this occur in vanilla Wine?
No idea. I use what is in teh Fedora repos. If I spin my own wine, it messes up rpm database up pretty bad and is a pain in the neck to get back to the Fedora repos. I see 8.12 is in the Fedora testing repo. -- 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=55218 --- Comment #4 from Todd Chester <ToddAndMargo(a)zoho.com> --- Hi All, Things have changed with new revisions: # rpm -qa wine Note: this is Wine Staging wine-8.18-1.fc38.i686 wine-8.18-1.fc38.x86_64 Lotus Approach N99.8.0208.0800 (Smart Suite) Neither the macro command RunApproachMacro("Print") or the Lotus Script command CurrentWindow.Print Have any effect on printing. But neither no longer crashes. Manually printing does work fine. Please fix as soon as possible. Many thanks, -T -- 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=55218 Todd Chester <ToddAndMargo(a)zoho.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Lotus Script "Print" macro |Lotus |crashes Lotus Approach |ScriptRunApproachMacro("Pri | |nt") and the Lotus Script | |CurrentWindow.Print are | |ignored -- 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=55218 --- Comment #5 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Can you please attached the WinePrintError.txt? Current attachment is just a backtrace of the 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=55218 --- Comment #6 from Todd Chester <ToddAndMargo(a)zoho.com> ---
Can you please attached the WinePrintError.txt? Current attachment is just a backtrace of the crash.
I am not sure what you are want. "WinePrintError.txt" was suppose to be a backtrace of the crash. I will reattach it just in case I attached something different. If you want a different trace, please write down the command line and I will run it for you. If it would help the troubleshooting, I can make up a sample approach file with sample lotus macro command and sample lotus script command for you to run. I can eMail it to you so you can run it through virus total or I can attach it here if you are not worried about a virus. And I can write directions on how to run the commands. The script in question. Note that the print macro command still crashes Approach. Sub PrintEnvelope ' The "Envelope" tab seems to remember the customer when entering it, ' but looses the invoice SequenceNo when returning to the "Invoices" tab ' when it is linked one (customer) to many (invoices) Dim ThisSequenceNo As Variant Dim ThisCustomer As Variant Dim SeqFind As New Find ' Save everthing before continuing RunApproachMacro("Enter") ThisSequenceNo = CurrentView.Body.SequenceNo.text ' Record "ThisCustomer" in case in the future the "Envelope" tab starts to loose ' the customer number and we need to do a find on it ThisCustomer = CurrentView.Body.Customer~ No.Text Set CurrentWindow.ActiveView = CurrentDocument.Envelope ' CurrentWindow.CurrentRecord = ThisSequenceNo RunApproachMacro("Print") ' CurrentWindow.Print Set CurrentWindow.ActiveView = CurrentDocument.Invoices CurrentWindow.Browse SeqFind.And "InvSeqNo", ThisSequenceNo CurrentWindow.FindSort SeqFind CurrentDocument.Window.FindAll ' Msgbox "Customer No < " + Str (Customer) + "> This Sequence No < " + Str (ThisSequenceNo) + ">", 64, "Test Result" End Sub -- 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=55218 Todd Chester <ToddAndMargo(a)zoho.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Lotus |Lotus |ScriptRunApproachMacro("Pri |ScriptRunApproachMacro("Pri |nt") and the Lotus Script |nt") Crashes and the Lotus |CurrentWindow.Print are |Script CurrentWindow.Print |ignored |is ignored -- 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=55218 --- Comment #7 from Todd Chester <ToddAndMargo(a)zoho.com> --- Created attachment 75343 --> https://bugs.winehq.org/attachment.cgi?id=75343 mv WINEDEBUG=+winspool wine approach.exe > Wine.Print.Macro.Crashes.txt 2>& RunApproachMacro("Print") WINEDEBUG=+winspool wine approach.exe > Wine.Print.Macro.Crashes.txt 2>& -- 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=55218 --- Comment #8 from Todd Chester <ToddAndMargo(a)zoho.com> --- Created attachment 75344 --> https://bugs.winehq.org/attachment.cgi?id=75344 WINEDEBUG=+winspool wine approach.exe > Wine.Print.Script.Ignored.txt 2>&1 RunApproachMacro("Print") WINEDEBUG=+winspool wine approach.exe > Wine.Print.Script.Ignored.txt 2>&1 -- 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=55218 --- Comment #9 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- (In reply to Todd Chester from comment #7)
Created attachment 75343 [details] mv WINEDEBUG=+winspool wine approach.exe > Wine.Print.Macro.Crashes.txt 2>&
RunApproachMacro("Print") WINEDEBUG=+winspool wine approach.exe > Wine.Print.Macro.Crashes.txt 2>&
Thanks, that a better trace log. Could you please use the following channels. WINEDEBUG=winspool,spoolss,localspl,psdrv -- 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=55218 --- Comment #10 from Todd Chester <ToddAndMargo(a)zoho.com> --- I see we are on to 8.21 now. Has this been addressed in Wine Staging yet? If so, I will ask fedora to include it in their testing repo (they are pretty good about such things). -- 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=55218 Todd Chester <ToddAndMargo(a)zoho.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|8.11 |10.0-rc4 --- Comment #11 from Todd Chester <ToddAndMargo(a)zoho.com> --- Hi Gys, This is still driving me nuts in 10.0-rc4. Would one one of our intrepid heroes please jump on this? System information: Wine build: wine-10.0-rc4 (Staging) Platform: i386 Version: Windows 7 Host system: Linux Host version: 6.12.9-200.fc41.x86_64 This is the new script: <PrintEnvelope> Sub PrintEnvelope Dim ThisSequenceNo As Variant Dim ThisCustomer As Variant Dim SeqFind As New Find RunApproachMacro("Enter") ThisSequenceNo = CurrentView.Body.SequenceNo.text ThisCustomer = CurrentView.Body.Customer~ No.Text Set CurrentWindow.ActiveView = CurrentDocument.Envelope CurrentWindow.CurrentRecord = ThisSequenceNo Yield CurrentWindow.Print Set CurrentWindow.ActiveView = CurrentDocument.Invoices CurrentWindow.Browse SeqFind.And "InvSeqNo", ThisSequenceNo CurrentWindow.FindSort SeqFind CurrentDocument.Window.FindAll End Sub </PrintEnvelope> Executing the "CurrentWindow.Print" line, this is the error that pops up: 282 lines: I will attach it. This is the top of the error report. unhandled exception: page fault on write access to 0x00000008 in 32-bit code (0x16638cc5). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:16638cc5 ESP:008df3d4 EBP:008df45c EFLAGS:00010206( R- -- I - -P- ) EAX:02250044 EBX:02473e24 ECX:00000000 EDX:00000001 ESI:020704f0 EDI:020705b8 Stack dump: 0x008df3d4: 020705b8 00000000 020704f0 00000000 0x008df3e4: 020705b8 16638b83 020704f0 02473e24 0x008df3f4: 020704f0 00000002 00000000 00000000 0x008df404: f45c0000 0000008d 3e240000 04f00247 0x008df414: f3e40207 8ac1008d f7e41663 0111008d 0x008df424: 32300000 00005643 02470000 008df450 Backtrace: =>0 0x16638cc5 in ltsun40 (+0x38cc5) (0x008df45c) 1 0x16639d59 in ltsun40 (+0x39d59) (0x008df4c0) 2 0x16635bb4 in ltsun40 (+0x35bb4) (0x008df7f0) 3 0x17c04f39 in ltsdn40 (+0x4f39) (0x00000111) 0x16638cc5 ltsun40+0x38cc5: movw %dx, 8(%ecx) -- 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=55218 --- Comment #12 from Todd Chester <ToddAndMargo(a)zoho.com> --- Created attachment 77890 --> https://bugs.winehq.org/attachment.cgi?id=77890 CurrentWindow.Print -- 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=55218 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |printing -- 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=55218 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://archive.org/downloa | |d/lotus-smart-suite-9.8.2-m | |illennium-edition-9.8.2-200 | |9-03-english-cd/Lotus%20Sma | |rtSuite.iso Keywords| |download -- 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=55218 --- Comment #13 from Todd Chester <ToddAndMargo(a)zoho.com> --- Still an issue in 10.12 devel -- 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