[Bug 49449] New: Terraria Server (.NET 4.x) crashes with System.NotImplementedException NATUPNPLib.IUPnPNAT.get_StaticPortMappingCollection()

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jun 25 03:25:54 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49449

            Bug ID: 49449
           Summary: Terraria Server (.NET 4.x) crashes with
                    System.NotImplementedException
                    NATUPNPLib.IUPnPNAT.get_StaticPortMappingCollection()
           Product: Wine
           Version: 5.11
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: hnetcfg
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

extracted from https://bugs.winehq.org/show_bug.cgi?id=46005#c5

--- snip ---
0009:err:eventlog:ReportEventW L"Application: TerrariaServer.exe\nFramework
Version: v4.0.30319\nDescription: The process was terminated due to an
unhandled exception.\nException Info: System.NotImplementedException\n   at
NATUPNPLib.IUPnPNAT.get_StaticPortMappingCollection()\n   at
Terraria.Netplay..cctor()\n\nException"...
0009:fixme:advapi:DeregisterEventSource (0xcafe4242) stub

Unhandled Exception: System.TypeInitializationException: The type initializer
for 'Terraria.Main' threw an exception. --->
System.TypeInitializationException: The type initializer for 'Terraria.Netplay'
threw an exception. ---> System.NotImplementedException: The method or
operation is not implemented.
   at NATUPNPLib.IUPnPNAT.get_StaticPortMappingCollection()
   at Terraria.Netplay..cctor()
   --- End of inner exception stack trace ---
   at Terraria.Main..cctor()
   --- End of inner exception stack trace ---
   at Terraria.Main..ctor()
   at Terraria.Program.LaunchGame(String[] args)
   at Terraria.WindowsLaunch.Main(String[] args)
wine: Unhandled exception 0xe0434352 in thread 9 at address 7B00DFA2 (thread
0009), starting debugger...
--- snip ---

It was reported with Wine 5.0.1 but source inspection reveals the problem is
still present with Wine 5.11.

Wine source:

https://source.winehq.org/git/wine.git/blob/1f6423f778f7036a3875613e10b9c8c3b84584f0:/dlls/hnetcfg/port.c#l717

--- snip ---
 717 static HRESULT WINAPI upnpnat_get_StaticPortMappingCollection(IUPnPNAT
*iface, IStaticPortMappingCollection **collection)
 718 {
 719     upnpnat *This = impl_from_IUPnPNAT( iface );
 720     FIXME("%p, %p\n", This, collection);
 721     if(collection)
 722         *collection = NULL;
 723     return E_NOTIMPL;
 724 }
--- snip ---

$ wine --version
wine-5.11-111-g1f6423f778

Regards

-- 
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.



More information about the wine-bugs mailing list