http://bugs.winehq.org/show_bug.cgi?id=35209
Bug ID: 35209 Summary: application crash (SMA Sunny Explorer 1.06.17) Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: klaus.hader@bnv-bamberg.de Classification: Unclassified
Created attachment 46961 --> http://bugs.winehq.org/attachment.cgi?id=46961 backtrace generated when starting the application
SMA Sunny Explorer 1.06.17 crashes during application startup
http://bugs.winehq.org/show_bug.cgi?id=35209
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Version|unspecified |1.6.1 URL| |http://files.sma.de/dl/8494 | |/SunnyExplorerSetup%20v1.06 | |.17.R.exe Keywords| |download Component|-unknown |mscoree CC| |focht@gmx.net Ever confirmed|0 |1 Summary|application crash (SMA |SMA Sunny Explorer 1.06.17 |Sunny Explorer 1.06.17) |crashes on startup
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks
obviously a Wine-Mono problem.
--- snip --- Unhandled exception: page fault on read access to 0x20800001 in 32-bit code (0x6d5eeaf0). ... =>0 0x6d5eeaf0 in libmono-2.0-x86 (+0xeeaf0) (0x0033fc08) 1 0x00e08b44 (0x0033fc08) --- snip ---
The app requires at least .NET Framework 2.0
The installer suffers from bug 35134 (just type 'exit' in command prompt to work around):
--- snip --- fixme:advapi:CreateProcessAsUserW 0xec L"C:\windows\system32\cmd.exe" L"/C "C:\users\focht\Temp\{1CA29E7A-4D33-4D9A-B17B-263B9FC96E96}.bat"" (nil) (nil) 1 0x08000000 (nil) (null) 0xe8ddcc 0xe8de18 - semi- stub Microsoft Windows 5.1.2600 (1.7.9)
Z:\home\focht\Downloads> --- snip ---
Anyway, the app starts fine with 'winetricks -q dotnet20' in 32-bit WINEPREFIX.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/SMA/Sunny Explorer ... $ wine ./SunnyExplorer.exe --- snip ---
Couldn't test further as the app requires real device communication via 'Bluetooth' (won't work as of now) or 'Speedwire' where SMA uses some IGMP Multicast (needs SOCK_RAW -> 'setcap cap_net_raw=ep', beware of bug 26256).
$ sha1sum SunnyExplorerSetup\ v1.06.17.R.exe bf676e3b924e24b2ecddc8f3ce29771cfafc63d5 SunnyExplorerSetup v1.06.17.R.exe
$ du -sh SunnyExplorerSetup\ v1.06.17.R.exe 76M SunnyExplorerSetup v1.06.17.R.exe
$ wine --version wine-1.7.9-138-g773697a
Regards
http://bugs.winehq.org/show_bug.cgi?id=35209
--- Comment #2 from Klaus Hader klaus.hader@bnv-bamberg.de --- Indeed - runs in 32-bit WINEPREFIX with .NET > 2 installed.
But the app does not find any inverters (via ethernet) - maybe this is due to the IGMP Multicast ? Had the same issue with a Virtualbox guest machine (Win7 32) and a NAT network interface (that doesn't forward multicasts). Got it working When adding a network bridge...
Greetings, Klaus
http://bugs.winehq.org/show_bug.cgi?id=35209
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #3 from André H. nerv@dawncrow.de --- (In reply to comment #2)
Indeed - runs in 32-bit WINEPREFIX with .NET > 2 installed.
But the app does not find any inverters (via ethernet) - maybe this is due to the IGMP Multicast ? Had the same issue with a Virtualbox guest machine (Win7 32) and a NAT network interface (that doesn't forward multicasts). Got it working When adding a network bridge...
Greetings, Klaus
Have you tried sudo setcap cap_net_raw+epi /usr/(local?)/bin/wine-preloader as AF suggested?
http://bugs.winehq.org/show_bug.cgi?id=35209
--- Comment #4 from Klaus Hader klaus.hader@bnv-bamberg.de --- (In reply to comment #3)
(In reply to comment #2)
Indeed - runs in 32-bit WINEPREFIX with .NET > 2 installed.
But the app does not find any inverters (via ethernet) - maybe this is due to the IGMP Multicast ? Had the same issue with a Virtualbox guest machine (Win7 32) and a NAT network interface (that doesn't forward multicasts). Got it working When adding a network bridge...
Greetings, Klaus
Have you tried sudo setcap cap_net_raw+epi /usr/(local?)/bin/wine-preloader as AF suggested?
Honestly spoken I could not recognize this suggestion from AF's post. Although I noticed this setcap stuff he was talking about I had no idea what this means.
Anyway - even after
setcap cap_net_raw+epi /usr/bin/wine-preloader
SunnyExplorer does not find any inverters
http://bugs.winehq.org/show_bug.cgi?id=35209
--- Comment #5 from Vincent Povirk madewokherd@gmail.com --- [00000027: 0.03343 0] ENTER: (wrapper native-to-managed) System._AppDomain:ExecuteAssembly (intptr,intptr,intptr,intptr,int&)(001BA5D0, 020C0030, 0033FCEC, 7E319910, [BYREF:00000000], )
Probably crashing due to wrong vtable on the _AppDomain interface.
https://bugs.winehq.org/show_bug.cgi?id=35209
Jan Ceuleers jan.ceuleers@computer.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jan.ceuleers@computer.org
--- Comment #6 from Jan Ceuleers jan.ceuleers@computer.org --- I have the same problem as in comment #4: the application installs and runs but does not find any inverters via SpeedWire (i.e. Ethernet).
I noticed using Wireshark on Windows that one of the first things this application does is join a couple of multicast groups using IGMPv3, and I see no such network traffic using Wireshark while starting Sunny Explorer with wine 1.7.38 under Ubuntu 14.04. I know that the setcap incantation is required and has properly taken effect because without it there is an error about SOCK_RAW creation needing special permissions. As a matter of fact it is not enough to incant this incantation on wineserver, I've also done it on wine and the application itself.
The only errors now thrown by wine (obviously in addition to a load of fixmes) are:
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded err:ole:CoGetContextToken apartment not initialised
Any further hints would be gratefully received.
https://bugs.winehq.org/show_bug.cgi?id=35209
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Summary|SMA Sunny Explorer 1.06.17 |SMA Sunny Explorer 1.06.17 |crashes on startup |crashes on startup with | |Wine-Mono
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
please retest or the bug will be resolved 'abandoned'. There is no point in having tickets rot for several years without updates.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35209
--- Comment #8 from Jan Ceuleers jan.ceuleers@computer.org --- Don't be so rude dude: the rot is happening due to the lack of resolution of the bugs, not because people have lost interest.
I just retested and it still fails.
https://bugs.winehq.org/show_bug.cgi?id=35209
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello Jan,
--- quote --- I just retested and it still fails. --- quote ---
Please always specify the exact Wine version you tested with. This also allows to deduce the Wine-Mono version (4.7-ish?).
Well, I don't have this specific hardware but I think the app should work with MS .NET Framework and proper raw sockets setup (setcap). Troubleshoot IGMP Multicast with Linux tools first to ensure the use-case is not a Linux host/network configuration issue.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35209
--- Comment #10 from Jan Ceuleers jan.ceuleers@computer.org --- The laptop I was using when I first tested this broke, and I am now also using a much more current Wine version and kernel version. I can no longer install the current version of SMA Sunny Explorer on this setup.
https://bugs.winehq.org/show_bug.cgi?id=35209
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=35209
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://files.sma.de/dl/8494 |https://web.archive.org/web |/SunnyExplorerSetup%20v1.06 |/20140306210837if_/http://f |.17.R.exe |iles.sma.de/dl/8494/SunnyEx | |plorerSetup10615.exe Status|NEEDINFO |NEW
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- With wine-6.10 & wine-mono 6.2.0 the installer works fine except for this:
Z:\home\gverm\Downloads>del "C:\users\gverm\Temp{0B2EE09B-E91A-49E0-A9B0-A6008F9F03B3}.bat" /Q /F Can't recognize 'C:\users\gverm\Temp{0B2EE09B-E91A-49E0-A9B0-A6008F9F03B3}.bat' as an internal or external command, or batch script. 01d8:err:msi:__wine_msi_call_dll_function Custom action (L"C:\users\gverm\Temp\msi744.tmp":"OnFwConfig") caused a page fault: c0000005
When trying to run the program I get:
Unhandled Exception: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code. at (wrapper native-to-managed) System._AppDomain.Load(intptr,intptr,intptr) [ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code.
I did have to use version 1.06.15 because no download was available for 1.6.17, but according to the changelog not a lot changed between these versions.
https://bugs.winehq.org/show_bug.cgi?id=35209
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com