https://bugs.winehq.org/show_bug.cgi?id=41279
Bug ID: 41279 Summary: SonosController6.x crashes when starting Product: Wine Version: 1.9.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dbacc@posteo.de Distribution: ---
Installation runs fine however. On AppsDB people seemed to have success with earlier versions of wine and Ubuntu14.04. I also tried these versions, but I'm using arch.
https://bugs.winehq.org/show_bug.cgi?id=41279
dbacc@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dbacc@posteo.de Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=41279
dbacc@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|dbacc@posteo.de |
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Please read https://wiki.winehq.org/FAQ#get_log and attach the crash log.
Does the program have a demo that can be used to reproduce the issue?
https://bugs.winehq.org/show_bug.cgi?id=41279
dbacc@posteo.de changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.sonos.com/redir | |/controller_software_pc
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #2 from dbacc@posteo.de --- Created attachment 55590 --> https://bugs.winehq.org/attachment.cgi?id=55590 terminal output + backtrace
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #3 from dbacc@posteo.de --- (In reply to dbacc from comment #2)
Created attachment 55590 [details] terminal output + backtrace
I added the link to the demo in the URL field. Seems like attaching didn't work the first time,when I created the bug, sorry.
https://bugs.winehq.org/show_bug.cgi?id=41279
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com ---
00000008 (D) Z:\home\daniel.wine-sonos\drive_c\Program Files\Sonos\Sonos.exe
It looks like you are mixing different prefixes, it seems like you have installed the program in the prefix at /home/daniel/.wine-sonos but you are using a different prefix to launch the program. Because otherwise the path would be something like: 00000008 (D) C:\Program Files\Sonos\Sonos.exe
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #5 from dbacc@posteo.de --- Created attachment 55595 --> https://bugs.winehq.org/attachment.cgi?id=55595 terminal output + backtrace with correct prefix
that's strange. However, the problem persists when running from the correct prefix.
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Please attach a log as specified below, to do that go back in the program folder and do:
WINEDEBUG=+winsock,+iphlpapi wine sonos.exe > /tmp/log.txt
And then attach this file /tmp/log.txt file. You can read more about this at https://wiki.winehq.org/FAQ#get_log
I tried testing myself but I get a dotnet failure much earlier in the process.
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #7 from dbacc@posteo.de --- Created attachment 55602 --> https://bugs.winehq.org/attachment.cgi?id=55602 log file for additional debug channels
Here is the log file.
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com ---
trace:winsock:WSASocketW af=23 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1 warn:winsock:WSASocketW failed, error 10043!
The program is trying to create an IPv6 socket.
Rethrown exception. See innerexception for details. ---> System.Net.Sockets.SocketException: Unknown error (0x273b)
And for some reason this is failing in your system and the program cannot cope with that.
https://bugs.winehq.org/show_bug.cgi?id=41279
--- Comment #9 from dbacc@posteo.de --- Created attachment 55647 --> https://bugs.winehq.org/attachment.cgi?id=55647 updated log
For historical reasons I had to disable ipv6 via kernel command line. However, the program still doesn't run after activating ipv6 again.
I updated the log.
https://bugs.winehq.org/show_bug.cgi?id=41279
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet Status|UNCONFIRMED |NEW Component|-unknown |hnetcfg Ever confirmed|0 |1
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- Judging by the new backtrace:
fixme:hnetcfg:fwpolicy2_get_Rules 0x1da6a0 0x3b2c284
...
Rethrown exception. See innerexception for details. ---> System.NotImplementedException: The method or operation is not implemented. at SonosAdmWrapper.ISonosAdminGlue.FwIsAppEnabled(String pFwProcessImageFileName) at Sonos.Controller.Desktop.Utilities.NetworkMonitor.<>c__DisplayClass6.<IsFirewallEnabled>b__5(SonosAdminGlue admin) at Sonos.Controller.Desktop.Utilities.SonosAdminProxy.runSafely(Action`1 action, String exceptionMessage) at Sonos.Controller.Desktop.Utilities.NetworkMonitor.IsFirewallEnabled() at Sonos.Controller.Desktop.Utilities.NetworkMonitor.StartMonitoring()
I would say that the problem is the unimplemented interface/functions related to INetFwRules.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365345%28v=vs.85%...
This is out of my scope of knowledge.
I can reproduce the same issue in 1.9.18.
https://bugs.winehq.org/show_bug.cgi?id=41279
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Resolution|--- |FIXED Fixed by SHA1| |19e72fe14921a30fb3323213428 | |68d352fc5b56f Summary|SonosController6.x crashes |Sonos Desktop Controller |when starting |6.x (.NET 4.x app) crashes | |with | |System.NotImplementedExcept | |ion (needs hnetcfg | |INetFwPolicy2::get_Rules)
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
this specific problem (comment #9 and following) was fixed by commit:
https://source.winehq.org/git/wine.git/commitdiff/19e72fe14921a30fb332321342...
Thanks Alistair
--- snip --- $ pwd /home/focht/winetest/drive_c/Program Files/Sonos
$ WINEDEBUG=+seh,+relay,+hnetcfg wine ./Sonos.exe >>log.txt 2>&1 ... 0038:trace:hnetcfg:hnetcfg_cf_CreateInstance (nil) {98325047-c671-4174-8d81-defcd3f03186} 0x3b0d6cc 0038:trace:hnetcfg:NetFwPolicy2_create ((nil),0x3b0d66c) ... 0038:trace:hnetcfg:create_INetFwRules (0x1ed7bc) ... 0038:trace:hnetcfg:create_INetFwRules returning iface 0x1c9310 0038:trace:hnetcfg:NetFwPolicy2_create returning iface 0x1ed7b8 0038:trace:hnetcfg:fwpolicy2_QueryInterface 0x1ed7b8 {98325047-c671-4174-8d81-defcd3f03186} 0x3b0d6cc 0038:Ret ole32.CoCreateInstance() retval=00000000 ret=06669e6f 0038:trace:hnetcfg:fwpolicy2_get_Rules 0x1ed7b8 0x3b0d7ec 0038:Call oleaut32.VariantInit(03b0d794) ret=0666a0d6 0038:Ret oleaut32.VariantInit() retval=03b0d794 ret=0666a0d6 0038:fixme:hnetcfg:netfw_rules_get__NewEnum 0x1c9310, 0x3b0d7b0 ... --- snip ---
The app still doesn't start properly, but these are different (known) problems.
$ sha1sum SonosDesktopController84.exe ad55c1571987a1ce4cc39b87cccca9e779fba4c5 SonosDesktopController84.exe
$ du -sh SonosDesktopController84.exe 25M SonosDesktopController84.exe
$ wine --version wine-3.5
Regards
https://bugs.winehq.org/show_bug.cgi?id=41279
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.6.
https://bugs.winehq.org/show_bug.cgi?id=41279
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.sonos.com/redir |https://web.archive.org/web |/controller_software_pc |/20210218202911/https://upd | |ate.sonos.com/software/pc/d | |cr/SonosDesktopController60 | |.exe