-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashing Mono when scanning devices in a C# .NET Framework 4.8 WinForms app running on Raspberry Pi 3B+ #17
Comments
I was able to get the following using gdb on the crash:
Hopefully, that can help locate the issue. Any help is appreciated. Doug |
At this time, Linux Bluetooth has only been tested against .NET 5, .NET 6, and .NET 7, not the classic Mono (.NET Framework). The most recent |
I believe the version of Tmds.Dbus that is used in Linux.Bluetooth is 0.11.0? Not the most current 0.15.0? I expect that will likely be the first question they ask. Doug |
I agree, an update with the latest Tmds.Dbus version will be published soon |
Hi @DougShuffield, the latest package v5.66 has been published which uses Tmds v0.15.0. |
@DougShuffield I updated to the package to use the latest Tmds.DBus to v0.20. |
Device: Raspberry Pi 3B+
OS: Raspbian GNU/Linux 11 (bullseye) 32-bit
Mono: 6.12.0.200
Bluez: 5.55
.NET Framework: 4.8
Linux.Bluetooth: 5.64.0
I am attempting to make a simple WinForms app with a single button that scans for and prints Bluetooth devices to the console. As soon as adapter.StartDiscoveryAsync() is called it crashes mono. I have plans to use Linux.Bluetooth at a larger scale, but not until I can get this very simple example working correctly and robustly.
Any help would be much appreciated. Let me know if you need any additional information.
Here is the code from Form1.cs:
And here is the crash report from mono:
The text was updated successfully, but these errors were encountered: