https://bugs.winehq.org/show_bug.cgi?id=51513
Bug ID: 51513 Summary: PG Offline 4.0.907 crashes on start with IndexOutOfRangeException with Wine-Mono Product: Wine Version: 6.13 Hardware: x86-64 URL: https://web.archive.org/web/20210125191858if_/http://w ww.personalgroupware.com/groupmanager/pg-offline-4-0-9 07.zip OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: mscoree Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com Distribution: ---
Created attachment 70355 --> https://bugs.winehq.org/attachment.cgi?id=70355 output
I am running current wine-git and wine-mono 6.3.0. 'winetricks -q dotnet452' works around, but you have to set the prefix back to Windows 7 when winetricks is done.
$ sha1sum pg-offline-4-0-907.zip 5b912f85324845a3f79421d0636bba668e8dff8c pg-offline-4-0-907.zip
$ du -sh pg-offline-4-0-907.zip 80M pg-offline-4-0-907.zip
https://bugs.winehq.org/show_bug.cgi?id=51513
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|PG Offline 4.0.907 crashes |Multiple applications (PG |on start with |Offline 4.0.907, lessmsi |IndexOutOfRangeException |v1.10.0) crash on start |with Wine-Mono |with | |IndexOutOfRangeException | |with Wine-Mono CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, lessmsi crashes with the same output.
https://github.com/activescott/lessmsi/releases/download/v1.10.0/lessmsi-v1....
Adjusting title
https://bugs.winehq.org/show_bug.cgi?id=51513
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications (PG |Multiple applications (PG |Offline 4.0.907, lessmsi |Offline 4.0.907, lessmsi |v1.10.0) crash on start |v1.10.0, MIDIopsy 1.2) |with |crash on start with |IndexOutOfRangeException |IndexOutOfRangeException |with Wine-Mono |with Wine-Mono
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Another one:
https://github.com/jeffbourdier/MIDIopsy/releases/download/v1.2/MIDIopsy_1.2...
https://bugs.winehq.org/show_bug.cgi?id=51513
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #3 from Esme Povirk madewokherd@gmail.com --- Created attachment 71374 --> https://bugs.winehq.org/attachment.cgi?id=71374 avoid out-of-range ProductVersion access
Just a guess, does this help?
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Esme Povirk from comment #3)
Created attachment 71374 [details] avoid out-of-range ProductVersion access
Just a guess, does this help?
Hi Esme, I don`t know how to build Mono so i cannot test the patch. Any chance you, or someone else could test? Testing lessmsi is very simple: just unzip the zipfile and run 'wine lessmsi'. if the main windows comes up, the crash is fixed i...
Thanks
https://bugs.winehq.org/show_bug.cgi?id=51513
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Esme Povirk from comment #3)
Created attachment 71374 [details] avoid out-of-range ProductVersion access
Just a guess, does this help?
Hi, I found mono build instructions on your git site, and built mono with patch applied.
I wasn`t able to get the mono-msi file installed properly (dunno why) but when I did "make dev" and then tried running lessmsi, the main window came up fine.
So the patch seems to be working, thanks!
Also tested MIDIopsy and that one started fine too.
I guess this will be in next mono-release then?
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #6 from Esme Povirk madewokherd@gmail.com --- I need to do some tests to find out if that's the right way to do it (as opposed to adding 0's) but yeah, I should be able to get it into the next release.
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #7 from Esme Povirk madewokherd@gmail.com --- OK, I actually can't figure out what this is even for. Anything that would set those isVersion* variables to false is unused. Also, ConfigurationVersion, which is supposed to be kept in sync with CustomizableFileSettingsProvider, doesn't do any processing like that.
So I don't see any way to test this, but I think the sensible behavior is to use the version string as-is by default, and if one of these variables gets set somehow then we can truncate it.
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #8 from Esme Povirk madewokherd@gmail.com --- Unfortunately, with the patch PG Offline crashes with:
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: No data is available for encoding 28603. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
Which is a known bug. Mono doesn't support many codepages.
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #9 from Esme Povirk madewokherd@gmail.com --- Anyway, fix pushed: https://github.com/madewokherd/wine-mono/commit/2f50d2ceb8de5ce3d59883fa33f3...
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #10 from Esme Povirk madewokherd@gmail.com --- OK turns out Mono does support many of codepages, just not that one.
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #11 from Esme Povirk madewokherd@gmail.com --- I made a PR for the unsupported codepage: https://github.com/madewokherd/mono/pull/19
If this program turns out to be nontrivial enough that we need more tracking, we should make a new bug, as the original IndexOutOfRangeException has been fixed in the develop branch (and will be fixed in Wine on the next Wine Mono update).
https://bugs.winehq.org/show_bug.cgi?id=51513
--- Comment #12 from Esme Povirk madewokherd@gmail.com --- Moving the remaining issues with PG Offline to bug 52333.
https://bugs.winehq.org/show_bug.cgi?id=51513
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications (PG |Multiple applications (PG |Offline 4.0.907, lessmsi |Offline 4.0.907, lessmsi |v1.10.0, MIDIopsy 1.2) |v1.10.0, MIDIopsy 1.2, |crash on start with |Quickroute) crash on start |IndexOutOfRangeException |with |with Wine-Mono |IndexOutOfRangeException | |with Wine-Mono
--- Comment #13 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Esme Povirk from comment #11)
I made a PR for the unsupported codepage: https://github.com/madewokherd/mono/pull/19 (and will be fixed in Wine on the next Wine Mono update).
Nice! Meanwhile found yet another one (also fixed by your patch: QuickRoute (https://www.matstroeng.se/quickroute/download/QuickRoute_2.4_Setup.msi)
Strangeley i cannot get it working with native .net, but now starts fine with (fixed) mono...
https://bugs.winehq.org/show_bug.cgi?id=51513
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |17b34ca8ad8f4e2f81d69a08496 | |99d5aa0853888 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Esme Povirk madewokherd@gmail.com --- Should be fixed by Wine Mono 7.1.1 which is now in Winehq.
https://bugs.winehq.org/show_bug.cgi?id=51513
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.2.