Bug #110789 | OpenAsync throws unhandled exception from thread pool | ||
---|---|---|---|
Submitted: | 24 Apr 2023 18:17 | Modified: | 15 Jul 1:04 |
Reporter: | Bradley Grainger (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 8.0.33, 8.3.0 | OS: | Windows (10) |
Assigned to: | CPU Architecture: | Any |
[24 Apr 2023 18:17]
Bradley Grainger
[7 Jun 2023 14:59]
MySQL Verification Team
Hello Bradley Grainger, Thank you for the bug report. Verified as described. Regards, Ashwini Patil
[4 Mar 2024 9:50]
MySQL Verification Team
Bug #114065 marked as duplicate of this one.
[10 Mar 2024 21:32]
Ryousuke Tanida
Hello. As reported in Bug #114065, it seems that a similar issue has occurred. Currently, a timeout occurs when pausing due to debugging, so proper development is not possible with the current version. When will this bug be fixed? Also, could you please give me some advice on how to work around this issue? We welcome your feedback.
[15 Jul 2024 11:58]
MySQL Verification Team
Bug #115572 marked as duplicate of this one.
[7 Oct 2024 12:57]
Federico Coletto
What's the status of this bug ? It's impacting tremendously on a lot of my customers.
[18 Dec 2024 12:06]
Adithya K S
This bug is reproducible with 8.4.0 version as well. To reproduce it, simply run OpenAsync on a non-reachable MySQL server. The OpenAsync method would timeout and upon timeout application crashes with System.AggregateException. InnerException: MySqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. This is affecting application availability. Is there any fix identified for this long pending issue?
[14 Mar 17:34]
Sean Mollet
Confirming this still exists in 9.2
[15 Jul 1:04]
Daniel So
Posted by developer: Added the following entry to the Connector/NET 9.4.0 changelog: "When an application used an asynchronous method and the cancellationToken was triggered, Connector/NET threw an exception from a different thread, which could not be caught and broke the execution. This fix corrected this behavior by throwing the exception in the main thread."
[15 Jul 12:09]
MySQL Verification Team
Bug #114257 marked as duplicate of this one.