https://bugs.winehq.org/show_bug.cgi?id=40779
Bug ID: 40779 Summary: Error in Copy/Past to Registration bar of PDF Eraser Product: Wine Version: 1.9.12 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: yousifjkadom@yahoo.com Distribution: ---
Hi. I install wine 1.9.12, then winetricks, then mfc42 & finally install PDF Eraser.
When I try to register program by copy/past serial number into registration bar, then I will recive error message say some thing like "do you like to exit from program?" So, I can not enter serial number by copy/past!
I have to enter serial menually. I can enter serial number in registration bar menually without problem. I can switch CAPS lock on/of without any problem in shifting from capital to small.
Program site is: http://www.pdferaser.net/
Please your kind fix.
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- What is the difference between this bug and bug 40496?
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #2 from yousifjkadom@yahoo.com --- No it is new bug not the same as for 40496
In 40496 copy/past to registration bar achieve no thing. Nothing past & no error message appear.
In this bug copy/past to registration bar will result in emurgent of message say: "Are you sure you like to exit?" This is specific for PDF Eraser.
Bug 40496 fixed in version 1.9.12 I test it in many programs. It disappear.
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #3 from yousifjkadom@yahoo.com --- Bug still existing in version 1.9.13 I'm still unable to register it.
https://bugs.winehq.org/show_bug.cgi?id=40779
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- (In reply to yousifjkadom from comment #3)
Bug still existing in version 1.9.13 I'm still unable to register it.
Can be reproduced with copying some numbers into clipboard buffer and paste into the registration field.
sha1sum pdferaser.exe c187fb940b9fedcebe5d731e512b19628e194d54 pdferaser.exe
This bug is valid wine 1.9.21-git
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #5 from winetest@luukku.com --- (In reply to winetest from comment #4)
(In reply to yousifjkadom from comment #3)
Bug still existing in version 1.9.13 I'm still unable to register it.
Can be reproduced with copying some numbers into clipboard buffer and paste into the registration field.
sha1sum pdferaser.exe c187fb940b9fedcebe5d731e512b19628e194d54 pdferaser.exe
This bug is valid wine 1.9.21-git
The console has this error when you try to paste.
System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Windows.Forms.XplatUIWin32.ClipboardAvailableFormats (IntPtr handle) <0x8963e20 + 0x00088> in <filename unknown>:0 at System.Windows.For
Is this mono bug?
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #6 from winetest@luukku.com --- (In reply to winetest from comment #5)
(In reply to winetest from comment #4)
(In reply to yousifjkadom from comment #3)
Bug still existing in version 1.9.13 I'm still unable to register it.
Can be reproduced with copying some numbers into clipboard buffer and paste into the registration field.
sha1sum pdferaser.exe c187fb940b9fedcebe5d731e512b19628e194d54 pdferaser.exe
This bug is valid wine 1.9.21-git
The console has this error when you try to paste.
System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Windows.Forms.XplatUIWin32.ClipboardAvailableFormats (IntPtr handle) <0x8963e20 + 0x00088> in <filename unknown>:0 at System.Windows.For
Is this mono bug?
Sorry making so many posts so soon.
Yes this is mono bug.
winetricks -q dotnet40 solves the issue. After that command you can paste into the field, but I dont know if validating the code works since I don't have a lisence.
Could you set the component field as mscoree?
https://bugs.winehq.org/show_bug.cgi?id=40779
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com Component|-unknown |mscoree
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com --- Setting component as requested.
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #8 from Vincent Povirk madewokherd@gmail.com --- ClipboardAvailableFormats was an internal function used by Mono's winforms implementation. We're now using .NET Core winforms which does this differently, so a retest would be worthwhile.
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #9 from Vincent Povirk madewokherd@gmail.com --- In my own testing it fails with: Unknown heap type: #GUlD
Unknown heap type: #Blop
* Assertion at /home/meh/work/wine-mono/mono/mono/metadata/metadata.c:1081, condition `index < meta->heap_blob.size' not met
I'm guessing Mono is having trouble reading the heap tables from the exe. Not sure why this might've worked before. It could have been a change to pdferaser.
https://bugs.winehq.org/show_bug.cgi?id=40779
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.pdferaser.net/ Keywords| |download, obfuscation
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #10 from Vincent Povirk madewokherd@gmail.com --- I don't think we can run the current version.
It seems to have trouble with this method: converting method string W9sL8qMZ2gvL5ALRQZ.ECXxAIAI190mcxNI82:A2fd5lmlNX (int) * Assertion at /home/meh/work/wine-mono/mono/mono/metadata/metadata.c:1081, condition `index < meta->heap_blob.size' not met
Looking at it more closely, the method is obfuscated by using a switch instruction to branch between parts of the IL. It also violates an important rule of IL code: For each IL instruction, the stack should be the same depth regardless of the path taken to reach that instruction. There are obvious loops involving the switch instruction where the stack depth would be changed. I don't think it's possible for Mono's JIT to execute code like this given the approach it currently takes.
It might be possible for an interpreter, but I don't think it's possible to use the interpreter in Mono selectively, or to run Windows programs in a fully interpreted mode.
https://bugs.winehq.org/show_bug.cgi?id=40779
--- Comment #11 from Vincent Povirk madewokherd@gmail.com --- It may be possible to test the original bug with an archived version, like this one: https://web.archive.org/web/20160405113259/https://www.pdferaser.net/down/pd...
I haven't gotten very far with it, but at least it doesn't fail in the same way.
https://bugs.winehq.org/show_bug.cgi?id=40779
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.pdferaser.net/ |https://web.archive.org/web | |/20160405113259/https://www | |.pdferaser.net/down/pdferas | |er.exe Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #12 from Vincent Povirk madewokherd@gmail.com --- Looks like my troubles were caused by a bug in master, fixed it here: https://github.com/madewokherd/winforms/commit/b386ad7ca14c6eecdb6d731bcf428...
Pasting into registration box works, resolving fixed.
https://bugs.winehq.org/show_bug.cgi?id=40779
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|Error in Copy/Past to |PDF Eraser 1.5 (.NET 4.0 |Registration bar of PDF |app): Paste of license data |Eraser |from clipboard fails with | |Wine-Mono Keywords|obfuscation |
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello Vincent,
the original .NET app from the Internet archive snapshot isn't obfuscated. Removing keyword and refining summary to mention the app version and Wine-Mono.
--- snip --- // Assembly PDFEraser, Version=1.5.0.4, Culture=neutral, PublicKeyToken=null // MVID: EAAFA3CC-D975-44C6-AD37-E6562A0E3D3D // Assembly references: // mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // itextsharp, Version=4.1.2.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca // Module references: // PDFtoXPD.dll // PDFtoX.dll
[assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("PDF Eraser")] [assembly: AssemblyDescription("Erase Content from PDF")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("PDF Eraser")] [assembly: AssemblyProduct("PDF Eraser")] [assembly: AssemblyCopyright("Copyright @ PDFEraser.net")] [assembly: AssemblyTrademark("PDF Eraser")] [assembly: ComVisible(false)] [assembly: Guid("0e71f314-420c-4e64-bcf8-7c840aca210f")] [assembly: AssemblyFileVersion("1.5.0.4")] [assembly: TargetFramework(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")] [assembly: AssemblyVersion("1.5.0.4")] --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=40779
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc4.
https://bugs.winehq.org/show_bug.cgi?id=40779
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fc77666c0b354392a3244ba5211 | |669849df4d53c