https://bugs.winehq.org/show_bug.cgi?id=51835
Bug ID: 51835 Summary: Using PInvoke on pcap_findalldevs crashes Product: Wine Version: 6.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: wpcap Assignee: wine-bugs@winehq.org Reporter: marc_aurel@me.com Distribution: ---
Created attachment 70732 --> https://bugs.winehq.org/attachment.cgi?id=70732 End of the log before crash
The library in question is https://github.com/ravahn/machina
As soon as a c# assembly uses the library and starts capturing on a PCapCaptureSocket, pcap_findalldevs(IntPtr ByRef, System.Text.StringBuilder) is invoked and crashes the program, whereas it works fine on windows.