Microsoft.Data.SqlClient.SNI.x86.dll, version: 5.2.0.0 crashed host application #3087
Labels
🐛 Bug!
Issues that are bugs in the drivers we maintain.
✔️ Triage Done
Issues that are triaged by dev team and are in investigation.
⏳ Waiting for Customer
Issues/PRs waiting for user response/action.
ℹ️ Needs more Info
Issues that have insufficient information to pursue investigations
Describe the bug
Microsoft.Data.SqlClient.SNI.x86.dll, version: 5.2.0.0 crashed hosted application. The host application BPHost runs multiple backend tasks in parallel in different app domains. Each task run will use the sample code below to retrieve data from a SQL Server database. It crashes multiple times every day randomly.
Application Error from Windows Event Log:
Faulting application name: Eclipse.BPHost.exe, version: 1.5.35.43, time stamp: 0x6740e2c0
Faulting module name: Microsoft.Data.SqlClient.SNI.x86.dll, version: 5.2.0.0, time stamp: 0x65d526aa
Exception code: 0xc0000409
Fault offset: 0x000013fb
Faulting process id: 0x62d0
Faulting application start time: 0x01db41e100d49446
Faulting application path: E:\Smartflow\Halo\SmartFlow.Halo.Agent\Services\Sky2\Eclipse\Eclipse.BPHost.exe
Faulting module path: E:\Smartflow\Halo\SmartFlow.Halo.Agent\Services\Sky2\Eclipse\DTE\Microsoft.Data.SqlClient.SNI.x86.dll
Report Id: 4dbbfafa-baf6-456b-a345-ad2f96b1c3a1
To reproduce
Expected behavior
Do not crash the hosted app and let the tasks continue in next run later even there is an exception in the code.
Further technical details
Microsoft.Data.SqlClient version: 5.2.2
.NET target: .NET Framework 4.7.2,
SQL Server version: SQL Server 2017
Operating system: Windows Server 2019
The text was updated successfully, but these errors were encountered: