Want to avoid this bug in your codebase? Try Greptile.
Avoid this bug!7
CHAPTER 7
Async & Event Handling
Concurrency issues, race conditions, and asynchronous programming bugs
[2 examples] Duplicate requestSame request unintentionally sent multiple times. networkfrontendstate |
[1 examples] Data raceConcurrent threads access shared data improperly. concurrencyundefined behaviorc++ |
[11 examples] DeadlockProcesses stuck waiting on each other. concurrencyresource managementc++ |
[724 examples] Race conditionOutcome depends on timing of events. concurrencyundefined behavior |
[87 examples] Infinite loopLoop runs indefinitely without termination. logiccontrol flowperformance |
[26 examples] Infinite recursionRecursive function calls never end. logiccontrol flowundefined behavior |
[21 examples] Flaky testTest passes or fails unpredictably. code qualityasynctesting |
[23 examples] Unhandled promisePromise without appropriate handling of resolution or rejection. asyncerror handlingjavascript |
[23 examples] Unhandled promise rejectionPromise rejection not caught or handled. asyncerror handlingjavascript |
[1 examples] Missed eventFailure to capture or handle an expected event. asyncstate |